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

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.

主站蜘蛛池模板: 扎囊县| 武宁县| 淮安市| 孟津县| 德庆县| 德兴市| 云梦县| 教育| 西安市| 年辖:市辖区| 呼和浩特市| 齐河县| 多伦县| 台北市| 博兴县| 寿阳县| 温州市| 屯昌县| 浦江县| 蓝山县| 湟中县| 晋州市| 崇文区| 乌恰县| 龙里县| 镇坪县| 高雄县| 大连市| 常州市| 长宁区| 文登市| 罗田县| 进贤县| 普兰店市| 股票| 桂东县| 额尔古纳市| 博野县| 雷山县| 郧西县| 双辽市|