In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the use of linux pacman command package manager, the article is very detailed, has a certain reference value, interested friends must read it!
The Pacman command is a package manager as part of the ArchLinux distribution. To put it simply, like apt-get to Ubuntu, pacman is the apt-get of Arch. To play Arch easily, it is necessary to learn pacman.
The Pacman package manager is a highlight of ArchLinux. It absorbs the advantages of other Linux versions of software management, such as Debian's APT mechanism, Redhat's Yum mechanism, Suse's Yast, etc., and provides unparalleled convenience for installing software. In addition, because ArchLinux is a release optimized for i686 architecture, it is also helpful to improve the efficiency of the software. Pacman can be said to be the foundation of ArchLinux, because ArchLinux installs very little software by default, and other software is installed over the network using pacman. It combines a simple binary package format with an easy-to-use build system. Pacman makes it possible to easily manage and customize software packages, whether they come from the official Arch software library or user-created ones. Pacman can update the system by synchronizing the package list with the master server, which makes it easy for security-conscious system administrators to maintain.
Syntax format: pacman [parameters]
Common parameters:
Reference example
Install or upgrade a single package, or a list of packages (including dependent packages):
[root@linuxcool] # pacman-S package_name1 package_name2
In Archlinux, the entire system can be updated with a single command:
[root@linuxcool ~] # pacman-Syu
Remove a single package, leaving all of its installed dependencies:
[root@linuxcool] # pacman-R package_name
Removes the specified package and all its dependencies that are not used by other installed packages:
[root@linuxcool ~] # pacman-Rs package_name
Pacman can query the package in the package database, and the query location contains the name and description of the package:
[root@linuxcool ~] # pacman-Ss package
To query installed software packages:
[root@linuxcool ~] # pacman-Qs package
Get a list of files contained in the installed package:
[root@linuxcool ~] # pacman-Ql package above are all the contents of the pacman command package manager using linux. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.