Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Software in Linux system

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to install software on Linux system, which has certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let Xiaobian take you to understand it together.

rpm: rpm is a software package management method developed by Red Hat. Using rpm, we can easily install, query, uninstall software, etc. However, using rpm command to install rpm software package cannot solve the dependency problem between software packages by itself. You need to install dependent software packages one by one. yum: Yum(Yellow dog Updater, Modified): It is a package manager in RedHat, Fedora and CentOS. It is based on RPM package management. It can automatically download RPM packages from specified servers and install them. It can automatically handle dependencies between software packages and install all dependent software packages at once without cumbersome downloading and installation. (2) Difference between rpm and yum: rpm can only install a specified software package. If there is a dependency relationship between the software package, such as installing package A, you need to install package B first. If rpm is used, you need to install package B first, and then install package A. If yum is used, it can automatically detect the dependency relationship between software packages. You can install package A directly. yum can detect the dependency relationship between A and B and automatically install package B.(3) rpm uses:

Install rpm package software: rpm -ivh xxx.rpm

Check if an rpm package is installed: rpm -qa| grep xxx For example: rpm qa| grep java, check out the installation package for java programs.

Delete an rpm installation package: rpm -e xxx.rpm (4), yum Use: Find package Command: yum search Some keywords in the installation package name For example: yum search java

1. Install the specified software command: yum install Installation package name Install openJdk, an open source Java virtual machine. For example: yum install java-1.7.0-openjdk2. Delete package command: yum remove installation package name delete openJdk For example: yum remove java-1.7.0-openjdk3. List all installed packages command: yum list installed4. Clear downloaded files of installed packages command: yum clean all (yum command downloads installation packages are placed in/var/cache/yum directory)

Thank you for reading this article carefully. I hope that the article "How to Install Software in Linux System" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support you a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report