Two common installation package management tools in linux

Source: Internet
Author: User

Apt-get, two common installation package management tools in linux, is applicable to deb package-managed operating systems. It is mainly used to automatically search, install, upgrade, and uninstall software or operating systems from Internet software repositories. The software package for installation downloaded by apt-get is in/var/cache/apt/archives. The deb package is a binary package that has been compiled by others ). The default Package Manager of Ubuntu is apt. Based on RPM package management, www.2cto.com Yum (all called Yellow dog Updater, Modified) can automatically download and install RPM packages from a specified server and automatically process dependencies, install all dependent software packages at a time. The downloaded software Package, in the var/cache/yum/*/packages path, RPM (RedHat Package Manager) A management program that installs the required software on the host through database management. Is fedora, redhat's default Package Manager www.2cto.com 1. apt installation command syntax: apt-get install packagename # install a new package syntax: apt-get upgrade # You can use this command to update the software package syntax: apt-get remove packagename # uninstall an installed software package 2. yum installation command syntax: yum check-update # list all updatable software lists syntax: yum update # install all update Software yum install # install only the specified software syntax: yum update # update only the specified software source http://blog.sina.com.cn/staratsky

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.