1. Deb package installation method
Deb is the package management method for Debian Linux. After downloading the software in Deb format, enter this command on the terminal to install the software:
Sudo dpkg-I *. Deb
2. Compilation and installation methods
(Before compilation and installation, you must first establish a compilation environment and use the following command to create a basic compilation environment:
Sudo apt-Get install build-essential
)
In linuxlinux, many software only use the source code, and the original compilation and installation software will use the tar.gz compression method for release. When you getSource codeDecompress the file to the/tmp directory, enter the tmp directory, and then execute the following three commands:
./Configure
Make
Make install
Step 1 ,. /configure may prompt that the software cannot be found. In this case, you can use the new software manager to find libgnome-related projects and install all the packages with the Ubuntu symbol in front. /install all the missing Development kits during configure. (Step 1 succeeded, and step 2 and Step 3 won't be a problem)
3. APT-Get (software source required)
Sudo apt-Get install software name
4. New software package management
Like apt-get, you can search, download, and install it.
5. Binary Package Installation Method
After obtaining the binary software, copy it to the/tmp directory, enter the installation directory, and execute
./Software name
Then follow the step-by-step prompts to follow the software.
6. How to install the RPM package
Rpm is the most common package management option outside the Deb package, but Ubuntu can also use this method. First, install a rpm-to-Deb software:
Sudo apt-Get install alien
Then you can convert the rpm-format software into the Deb format:
Alien-D *. rpm
Then you can install the software using Deb.
You can also directly install the RPM package without conversion:
Alien-I *. rpm
7. other installation methods
Other installation methods include step-by-step installation. For this type of software, you will find files with similar extensions under the software installation directory, such. sh ,. PY ,. run and so on, some even have no suffixes, and there is only one Install file directly. For such software, you can install it using the following method:
The simplest is to enter a./software name * under the Software Directory (Note that there must be a *, which is generally available with all the suffix names)
Or: Sh software name. Sh
Or: Python software name. py