How to install software on Linux

WBOY
Release: 2023-05-13 15:07:12
forward
1166 people have browsed it

1 rpm -ivh package name.rpm

rpm -ivh your-package Install

rpm -e tree Uninstall

rpm -ql tree query

2 yum installation automatically solves the dependency problem of rpm installation, making the installation simpler

yum install package1 installation

yum remove package1 delete program Package package1

[Advantages: simple, easy to use] [Disadvantages: cannot be customized]

3 Compile (C language source code,)

./ configure (configuration,) make (compile) make install (installation)

[Advantages: Can be customized] [Disadvantages: slow speed, low efficiency, complex operation]

4 apt -get

apt-get install package1 :Install package

apt-get remove package1:Uninstall package

apt-get --purge remove packagename Uninstall package and Its configuration

sudo apt-get autoremove

Enterprise method: customize the rpm package, build a yum warehouse, put the customized rpm package into the yum warehouse, and perform yum installation.

The above is the detailed content of How to install software on Linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
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