Linux Install/Uninstall software tutorials

Source: Internet
Author: User

First, the source installation
./Configure     #环境检查, generate makefilemake            #编译make install   #安装

These three commands are the most classic Linux software installation and apply to all distributions

Software for installing and uninstalling Package management tools (DPKG and RPM)

Package form is more than the source form, one is to deal with the source code to the system platform compatibility issues, the second is generally will play a good application patches.

Goal Command Description
DPKG Installation Dpkg-i Package.deb You can also use--install
Dpkg find Dpkg-l |grep Package The full package name is required for the next step of uninstallation, so you need to query
dpkg Uninstall Dpkg-r Package Package name should be complete or not properly uninstalled
RPM Installation RPM-IVH package.rpm I table installation, V table printing details, H table installation progress
RPM Lookup RPM-QA |grep Package A indicates that all installed packages are listed
RPM Offload RPM-E Packge Also requires a full package name

III. installation and uninstallation software for advanced package management tools (APT and Yum)

The biggest problem with dpkg and RPM is the inability to automatically find and install the packages on which the current software depends, and they just want to put the current software on and then rely on an error when they are not satisfied.

Often fall into a dependent b,b dependent c,c dependent D ... , this is what is said of "dependence on hell".

Apt and Yum are "advanced places" where dependency issues are automatically resolved. (Does the software install actually call dpkg and RPM to complete?) )

Goal Command Description
Apt Check for updates Apt-get Update
Apt Find packages Apt-cache Search Package
APT installation software Apt-get Isntall Package
Apt Uninstall software Apt-get Remove Package Also requires a full package name, using Dpkg to find
Yum Check for updates Yum Update
Yum Find Packages Yum Search Package
Yum Install software Yum Install package
Yum Uninstall software Yum Erase Package

Iv. installation and uninstallation software for the application market

For the desktop-oriented Linux distribution is generally equipped with a graphical interface of the application market, which is the essence of apt and Yum GUI packaging.

Classic has "new", "Ubuntu Software Center", and so on, if better understand that such as Windows "360 software housekeeper" and the mobile phone "application market" and so on.

Five, you may also need

Linux to see which package a command belongs to

Linux Download only does not install packages

Analysis of writing format of Linux software source

Linux Install/Uninstall software tutorials

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.