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

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.

主站蜘蛛池模板: 阳原县| 金沙县| 丹寨县| 明光市| 盐津县| 肥西县| 商城县| 图木舒克市| 长岭县| 城步| 萍乡市| 洛宁县| 都安| 大田县| 寿宁县| 南开区| 大足县| 紫云| 贺州市| 义乌市| 宜城市| 彭州市| 江永县| 中卫市| 如东县| 康定县| 衡水市| 郧西县| 宁海县| 资中县| 兰考县| 肇东市| 陇川县| 交口县| 扎赉特旗| 兰西县| 宝坻区| 达拉特旗| 巴里| 赣榆县| 鹿邑县|