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

How to install software on linux system

王林
Release: 2019-11-22 09:34:46
Original
5942 people have browsed it

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的软件包名
Copy after login

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 软件名
Copy after login

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
Copy after login

and when uninstalling, you should execute:

rpm –e software。
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template