$ sudo apt-get purge gcc-4.6-base Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: qt-components-base-theme libwildmidi0 liblcms1 wireless-tools libgoocanvas-common libopenjpeg2 libvorbisenc2 ttf-bpg-georgian-fonts cpio libmpfr1ldbl libtvout-ctl patch libxinerama1 libmpc2 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: %a long list of packages% WARNING: The following essential packages will be removed. This should NOT be done unless you know exactly what you are doing! apt libgcc1 (due to apt) libstdc++6 (due to apt) dpkg perl-base (due to dpkg) e2fsprogs e2fslibs (due to e2fsprogs) libblkid1 (due to e2fsprogs) libuuid1 (due to e2fsprogs) grep-gnu 0 upgraded, 0 newly installed, 848 to remove and 2 not upgraded. After this operation, 990MB disk space will be freed. You are about to do something potentially harmful. To continue type in the phrase 'Yes, do as I say!' ?]