Seven methods for installing Linux software
1. Steps for installing the RPM package:
1. Find the corresponding software package, such as soft. version. rpm, and download it to a local directory;
2. Open a terminal and Su-become the root user;
3. directory where CD soft. version. rpm is located;
4. Input rpm-IVH soft. version. rpm
Ii. Steps for installing the Deb package:
1. Find the corresponding software package, such as soft. version. Deb, and download it to a local directory;
2. Open a terminal and Su-become the root user;
3. directory where CD soft. version. Deb is located;
4. Input dpkg-I soft. version. Deb
Install the Three-character tar.gz source code package:
1. Find the corresponding software package, such as soft.tar.gz, and download it to a local directory;
2. Open a terminal and Su-become the root user;
3. directory where CD soft.tar.gz is located;
4. Tar-xzvf soft.tar.gz // a soft directory is usually generated.
5. CD soft
6../configure
7. Make
8. make install
Installation Method of source code package:
1. Find the corresponding software package, such as soft.tar.bz2, and download it to a local directory;
2. Open a terminal and Su-become the root user;
3. directory where CD soft.tar.bz2 is located;
4. Tar-xjvf soft.tar.bz2 // a soft directory is usually generated.
5. CD soft
6../configure
7. Make
8. make install
5. APT installation:
1. Open a terminal and Su-become the root user;
2. APT-cache search soft Note: Soft is the name or related information of the software you are looking.
3. If the software soft. version is found in 2, run the apt-Get install soft. Version command to install
Install software Note: as long as you can access the Internet, you only need to use apt-cache search to find the software and use apt-Get
Install software
Vi. binfile installation:
If the software you downloaded is soft. Bin, it is generally an executable file. The installation method is as follows:
1. Open a terminal and Su-become the root user;
2. chmod + x soft. Bin
3. Run the./soft. Bin // command to install the software.
7. Unnecessary software installation:
Some software, such as lumaqq, does not need to be installed. After the built-in JRE is decompressed, it can be directly run. Hypothesis
Download lumaqq.tar.gz. Use the following method:
1. Open a terminal and Su-become the root user;
2. Tar-xzvf lumaqq.tar.gz // a directory named lumaqq is generated in this step.
3. CD lumaqq
4. chmod + x lumaqq // set the lumaqq program file to run
5. You can run lumaqq by using the command./lumaqq, but you need to enter the full path or
Switch to the generated lumaqq directory.
6. To ensure that you can use lumaqq in the/bin directory without setting the path,
Run ln-s lumaqq/bin/. You can enter lumaqq at any time.
I started the QQ chat software.
7. If you want lumaqq to have a menu item, use the menu editing tool, such as alacarte menu
Editor, find the lumaqq directory generated above and set a menu item. Of course you
You can also directly go to the/usr/share/applications directory and follow the format of the other *. Desktop files in the directory.
Generate a desktop file.
Www.linuxhao.com, a good school for Linux, provides Linux installation, Linux system, Linux kernel, Linux driver, and Linux tutorials.