Debian package manager Presenter: Lilian Wang. Install Software  先別管 package 了, 你有聽過重灌嗎 ?  Chrome/Firefox, Office, pietty, Notepad++, PCMan, LOL, …

Slides:



Advertisements
Similar presentations
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
Advertisements

SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Patch Management Module 13. Module You Are Here VMware vSphere 4.1: Install, Configure, Manage – Revision A Operations vSphere Environment Introduction.
Package Managers What are they and why we use them.
StatET – Setup and Installation Errol Strain useR! July 20 th 2010.
© 2013 Jones and Bartlett Learning, LLC, an Ascend Learning Company All rights reserved. Security Strategies in Linux Platforms and.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Linux Operations and Administration
Module 1: Introduction to Microsoft SQL Server 7.0.
Dustin Harman VM Workshop 2015 RPM Basics. What is RPM? Red Hat Package Manager Native package manager on RHEL, Fedora, SUSE, some Mandriva RPM/SRPM files.
Tutorial 11 Installing, Updating, and Configuring Software
2008 Taipei, Taiwan Ubuntu Linux Server Structure and Config APRICOT 2008 Network Management Workshop February 20 – Taipei, Taiwan.
Lesson 14: Installing and Uninstalling Programs how to install a new program what to do if the new program doesn’t work how to uninstall a program © CCI.
Software Engineering 2003 Jyrki Nummenmaa 1 CASE Tools CASE = Computer-Aided Software Engineering A set of tools to (optimally) assist in each.
Review Security Hardening IPTables SELinux. Today Installations and updates – Rpm command and packages Apache “Issue Ownership”
Linux Package Management Dr. Michael L. Collard 1.
Software Engineering in Robotics Packaging and Deployment of Systems Henrik I. Christensen –
Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
Web Indexing and Searching By Florin Zidaru. Outline Web Indexing and Searching Overview Swish-e: overview and features Swish-e: set-up Swish-e: demo.
DB server + PHPMyAdmin ดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะ วิทยาศาสตร์ มรภ. บร. 19/10/56.
Package Management. Basic Commands apt-get install : install package + dependencies apt-get remove : removes the package not dependencies apt-get autoremove.
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
APT for RPM Simplified package management for rpm based distributions INFN - Napoli 1 INFM - UDR Napoli 2 HEPiX/HEPNT 2003 – Vancouver Rosario Esposito.
Install Software. UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
2008 Bangkok, Thailand Ubuntu Linux Server Structure and Config intERLab at AIT Network Management Workshop March 11 – Bangkok, Thailand.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Petteri Soininen Juhana Kraemer Jussi Vähämäki ”Group PJJ”
New Delhi, India Ubuntu Linux Server Structure and Config PacNOG5 June 16 – Papeete, French Polynesia Hervey Allen.
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
A Mirror Engine Computer Science Capstone Tobias Hertkorn.
Linux development Lection What we gonna do today Root privileges Software packages Managing software packages Build procedures Build components.
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
RedHat Package Management RPM and YUM in RedHat Enterprise, Fedora, Suse and Centos.
Installing Applications in FreeBSD. Computer Center, CS, NCTU 2 Install software  Package Pre-built rpm, yum, dpkg, … FreeBSD: pkg_add, pkg_delete, pkg_info.
Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering.
Installing Koha Presented By Aaron R. Williams KOHA North American Users Group.
Tutorial on setting up Zebra: A Z39.50 Server ARD Prasad DRTC Indian Statistical Institute Bangalore.
Debian Package Management
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
WMarket For Adminstrators Manual Installation. Basic Dependencies To install your own WMarket instance, you are required to install the following software:
Python Eggs For NOObs and Others Chris Calloway. What Are Python Eggs? Managed distributions of python packages: a)Discovery within repositories, b)Dependency.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
Use Cases, Issues, Proposed Solutions: Software and Environment Non Privileged User Package Management Francois-Denis Gonthier Kryptiva inc.
Building Debian Packages Debian packaging tutorial Amaya Rodrigo, Soissons Feb 2007.
New Delhi, India Ubuntu Linux Server Structure and Config PacNOG5 June 16 – Papeete, French Polynesia Hervey Allen.
System Administration Application Management. ● A common task for a system administrator is the installation, updating and removal of software. Several.
Linux Basics Part 2. VIM Editor vi improved Installed on most Linux machines Can be a bit confusing at first... o Cheat sheets FTW Other popular editors:
2008 Taipei, Taiwan Ubuntu Linux Server Structure and Config APRICOT 2008 Network Management Workshop February 20 – Taipei, Taiwan.
Packaging Software for Debian Roberto C. Sánchez Ohio Linuxfest Saturday, September 29, 2007.
Bangkok, Thailand Ubuntu Linux Server Structure and Config intERLab at AIT Network Management Workshop March 11 – Bangkok, Thailand.
COP 4343 Unix System Administration
Managing Software.
Ubuntu Working in Terminal
Giving Back Contributing to Debian and the New Maintainer Process
Lecture 13 RPM and its advantages.
More Scripting & Chapter 11
RedHat Package Management
University of Texas Rio Grande Valley Systems Administration CSCI 6175
IS3440 Linux Security Unit 8 Software Management
OPS235 PACKAGE MANAGEMENT
Presentation transcript:

