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

Use linux's aptitude command package management tool

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail about the use of linux aptitude command package management tools, the editor thinks it is very practical, so share it for you to do a reference, I hope you can get something after reading this article.

Like the apt-get command, the aptitude command is an extremely powerful package management tool in Debian Linux and its derivative systems.

Unlike apt-get, aptitude is better at dealing with dependencies. For example, when aptitude deletes a package, it also deletes the package on which it depends. In this way, useless packets will not be left in the system, and the whole system is cleaner. It manages the software package through text operation menus and commands.

Relatively speaking, it is more recommended to use the aptitude command instead of apt-get, especially when downloading or deleting dependent packages, aptitude is better than apt-get.

Syntax format: aptitude [parameters]

Common parameters:

Reference example

Update the list of available packages:

[root@linuxcool ~] # aptitude update

Perform a secure upgrade:

[root@linuxcool ~] # aptitude safe-upgrade

Install the package:

[root@linuxcool ~] # aptitude install pkgname

Delete the package and its configuration file:

[root@linuxcool ~] # aptitude purge pkgname

Delete the downloaded package file:

[root@linuxcool ~] # aptitude clean

Search package:

[root@linuxcool ~] # aptitude search pkgname on the use of linux aptitude command package management tools to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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

Servers

Wechat

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

12
Report