How to use the common command aptitude in Linux
This article mainly introduces the Linux commonly used command aptitude how to use, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
Linux common commands aptitude commands, like apt-get commands, are extremely powerful package management tools in Debian Linux and its derivative systems.
Syntax aptitude (options) (parameters) option-h: display help information;-d: download only software packages, do not perform installation operations;-P: confirm each step;-y: answer "yes" for all questions;-v: display additional information;-u: download a list of new packages at startup. Parameter operation command: the user manages the operation command of the software package.
As an example, the following are some common aptitude commands I have summarized for reference only:
Aptitude update # Update the list of available packages aptitude upgrade # upgrade the available packages aptitude dist-upgrade # upgrade the system to the new distribution aptitude install pkgname # installation packages aptitude remove pkgname # delete packages aptitude purge pkgname # delete packages and their configuration files aptitude search string # search packages aptitude show pkgname # display package details aptitude clean # delete downloaded Package files aptitude autoclean # only delete expired package files, of course You can also use aptitude in text interface mode.
Thank you for reading this article carefully. I hope the article "how to use Linux commands aptitude" shared by the editor will be helpful to everyone. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!