官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 广德县| 泌阳县| 武邑县| 丰台区| 田林县| 新乐市| 邵武市| 沙雅县| 交城县| 吴江市| 得荣县| 平安县| 北安市| 获嘉县| 嘉黎县| 古浪县| 师宗县| 丰原市| 建昌县| 西乌珠穆沁旗| 永州市| 西青区| 临城县| 昌平区| 朝阳区| 京山县| 固阳县| 盐津县| 会昌县| 宁夏| 安化县| 慈利县| 介休市| 云龙县| 永丰县| 洛隆县| 祁连县| 龙井市| 孟州市| 深圳市| 怀仁县|