Linux Package Management Dr. Michael L. Collard 1.

Slides:



Advertisements
Similar presentations
Software Package Management WeeSan Lee. Roadmap What is software package management? RPM YUM pkgtools.
Advertisements

Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Patch Management In Solaris and Red Hat. What is a Patch A collection of fixes to a problem Three main categories: Security Bugs in the system that provide.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Package Managers What are they and why we use them.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Linux Shells Dr. Michael L. Collard 1.
Chapter 11 Compression, System Backup, and Software Installation.
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.
Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function.
V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 10 Topics: Coming up: –Yearbook Picture: Feb 7 12:20PM.
Debian package manager Presenter: Lilian Wang. Install Software  先別管 package 了, 你有聽過重灌嗎 ?  Chrome/Firefox, Office, pietty, Notepad++, PCMan, LOL, …
GNU/Linux Fundamentals Part 3
Linux Operations and Administration
Linux+ Guide to Linux Certification
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.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
Overview of Linux Dr. Michael L. Collard 1.
Package Management How to use rpms. Topics The Problem of Software Installation Package Management Systems Using RPM Finding RPMs Building RPMs.
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
Package Management. Basic Commands apt-get install : install package + dependencies apt-get remove : removes the package not dependencies apt-get autoremove.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Package Management.
Linux Installation and Administration Lesson 3 Tutor: George Papamarkos.
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.
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
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.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 11 Managing.
CHAPTER 8 Managing Software and System Resources.
System/SDWG Update Management Council Face-to-Face Flagstaff, AZ August 22-23, 2011 Sean Hardman.
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Tanner Lovelace – Slide 1 RPM Packaging 101 Tanner Lovelace Triangle Linux Users Group 11/Jan/2003.
A Mirror Engine Computer Science Capstone Tobias Hertkorn.
Software in the Data Protector Architecture
Linux development Lection What we gonna do today Root privileges Software packages Managing software packages Build procedures Build components.
RedHat Package Management RPM and YUM in RedHat Enterprise, Fedora, Suse and Centos.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Lab 07 Cisco Routers. Project Proposals  Due NOW!  Will review after lecture Will discuss with team captain Note: evening labs may have a longer wait.
Introduction to Linux Server Setup Jonathan Hood CSE 4000 Practical Issues in Software Engineering.
Debian Package Management
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
System Administration Application Management. ● A common task for a system administrator is the installation, updating and removal of software. Several.
1 /15 Design and Implementation of the Custom Debian Distributions Toolkit (CDDT) 17 February 2006 Sergio Talens-Oliag II Open Source World.
Lab 07 Cisco Routers.
Chuan-kai Lin Drake Diedrich Google Inc.
Guide to Linux Installation and Administration, 2e
CIT 470: Advanced Network and System Administration
Linux Command RTFM: rpm(8) & yum(8)
IBM Tivoli Provisioning Manager Red Hat 5 patch management
Chapter 7 Installing Program &Backup Tool
Managing Software.
Ubuntu Working in Terminal
Lecture 13 RPM and its advantages.
The Linux Command Line Chapter 14
More Scripting & Chapter 11
RedHat Package Management
University of Texas Rio Grande Valley Systems Administration CSCI 6175
Tanner Lovelace Triangle Linux Users Group 11/Jan/2003
IS3440 Linux Security Unit 8 Software Management
OPS235 PACKAGE MANAGEMENT
The Linux Command Line Chapter 14
Hacking Linux and MacOS
Module 02 Operating Systems
Presentation transcript:

Linux Package Management Dr. Michael L. Collard 1

Package Management Features Tools to install, update, remove, and manage the installed software Install new and upgraded software across a network Indicate what package a file is in, or the files a package contains, e.g., where is /bin/ls Maintain a database of packages and their status Dependency checking Signature verification with GPG, PGP, MD5, etc. Tools to build packages

Major Linux Packaging Systems RPM - Red Hat Package Manager – Used on Red Hat, SUSE, etc. systems – package-version-release.architecture.rpm – E.g., coreutils fc9.i386.rpm Debian GNU/Linux Package Manager – Used on Debian/Ubuntu, and many others – package_version-revision_architecture.deb – E.g., coreutils_6.10-3ubuntu2_i386.deb

RPM File Format Identification of the file as an RPM file Signature - for integrity and/or authenticity Header - Metadata including package name, version, architecture, file list, etc. Archive - File archive typically cpio compressed with gzip Source rpm: spec file with information on how to build the package

RPM Tools rpm, rpmbuild – original CLI for installing/managing and creating rpm packages – Does not do dependency resolution up2date – Red Hat update agent, older graphical package manager for Red Hat systems yum – Yellow dog Updater, Modified – open-source CLI for RPM-compatible systems – default installer for most Red Hat systems yast2 – Part of SUSE installer

Deb Tools dpkg – Original Debian CLI packaging tool dpkg-deb – Lower-level CLI packaging tool, mostly used by dpkg apt-get – Most commonly used CLI packaging tool for deb systems aptitude – Text-based interface to apt synaptic – GUI front-end Some of these tools converted to using RPM

RPM Commands rpm --install package_file – Install new version, leave existing versions rpm –upgrade package_file – Replace current version, remove existing version – If not installed, installs new version rpm –freshen package_file – Replace current version only if already installed rpm –erase package_file – Removes the package from the system

yum Does dependency checking and a higher interface yum install packages yum info yum list yum remove package yum update yum upgrade

apt-get Big effect on other package-management tools apt-get update apt-get install package apt-get upgrade apt-get remove package apt-get dist-upgrade