Debian package manager Presenter: Lilian Wang

Install Software  先別管 package 了, 你有聽過重灌嗎 ?  Chrome/Firefox, Office, pietty, Notepad++, PCMan, LOL, …  Installing many software is annoying.

Install software by source code  Download source and compile  wget …/xxx-###.tar  Decompress, then look up how to compile ./configure  make  make install  It takes some times.

Better way to install and manage  Download binary  Setup script  Dependencies  Program A needs library/program B to work  LOL_TW requires 競時通  Gamania games requires beanfun!  Version  Upgrade to new release version easily

Package Manager  Package  An archive  Binary  Control Information  Operation  Install  Remove  Query  Upgrade

Package Manager BasePackageToolFront end dpkg.debaptapt-get apt-cache aptitude rpm.rpmyumrpm yum

Package Repository  Package storage server  Packages of several versions  Index file  Maintained by distributions  /etc/apt/source.list  [Homework Q1]  Show how to change package source mirror.  Which command gets new index file?

Type of Packages  Binary package  Includes program binary  Meta package  Depends on other packages only  apache2 -> apache2.2-common  Virtual package  Not really exists  Other packages “provide” virtual package  c-compiler

Useful commands  apt-get  install, remove, upgrade, …  apt-cache  show, search, …  aptitude  almost all commands of apt-get/apt-cache

Command: search  aptitude search ^apache2  Search pattern can be regular expressions  Other patterns support: referencereference  apt-cache search apache2  Also search in description Flags

 Current state flag  Action flag  Automatic flag State flagdescription iinstalled cconfig, removed ppurge vvirtual Bbroken uunpacked Chalf-configured Hhalf-installed

Command: show  aptitude show apache2  List the information of package apache2

Package information  Package  name  State  installed, not installed, …  Automatically  Manage automatically  If set, remove package when not needed  Version  [epoch:]upstream_version[-debian_revision]  squeeze7  reference reference

Package information  Priority  required  important  standard  optional  extra  reference reference  Maintainer  Description  Architecture

Package information  Dependencies  depends  recommends  suggests  conflicts  replaces  breaks  provides  Reference Reference

Command: install remove purge  apt-get install apache2  Install apache2 package  apt-get remove apache2  Uninstall apache2 package  Config file remains  apt-get purge apache2  Uninstall apache2 package  Delete config file  Is configure file removed?

Command: upgrade dist-upgrade  aptitude upgrade  upgrade current packages  Does not upgrade some packages if updating these cause some others packages to be installed/removed.  aptitude dist-upgrade  Upgrade all current packages  If meets conflict, it will try to generate solutions to satisfy new dependency.

Practice  Search a database server  Install it  Remove it

Build a simple meta- package  package/DEBIAN/control  You can reference some field aptitude show xxx outputs  dpkg-deb –b package  [Homework Q2]  Build a meta-package  Name: nasa  Should always install mysql-server(>= 5.0)  Should always install apache2(>=2.2)  Should not install when lighttpd installed

Build a binary package  Tutorial: int-guide/first.en.html int-guide/first.en.html  Install packages needed  build-essential  dpkg-dev  debhelper  CDBS  dh-make  lintian: check if package has error

Build a binary package 1.Download source code 2.Unpack 3.dh_make 4.Modify control file 5.Add path if needed 6.Build package  dpkg-buildpackage  [Homework Q3] (optional)  Build a package of “Omnitty”

Homework  There are 3 questions, check HW8.pdf 1.Change package source mirror 2.Build nasa-hw meta package 3.Build omnitty package  Optional question