Linux Software Installation

Source: Internet
Author: User

First, the Linux software classification

"1" source package

The advantages of the source package:

1, open source, if there is sufficient capacity, you can modify the source code;

2, you can freely select the required functions

3, the software is compiled and installed, so more suitable for their own system, more stable, more efficient;

4, easy to unload;

The disadvantages of the source package:

1, installation process more, especially when installing a large set of software (such as lamp environment), prone to spelling mistakes

2, the compilation process time is long, installation than the binary installation time

3, because it is compiled installation, the installation process when the novice is difficult to solve

"2" Binary package (RPM package, system default package)

Binary package refers to the source package after the compilation of the package, which is often said RPM package

Advantages of the binary package:

1, package management system is simple, only through a few commands can be implemented package installation, upgrade, query and Uninstall

2, installation speed is much faster than the source package

Disadvantages of the binary package:

1, after compiling, no longer see the source code

2, the function choice is not as flexible as the source package

3. Dependence

"3" Script installation package

The so-called script installation package, that is, the complex package installation process as a program script, beginners can execute the program script implementation of one-click installation. But the actual installation is either a source or a binary package

Advantages: Easy and quick installation

Cons: Total loss of customization

Second, the software operation of the relevant commands
sudo apt-Getupdate updates source sudo apt-GetInstall package sudo apt-GetRemove Package Delete packages sudo apt-Cache Search Package Search packages sudo apt-Cache Show Package get information about packages, such as description, size, version, etc. sudo apt-GetInstall Package--Reinstall reinstall Package sudo apt-Get-f Install repair installation sudo apt-GetRemove Package--Purge Delete package, including configuration files sudo apt-Getbuild-DEP Package Installation-related compilation environment sudo apt-Getupgrade updating an installed package sudo apt-Getdist-upgrade upgrade system sudo apt-The cache depends package understands the packages that are used to depend on those packages sudo apt-Cache Rdepends Package see which packages are dependent on sudo apt-GetSource package Download the source code for this bundle sudo apt-GetClean && sudo apt-GetAutoClean Clean up the useless package sudo apt-GetCheck to see if there is a corrupted dependency

 

Linux Software Installation

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.