Home >Operation and Maintenance >Linux Operation and Maintenance >What is the Linux installation software command?

What is the Linux installation software command?

angryTom
angryTomOriginal
2020-03-09 11:27:4323391browse

What is the Linux installation software command?

What is the Linux installation software command?

##1. Use the dpkg command to install the deb installation package file

Debian software package naming follows the following convention: acab04e509e5b64e7e2bc0d60ab534143d689bd3819ead35ed794427bd12f459-b449c6f11d0e7595ab0ca3c9bf151e508edcac60151209924b9c7e8734e08ab8.deb

Recommended learning:《

Linux Video Tutorial

Installation steps:

1. Find the corresponding software package, such as xx.deb, and download it to your local machine A certain directory;

2. The directory where cd xx.deb is located;

3. sudo dpkg -i xx.deb.

Uninstall steps:

1. sudo dpkg -r xxSoftName.

Use apt to install and uninstall online

sudo apt install 7442e50e970a56a9cd915cd04674d300


sudo apt remove 7442e50e970a56a9cd915cd04674d300

2. Use the rpm command to install the rpm installation package file

Installation steps:

1. Find the corresponding software package, such as xx.rpm, and download it to a directory on the local machine;

2. cd the directory where xx.rpm is located;

3 , sudo rpm -ivh xx.rpm. (Install and display the file information being installed and the installation progress)

Uninstallation steps:

1. sudo rpm -e xxSoftName. (-e can be replaced by --earse)

Use yum to install and uninstall online

sudo yum install <软件名>
sudo yum remove <软件名>

3. Compile and install

1. Find the corresponding software package, such as xx.tar.gz, and download it to a directory on the local machine;

2. cd the directory where xx.tar.gz is located;

3. Decompress: tar -xvf xx.tar.gz;

4. cd into the decompressed file: cd xx;

5. Configuration file: ./configure;

6. Start compiling: make;

7. Install the generated binary file: make install.

Note: The specific installation method is subject to the README and other help files in the software source code.


Uninstall steps:

#1. In the source code package directory, execute: make uninstall on the terminal.

The above is the software installation method for the more mainstream server Linux distributions. For other Linux distributions, please Baidu.


For more Linux-related tutorials, please pay attention to

PHP Chinese website!

The above is the detailed content of What is the Linux installation software command?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn