Common methods for installing Linux software

Source: Internet
Author: User

1, software security loading and unloading, in several cases:

A: RPM package, like the Windows EXE installation files, the various files have been compiled, and hit the package, which files to which folder, all specified, the installation is very convenient, in the graphical interface you only need to double-click to automatically install.

= = How to uninstall:
1. Open a shell terminal
2, because the software name under Linux includes the version number, so it is best to determine the first before uninstalling the full names of the software.
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 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
Execute uninstall command: RPM-E firefox-1.0.1-1.3.2

= = = Install 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.

2. How to execute the software after installation. After installing the software, there are several ways to execute the software:
A, some software installed automatically in the application list to add shortcut keys, and Windows, just go there.
B, if not found in the application list, you can enter the command directly in the/start/Run command: The start command is usually the software name, such as FIREFOX,REALPLAY,XMMS, etc.
C, you can also open a shell terminal, enter the software name, and in the "Run Command" in the same. If you do not know the entire command, you can enter the beginning of the letter, and then press the TAB key to find, the system will automatically display to enter the letter beginning with all the commands/
D, you can also run the boot file directly into the installation directory, Linux executable icon and shell Terminal icon very much like
E, to the/usr/bin directory to find the installed software startup file Execution command. The Linux system has all the executable file commands in the/usr/bin directory to start the connection, you can go to that directory to find the file you installed Start command, double-click Start

Common methods for installing Linux software

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.