Linux Software Installation

Source: Internet
Author: User

A: RPM Package, this package is like the Windows EXE installation file, the various files have been compiled, and hit the package, which file should be placed in which folder, are specified, installation very convenient, in the graphical interface you only need to double-click to automatically installation .


= = How to uninstall:
1, open a shell terminal
2, because the software name under Linux includes the version number, so it is best to first determine the software before uninstalling the full names.
Find RPM Package software: rpm-qaxxx*
Note: XXX refers to the software name at the beginning of a few letters, not required to write the whole, but not wrong, * is a wildcard symbol "*", that is, asterisks, if you want to find the machine installed in the RealPlayer software, you can enter: Rpm-qa realplay*
3, after the software is found, the full name of the software is displayed, such as firefox-1.0.1-1.3.2
to perform the uninstall command: rpm-e firefox-1.0.1-1.3.2

= = = installation directory, Execute command lookup: rpm-ql firefox-1.0.1-1.3.2

= = = Reference article: http://blog.chinaunix.net/article.p...178&blogId=1438

b: tar.gz (BZ or BZ2, etc.) end of the source code package, this package is the source program, not compiled, need to be compiled to install, installation method is:

1, open a shell, that is, Terminal
2, the CD command to enter the directory where the source code compressed
3 , unzip the file according to the compression package type (* represents the package name)
TAR-ZXVF ****.tar.gz
tar-jxvf ****.tar.bz (or bz2)
4, enter the unpacked directory with the CD command
5, enter the compile file command: ./configure (some compression packages have been compiled, this step can be omitted)
6, then the command: Make
7, and then the installation file command: Make install
8, installation complete

= = = How to uninstall:
1, Open a shell, Terminal
2, use the CD command to enter the compiled software directory, that is, the directory at the time of installation
3, to perform the anti-installation command: Make uninstall

= = = = Install Directory: Note the install directory during the make install command, Or read the Readme file in the installation directory, of course, the best way is to specify the installation directory during installation, that is, after the./configure command, add the parameter--prefix=/**,
such as:./configure--prefix=/usr/ LOCAL/AAAA, that is, the software is installed in the/usr/local/path of the AAAA directory. The default installation directory for general software in/usr/local or/OPT, you can go there to find the

C: installation package at the end of bin, this package is similar to RPM package, installation is relatively simple
1. Open a shell, that is, the terminal
2. Use the CD command to enter the directory where the source code compression package is located
3. Add executable attribute to file: chmod +x ******.bin (middle is letter X, lowercase)
3, execute the command:./******.bin (RealPlayer for Linux is such an installation package)
= = = How to uninstall: Remove the installation directory that you selected during installation to OK
= = = can be specified during the installation process, similar to the installation under Windows.

D: yum install software name

= = = How to uninstall:

Yum Remove software Name

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.