Home  >  Article  >  Operation and Maintenance  >  How to install software on linux system

How to install software on linux system

王林
王林Original
2019-11-22 09:34:465871browse

How to install software on linux system

rpm package installation steps:

1. Find the corresponding software package, such as soft.version.rpm , download to a directory on this machine;

2. Open a terminal, su - to become the root user;

3. cd soft.version.rpm The directory where is located;

4. Enter rpm -ivh soft.version.rpm

Installation instructions:

Execution:

rpm –ivh rpm的软件包名

rpm parameters Parameter description:

-i Install software

-t Test installation, not real installation

- p Show installation progress

-f Ignore any errors

-U Upgrade installation

-v Check whether the package is installed correctly

These parameters can be used at the same time.

Uninstall instructions:

Execution:

rpm –e 软件名

However, it should be noted that the following is the software name, not the software package name. For example, to install the software-1.2.3-1.i386.rpm package, you should execute:

rpm –ivh software-1.2.3-1.i386.rpm

and when uninstalling, you should execute:

rpm –e software。

In addition, Linux also provides graphical RPM tools like GnoRPM, kpackage, etc., making the whole process easier.

Recommended tutorial: linux 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!

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