Linux Command RTFM: rpm(8) & yum(8)

Slides:



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

Backups In Linux. The Linux System Many Linux distros set up seperate "/home" and "/" (root) partitions. User configuration files are hidden with a "."
Software installation Chapter 7. Software installation Numerous software options Usually free Open source Several sources Installation CD Websites sourceforge.net.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
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.
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.
GNU/Linux Fundamentals Part 3
Linux Operations and Administration
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.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
LPIC-1 TRAINING COURSE Topic 102: Linux Installation and package management.
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.
Linux Package Management Dr. Michael L. Collard 1.
Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Package Management.
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.
Backups, Logging, Troubleshooting. Dates for Last Week of Class Homework 7 – Due Tuesday 5/1 by midnight Labs 7 & 8 – 8 is extra credit – Due Thursday.
Linux Network Configuration Linux System Administration /etc/resolv.conf Tells the kernel which name server should be queried when a program asks to "resolve"
CIT 500: IT Fundamentals Packages and Filesystems 1.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Week Eight Agenda Announcements Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
Linux Overview Why Linux ? Not-so-ancient history –Torvalds, Linus Torvalds, 002 the Helsinki University, as a student, low budget, work home –rapid and.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 11 Managing.
UNIX Commands RTFM: grep(1), egrep(1) & fgrep(1) Gilbert Detillieux April 13, 2010 MUUG Meeting.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Packets and Protocols Chapter Three Obtaining and Installing Wireshark.
Sys Admin Course Package Management Fourie Joubert.
Week Eight Agenda Link of the week Review week seven lab assignment This week’s expected outcomes Next lab assignment Break-out problems Upcoming deadlines.
RedHat Package Management RPM and YUM in RedHat Enterprise, Fedora, Suse and Centos.
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
Installing Software Part 1 Kevin B. O'Brien Washtenaw Linux Users Group
System Administration Application Management. ● A common task for a system administrator is the installation, updating and removal of software. Several.
Perl in RPM-Land Dave Cross Magnum Solutions Ltd YAPC::Europe 15 th August 2008.
Lab 07 Cisco Routers.
Chapter 9 Managing Software
Software management Operating systems I800
Week Eight Agenda Announcements Link of the week
CIT 470: Advanced Network and System Administration
Package Management.
Package Management.
Installation and Configuration
Introduction to .NET Core
IBM Tivoli Provisioning Manager Red Hat 5 patch management
Chapter 7 Installing Program &Backup Tool
Managing Software.
and what the developer saw there
Using Clam Anti-Virus with Ubuntu
Ubuntu Working in Terminal
Lecture 13 RPM and its advantages.
ITEC400 Week Seven Instructor Professor D’Andrea.
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
Module 5 Getting Help.
The Linux Command Line Chapter 14
Perl in RPM-Land Dave Cross Magnum Solutions Ltd YAPC::Europe
VERSION CONTROL SVN (SubVersioN)
Presentation transcript:

Linux Command RTFM: rpm(8) & yum(8) Gilbert Detillieux March 12, 2013 MUUG Meeting

Package Management Package .rpm .deb Low-level command rpm dpkg High-level command(s) yum apt-get aptitude GUI(s) PackageKit pirut Synaptic Distros Red Hat/Fedora SuSE Debian Ubuntu

In General... Can’t mix and match between packaging systems No way to do dependency checks across them Mostly use high-level command (or GUI) Does necessary dependency checking and installs Use low-level commands for special purposes Package listing, verification, etc. When you get stuck

yum(8) Man Page NAME SYNOPSIS DESCRIPTION yum – Yellowdog Updater Modified SYNOPSIS yum [options] [command] [package ...] DESCRIPTION command is one of: install package1 [package2] [...] update [package1] [package2] [...] check-update upgrade [package1] [package2] [...] remove | erase package1 [package2] [...] list [...] info [...] provides | whatprovides feature1 [feature2] [...] clean [ packages | headers | metadata | dbcache | all ] groupinstall group1 [group2] [...] groupupdate group1 [group2] [...] grouplist [hidden] [groupwildcard] [...] groupremove group1 [group2] [...] groupinfo group1 [...] search string1 [string2] [...] shell [filename] localinstall rpmfile1 [rpmfile2] [...] localupdate rpmfile1 [rpmfile2] [...] downgrade package1 [package2] [...] help [command]

Yum Demo yum search string yum info package-name yum install package-name yum remove package-name yum update

rpm(8) Man Page NAME SYNOPSIS QUERYING AND VERIFYING PACKAGES: rpm – RPM package manager SYNOPSIS QUERYING AND VERIFYING PACKAGES: rpm {-q|--query} [select-options] [query-options] rpm {-V|--verify} [select-options] [verify-options] rpm --import PUBKEY ... rpm {-K|--checksig} [--nosignature] [--nodigest] PACKAGE_FILE ... INSTALLING, UPGRADING, AND REMOVING PACKAGES: rpm {-i|--install} [install-options] PACKAGE_FILE ... rpm {-U|--upgrade} [install-options] PACKAGE_FILE ... rpm {-F|--freshen} [install-options] PACKAGE_FILE ... rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--repackage] [--test] PACKAGE_NAME ...

Rpm Demo rpm -Uvh package-file rpm -qi package-name rpm -qip package-file rpm -qa --last rpm -V package-name rpm -e package-name rpm -qa --size (using /etc/popt macro)

Questions?