1 / 10

Package Managers

RPM / YUM / APT. Package Managers. RPM is used by Red Hat, fedora, SuSe name-version-release.architecture.rpm Local database is @ /var/lib/rpm RPM is a backend for yum or gui package manager. RPM. Install : rpm -i or rpm --install Upgrade : rpm -U or rpm –upgrade

gaetan
Télécharger la présentation

Package Managers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RPM / YUM / APT Package Managers

  2. RPM is used by Red Hat, fedora, SuSe name-version-release.architecture.rpm Local database is @ /var/lib/rpm RPM is a backend for yum or gui package manager RPM

  3. Install : rpm -i or rpm --install Upgrade : rpm -U or rpm –upgrade Erase : rpm -e or rpm –erase Query : rpm -q Verify : rpm -V Do not use -U or -F on kernel upgrade !! RPM Primary handlings

  4. Rpm is a good package handler, although it has one big flaw. It's ability to handle dependencies The volunteers of Yellow Dog distribution developed Yellow dog Update Modify, short YUM. The GUI package manager usually is a front-end for yum YUM

  5. yum install <package> yum remove <package> yum update <package> yum search <searchterm> yum list yum info <package> YUM primary handlingss

  6. Create a file /etc/yum.repos.d/ Required information [repo-name] name=description base-url=http://yourrepository.com/path/to/repo enabled=1 Gpgcheck=1 Clear the repocache with yum clean dbcache|all YUM – Add a repository

  7. APT is a package handler used by mainly debian and ubuntu, kubuntu, ... APT is comparable with YUM, where dpkg is comparable with RPM dpkg is not so often used as rpm, while it is better incorporated within APT APT is use as backend by the Synaptic Package manager APT

  8. Apt consist out of 2 main sub-programs, namely apt-get and apt-cache (There are more, but these are the mainly used ones)‏ Apt-get is used for real package handling Apt-cache is more used for information around packages APT subsystems

  9. apt-get update : retrieve package lists apt-get upgrade : perform upgrades apt-get remove : remove packages apt-get install : install packages apt-get clean : erase downloaded archives apt-get dist-upgrade : distribution upgrade apt-get

  10. apt-cache search <package> apt-cache policy <package> : Verify installation, version and package information apt-cache show <package> apt-cache

More Related