Linux package Management Quick query table

Source: Internet
Author: User
Tags yum repolist
Linux package Management Quick query table-general Linux technology-Linux technology and application information. The following is a detailed description. Using a Linux system is always free of contact with package management tools. For example, Debian/Ubuntu apt, openSUSE zypp, Fedora yum, Mandriva urpmi, Slackware slackpkg, Archlinux pacman, Gentoo emerge, Foresight conary, Pardus pisi, and so on. DistroWatch summarizes the main usage of the above Package Manager and has a good reference for Linux users.

There are still a few shortcomings in this summary. I will organize a more comprehensive version for you.

Task apt Debian, Ubuntu zypp openSUSE yumFedora, CentOS
Installation Package apt-get install Zypper install Yum install
Remove package apt-get remove Zypper remove Yum erase
Update package list apt-get update zypper refresh yum check-update
Update System apt-get upgrade zypper update yum update
List source cat/etc/apt/sources. list zypper repos yum repolist
Add source (edit/etc/apt/sources. list) zypper addrepo (Add To/etc/yum. repos. d /)
Remove source (edit/etc/apt/sources. list) zypper removerepo (Remove From/etc/yum. repos. d /)
Search package apt-cache search Zypper search Yum search
List Installed packages dpkg-l rpm-qa

Task urpmi Mandriva slackpkg Slackware pacman Arch
Installation Package urpmi Slackpkg install Pacman-S
Remove package urpme Slackpkg remove Pacman-R
Update package list urpmi. update-a slackpkg update pacman-Sy
Update System urpmi -- auto-select slackpkg upgrade-all pacman-Su
List the source urpmq -- list-media cat/etc/slackpkg/mirrors cat/etc/pacman. conf
Add source urpmi. addmedia (Edit/etc/slackpkg/mirrors) (edit/etc/pacman. conf)
Remove source urpmi. removemedia (Edit/etc/slackpkg/mirrors) (edit/etc/pacman. conf)
Search package urpmf -- Pacman-Qs
List Installed packages (rpm-qa ls/var/log/packages/pacman-Qii)

Task conary rPath, Foresight pisi Pardus emerge Gentoo
Installation Package conary update Pisi install Emerge
Remove package conary erase Pisi remove Emerge-C
Update package list pisi update-repo emerge -- sync | layman-S [for added repositories]
Update System conary updateall pisi upgrade emerge-NuDa world
List source pisi list-repo layman-L
Add source pisi add-repo Layman-
Remove source pisi remove-repo Layman-d
Search package conary query Pisi search Emerge -- search
List installed packages conary query pisi list-installed cat/var/lib/portage | more

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.