Linux management tool installation package and add source

Source: Internet
Author: User
Tags yum repolist

Do you want to know the truth about the Linux Management Tool System? Do you want to know what is inherent in the Linux management tool system? I will only give you a full introduction to the Linux management tool system. linux management tools can be used in Linux.

For example, Debian/Ubuntu apt, openSUSE zypp, Fedora yum, Mandriva urpmi, Slackware slackpkg, Archlinux pacman, Gentoo emerge, Foresight conary, Pardus pisi, and so on.

The Linux management tool DistroWatch summarizes the main usage of the preceding Package Manager and provides 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 aptDebian, Ubuntu zyppopenSUSE yumFedora, CentOS

Linux management tool installation package apt-get install <pkg> zypper install <pkg> yum install <pkg> remove package apt-get remove <pkg> zypper remove <pkg> yum erase <pkg> update package list apt-get update zypper refresh yum check-update System apt-get upgrade zypper update yum update list source cat/etc/apt/sources. list zypper repos yum repolist

Add the source (edit/etc/apt/sources. list) zypper addrepo <path> <name> (add <repo> to/etc/yum. repos. d/) remove the source (edit/etc/apt/sources. list) zypper removerepo <name> (remove <repo> from/etc/yum. repos. d /)

Linux management tool search package apt-cache search <pkg> zypper search <pkg> yum search <pkg> List Installed packages dpkg-l rpm-qa task urpmi Mandriva slackpkgSlackware pacman Arch
Installation Package urpmi <pkg> slackpkg install <pkg> pacman-S <pkg>

Linux administration tool remove package urpme <pkg> slackpkg remove <pkg> pacman-R <pkg> Update package list urpmi. update-a slackpkg update pacman-Sy update system urpmi -- auto-select slackpkg upgrade-all pacman-Su

Linux administration tool to list the source urpmq -- list-media cat/etc/slackpkg/mirrors cat/etc/pacman. add source urpmi in conf. addmedia <name> <path> (edit/etc/slackpkg/mirrors) (edit/etc/pacman. conf)

Linux management tool removes the source urpmi. removemedia <media> (edit/etc/slackpkg/mirrors) (edit/etc/pacman. conf) Search package urpmf <pkg> -- pacman-Qs <pkg> to list installed packages rpm-qa ls/var/log/packages/pacman-Qii

Linux management tool task conary rPath, foresight pisiPardus emerge Gentoo installation package conary update <pkg> pisi install <pkg> emerge <pkg> remove package conary erase <pkg> pisi remove <pkg> emerge-C <pkg>

Linux management tool 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 <name> <path> layman-a remove source pisi remove-repo <name> layman-d search package conary query <pkg> pisi search <pkg> emerge -- search list installed packages conary query pisi list-installed cat/var/lib/portage | more

  1. Common commands and functions of Unix Linux operating system
  2. Linux grub partitions D disks using PQMAGIC
  3. Edit the configuration file for Linux NTP installation and configuration service
  4. Linux bridge basic commands can be tried first
  5. Linux Kernel super privilege user root

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.