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: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 installsudo apt remove
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.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!