Description of the/var/cache/apt/archives folder in the main ubuntu version-system cleanup

Source: Internet
Author: User

/*************************************** ******************************
* Author: Samson
* Date: 03/01/2014
* Test platform:
* Linux ubuntu 3.2.0-58-generic-pae
* GNU bash, version 4.2.39
**************************************** ****************************/

Files in the/var/cache/apt/archives folder are the installation files downloaded when sudo apt-get install appname is used. These files can be cleaned up. If your system space is insufficient, we can think of cleaning up and getting space. Files in my PC are as follows:

/Var/cache/apt/archives $ ls


Acct_6.5.5-1ubuntu4_amd64.deb libnss3-tools_2 % 3a3. 15.4-01_tu0. 13.10.1 _ amd64.deb
Aptdaemon_1.1.1-0ubuntu4_all.deb libntrack0_016-1.1_amd64.deb
Aptdaemon-data_1.1.1-0ubuntu4_all.deb libntrack-qt4-1_016-1.1_amd64.deb
At-spi2-core_2.10.1-0ubuntu0.1_amd64.deb libodbc1_2.2.14p2-5ubuntu4_i386.deb
Avahi-autoipd_0.6.31-2ubuntu4.1_amd64.deb libogg0_1.3.1-1_i386.deb
Avahi-daemon_0.6.31-2ubuntu4.1_amd64.deb libopenal1_1 % 3a1. 14-4ubuntu=i386.deb
Avahi-utils_0.6.31-2ubuntu4.1_amd64.deb libopencc1_0.4.0-1_amd64.deb
Bind9-host_1 % 3a9. 9.3.dfsg.P2-4ubuntu1. g0amd64.deb liborc-0.4-0_1 % 3a0. 4.17-2_i386.deb
Bluez-alsa_4.101-0ubuntu8b1_i386.deb libotf0_0.9.13-1_amd64.deb
Cpp-4.8_4.8.1-10ubuntu9_amd64.deb libp11-kit0_0.18.3-2ubuntu1_i386.deb
Cups_1.7.0 ~ Rc1-0ubuntu5.1_amd64.deb libpam0g_1.1.3-8ubuntu3_i386.deb
Cups_1.7.0 ~ Rc1-0ubuntu5.2_amd64.deb libpam-gnome-keyring_3.8.2-0ubuntu3.1_amd64.deb
Cups-bsd_1.7.0 ~ Rc1-0ubuntu5.1_amd64.deb libpam-winbind_2 % 3a3. 6.18-1ubuntu3. g0i386.deb
Cups-bsd_1.7.0 ~ Rc1-0ubuntu5.2_amd64.deb libpango-1.0-0_1.32.5-5ubuntu1_i386.deb
Cups-client_1.7.0 ~ Rc1-0ubuntu5.1_amd64.deb libpango1.0-0_1.32.5-5ubuntu=i386.deb
Cups-client_1.7.0 ~ Rc1-0ubuntu5.2_amd64.deb libpangocairo-1.0-0_1.32.5-5ubuntu1_i386.deb
Cups-common_1.7.0 ~ Rc1-0ubuntu5.1_all.deb libpangoft2-1.0-0_1.32.5-5ubuntu1_i386.deb
Cups-common_1.7.0 ~ Rc1-0ubuntu5.2_all.deb libpangox-1.0-0_0.0.2-4_i386.deb
Cups-daemon_1.7.0 ~ Rc1-0ubuntu5.1_amd64.deb libpangoxft-1.0-0_1.32.5-5ubuntu1_i386.deb
Cups-daemon_1.7.0 ~ Rc1-0ubuntu5.2_amd64.deb libpciaccess0_0.13.2-1_i386.deb
Cups-ppdc_1.7.0 ~ Rc1-0ubuntu5.2_amd64.deb libpcre3_1 % 3a8. 31-2_i386.deb
Cups-server-common_1.7.0 ~ Rc1-0ubuntu5.1_all.deb libphon4_4 % 3a4. 7.0really4.6.0-0ubuntu2_amd64.deb
Cups-server-common_1.7.0 ~ Rc1-0ubuntu5.2_all.deb libpinyin2_0.8.0-2_amd64.deb
Desktop-file-utils_0.21-1ubuntu3_amd64.deb libpixman-1-0_0.30.2-1ubuntu0.1_amd64.deb
Dnsutils_1 % 3a9. 9.3.dfsg.P2-4ubuntu1. g0amd64.deb libpixman-1-0_0.30.2-1ubuntu0.1_i386.deb
Docbook-xsl_1.78.1 + dfsg-1_all.deb libplasma3_4 % 3a4. 11.3-0ubuntu0. g0amd64.deb
Duplicity_0.6.21-0ubuntu4.1_amd64.deb libplasma3_4 % 3a4. 11.5-0ubuntu0. g0amd64.deb
Enigmail_2 % 3a1. 5.2-0ubuntu1_amd64.deb libpng12-0_1.2.49-4ubuntu1_i386.deb
Eog_3.8.2-1ubuntu1.1_amd64.deb libpolkit-qt-1-1_0.103.0-1ubuntu1_amd64.deb
Esound-common_0.2.41-11_all.deb libpoppler-qt4-4_0.24.1-0ubuntu1_amd64.deb
Espeak-data_1.47.11-1ubuntu0.1_amd64.deb libpostproc52_6 % 3a0. 8.10-0ubuntu0. 13.10.1 _ amd64.deb
Fbterm_1.7-2_amd64.deb libprocps0_1 % 3a3. 3.3-2ubuntu9_amd64.deb
Libproxy1_0.4.11-0ubuntu4_i386.deb fcitx_1 % 3a4. 2.8.1-3_all.deb
Fcitx-anthy_0.2.0-1_amd64.deb libpulse0_1 % 3a4. 0-0ubuntu6_i386.deb
Fcitx-bin_1 % 3a4. 2.8.1-3_amd64.deb libpulsedsp_1 % 3a4. 0-0ubuntu6_i386.deb
Fcitx-chewing_0.2.1-1_amd64.deb libpulse-mainloop-glib0_1 % 3a4. 0-01_tu6_i386.deb
Fcitx-config-common_0.4.7-1_all.deb libpurple0_1 % 3a2. 10.7-0ubuntu4. 1.13.10.1 _ amd64.deb
Fcitx-config-gtk_0.4.7-1_amd64.deb libpurple-bin_1 % 3a2. 10.7-0ubuntu4. 1.13.10.1 _ all. deb
Fcitx-config-gtk2_0.4.7-1_amd64.deb libqapt2_2.0.65-0ubuntu1_amd64.deb
Fcitx-data_1 % 3a4. 2.8.1-3_all.deb libqapt2-runtime_2.0.65-0ubuntu1_amd64.deb
Fcitx-dbg_1 % 3a4. 2.8.1-3_amd64.deb libqca2_2.0.3-4_amd64.deb
Fcitx-frontend-all_1 % 3a4. 2.8.1-3_all.deb libqt4-dbus_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_amd64.deb
Fcitx-frontend-fbterm_0.2.0-2_amd64.deb libqt4-dbus_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_i386.deb
Fcitx-frontend-gtk2_1 % 3a4. 2.8.1-3_amd64.deb libqt4-declarative_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_amd64.deb
Fcitx-frontend-gtk3_1 % 3a4. 2.8.1-3_amd64.deb libqt4-declarative_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_i386.deb
Fcitx-frontend-qt4_1 % 3a4. 2.8.1-3_amd64.deb libqt4-designer_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_amd64.deb
Fcitx-frontend-qt5_0.1.1-1_amd64.deb libqt4-designer_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_i386.deb
Fcitx-googlepinyin_0.1.6-1_amd64.deb libqt4-help_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_amd64.deb
Fcitx-hangul_0.3.0-1_amd64.deb libqt4-network_4 % 3a4. 8.4 + dfsg-0ubuntu18.1_amd64.deb

The cleanup method is simple:

/Var/cache/apt/archives $ sudo apt-get clean

The *. deb file does not exist again.

/Var/cache/apt/archives $ ll
Total 28
Drwxr-xr-x 3 root 20480 February 28 20:04 ./
Drwxr-xr-x 3 root 4096 February 28 20:04 ../
-Rw-r ----- 1 root 0 January 15 06:54 lock
Drwxr-xr-x 2 root 4096 February 28 19:45 partial/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.