- CompTIA Linux+ Certification Guide
- Philip Inshanally
- 225字
- 2021-08-13 15:49:55
The aptitude command
Aptitude is a frontend to APT, which is the Debian package manager. It's best suited in shell environments where a GUI is not present. The aptitude command allows users to view the list of packages, and perform package management tasks such as installing, removing or upgrading packages. There is an interactive mode; also, it could be used as a command-line tool, similar to apt-get.
We can see this in action by simply entering the aptitude command without passing any option(s):
In the screen shown in the preceding screenshot, we can interact by using our keyboard or mouse to navigate. At the top, there is a menu. We can select Actions from the menu and here we will see the available options:
We can also go directly to Package from the menu and see options similar to doing package management from the command line:
As we can see, aptitude is very intuitive when we use this method for package management.
We can also manage packages using the command line. This would require us to pass options with the aptitude command, if we prefer typing commands over a menu type of environment. The aptitude command supports most of the options that we would pass with the apt-get command. Let's start with the search option:
- PowerShell 3.0 Advanced Administration Handbook
- 實時流計算系統設計與實現
- 程序設計缺陷分析與實踐
- 機器學習與大數據技術
- STM32G4入門與電機控制實戰:基于X-CUBE-MCSDK的無刷直流電機與永磁同步電機控制實現
- 可編程控制器技術應用(西門子S7系列)
- 水晶石精粹:3ds max & ZBrush三維數字靜幀藝術
- 傳感器與物聯網技術
- Building a BeagleBone Black Super Cluster
- 電氣控制與PLC原理及應用(歐姆龍機型)
- 大數據案例精析
- Excel 2007終極技巧金典
- 電腦故障排除與維護終極技巧金典
- 玩轉機器人:基于Proteus的電路原理仿真(移動視頻版)
- ASP.NET學習手冊