Home >Operation and Maintenance >Linux Operation and Maintenance >How to install software on linux system
Debian, Ubuntu, Mint and other Debian-based distributions all use .deb files and the dpkg package management system. There are two ways to install apps through this system. You can use the apt program to install from a repository, or you can use the dpkg program to install an application from a .deb file.
(Recommended tutorial: linux tutorial)
Use apt to install applications:
$ sudo apt install app_name
By default, Red Hat uses multiple package management systems. These systems are still very similar to each other and to those used in Debian when using their own commands. For example, we can use yum or dnf managers to install applications. Applications in
$ sudo yum install app_name $ sudo dnf install app_name
.rpm format can also be installed using the rpm command.
$ sudo rpm -i app_name.rpm
Related video recommendations: linux video tutorial
The above is the detailed content of How to install software on linux system. For more information, please follow other related articles on the PHP Chinese website!