Package Management Yum and Rpm

Package Management Yum and Rpm

Package Management yum and rpm Presented by Prabin Kumar Datta 4th Year 8th Semester, IT, GCECT Copyright (C) 2011 prabindatta GNU General Public License http://www.gnu.org/licenses/ PackageKit PackageKit, the default package manager front-end on Fedora PackageKit Front-ends: There are three front-ends for PackageKit: gnome-packagekit to be used in the GNOME desktop. kpackagekit to be used in the KDE desktop. pkcon to be used on the command line. PackageKit Back-ends There are number of back-ends for PackageKit. Few of them are: YUM Opkg Simple Package Manager Advanced Packaging Tool Yellowdog Updater Modified Yellowdog Updater Modified (YUM) is an open- source command-line package-management utility for RPM-compatible Linux operating systems Yum is System administration commands (usually only for root) RPM Package Manager RPM stand for Redhat Package Manager. Features of RPM include: RPM packages can be cryptographically verified with GPG and MD5 Original source archive(s) (e.g. .tar.gz, .tar.bz2) are included in SRPMs, making verification easier PatchRPMs, the RPM equivalent of a patch file, can incrementally update RPM-installed software Automatic build-time dependency evaluation. Few Commands Install packages: # rpm -ivh <package_name> The above command has inability to resolve dependencies. # yum install <package_name> The yum application can call upon several repositories for dependency resolution. Few Commands Install packages: (continue) # yum localinstall <rpmfile> This command will install the local rpm file and also search for dependencies to pull in. # yum groupinstall <groupname> Eg: yum groupinstall “GNOME Desktop Environment” Few Commands Update packages # yum update (for all packages) # yum update <package> #rpm -F <rpmfile> If old version currently not install, it will skip #rpm -U <rpmfile> If old version currently not install, it will install the rpmfile Few Commands Delete packages # yum remove <package> # rpm -ev <packagename> # yum groupremove <groupname> Few Commands Listing packages # yum list [all] [package_glob] # yum list (installed | available | updates ... [package_glob]) # yum grouplist # rpm -qa (only installed packages) Few Commands Package information # yum info <package> # rpm -qi <package> # yum groupinfo <packagegroup> Searching packages and files # yum search <searchterm> # rpm -qf <filesname> # yum provides <filesname> Questions? Contact: [email protected] Copyright (C) 2011 prabindatta GNU General Public License http://www.gnu.org/licenses/.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    13 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us