- CompTIA Linux+ Certification Guide
- Philip Inshanally
- 176字
- 2021-08-13 15:49:54
The autoremove option
Often, when we uninstall a package, there are some unnecessary packages which were initially installed in order for the specific package to function. These unneeded packages take up hard disk space; we could reclaim this space by using the autoremove option:
root@ubuntu:/tmp# apt-get autoremove virtaal
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'virtaal' is not installed, so not removed
The following packages will be REMOVED:
javascript-common libglade2-0 libjs-jquery libjs-sphinxdoc libjs-underscore libpq5 libtidy-0.99-0 python-babel python-babel-localedata
python-bs4 python-cairo python-chardet python-dateutil python-diff-match-patch python-egenix-mxdatetime python-egenix-mxtools
python-enchant python-gi python-glade2 python-gobject python-gobject-2 python-gtk2 python-html5lib python-iniparse python-levenshtein
python-lxml python-pkg-resources python-psycopg2 python-pycurl python-simplejson python-six python-tz python-utidylib python-vobject
python-xapian translate-toolkit
0 upgraded, 0 newly installed, 36 to remove and 5 not upgraded.
After this operation, 34.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 4 removed doc-base files...
root@ubuntu:/tmp#
Awesome! We can remove the package and its configuration by using the purge option.
推薦閱讀
- PPT,要你好看
- 玩轉智能機器人程小奔
- Mastering Spark for Data Science
- Circos Data Visualization How-to
- 手把手教你玩轉RPA:基于UiPath和Blue Prism
- 21天學通C++
- 工業機器人入門實用教程(KUKA機器人)
- CorelDRAW X4中文版平面設計50例
- iClone 4.31 3D Animation Beginner's Guide
- 大數據平臺異常檢測分析系統的若干關鍵技術研究
- Learning C for Arduino
- 西門子變頻器技術入門及實踐
- 網站前臺設計綜合實訓
- 項目實踐精解:C#核心技術應用開發
- FreeCAD [How-to]