Wibbly Stuff

Make Your Ubuntu Faster!

As you would probably know that I'm a Linux Mint user if you visit my blog regularly. Recently, I was starting to feel that my Mint was a little bit slower on my old hardware. So I dug the web to find out what can I do. In the past I had tried elementaryOS and is was quite snappy. So I researched about the packages removed from elementaryOS. I got the ebuild script used to convert a Ubuntu 11.10 (Oneiric Ocelot) ISO images to elementaryOS Luna ISO images. I dug the script and finally I came up with my own script which I want to share with you. I will post the various almost never used packages you can safely remove. These may vary depending on the packages you use. But they should be ok for most home users. By removing the unused packages, you prevent running of the services you don't use, thus making the system faster.

I initially made this for my Linux Mint setup, but it can be also used for Ubuntu. I recommend to run these commands right after installation of Mint/Ubuntu before installing any software and system update to avoid removal of any packages you have installed. Just open the terminal and execute the following command.

# Remove Unnecessary Packages and Games
sudo apt-get -y -f purge aisleriot apport apport-gtk apport-symptoms aspell aspell-en at at-spi avahi-utils baobab bluez-alsa bogofilter bogofilter-bdb bogofilter-common brltty brltty-x11 busybox-static byobu checkbox checkbox-gtk computer-janitor computer-janitor-gtk couchdb-bin cpu-checker dc desktopcouch dnsmasq-base dnsutils doc-base ed erlang-base erlang-base-hipe erlang-inets erlang-mnesia erlang-public-key erlang-runtime-tools erlang-ssl erlang-syntax-tools erlang-xmerl espeak espeak-data gbrainy gdb geoip-database ghostscript-x gnome-accessibility-themes gnome-dictionary gnome-games-common gnome-mahjongg gnome-nettool gnome-orca gnome-sudoku gnome-mag gnome-search-tool gnome-system-log gnome-themes-selected gnomine gstreamer0.10-pitfdll gvfs-fuse guile-1.8-libs ibus-pinyin ibus-pinyin-db-android intel-gpu-tools iptables iputils-tracepath kerneloops-daemon launchpad-integration libavahi-gobject0 libdotconf1.0 libelf1 libfolks-telepathy22 libfs6 libgadu3 libgail-gnome-module libgconfmm-2.6-1c2 libgd2-xpm libgdict-1.0-6 libglademm-2.4-1c2a libgnome-mag2 libgraph4 libgtk-vnc-1.0-0 libiptcdata0 libmp4v2-0 libnfnetlink0 libopencc1 libpst4 libspeechd2 libtagc0 libtelepathy-farsight0 libutempter0 libxp6 lftp lksctp-tools lm-sensors logrotate ltrace lsof manpages manpages-dev memtest86+ mono-csharp-shell mono-gmcs mousetweaks mtr-tiny myspell-en-au myspell-en-gb myspell-en-za nano netcat-openbsd ntpdate onboard popularity-contest protobuf-compiler pulseaudio-esound-compat quadrapassel rdesktop rsyslog sane-utils screen screensaver-default-images speech-dispatcher ssh-askpass-gnome strace tcl tcpd tcpdump telepathy-logger telepathy-salut telnet time toshset ufw vbetool vino w3m wamerican wbritish x-ttcidfont-conf x11-apps x11-session-utils x11-xfs-utils xbitmaps xfonts-100dpi xfonts-75dpi xfonts-base xfonts-encodings xfonts-mathml xfonts-scalable xfonts-utils xinit xinput xorg xorg-docs-core xscreensaver-data xscreensaver-gl xterm
# Remove font packages
sudo apt-get -y -f purge ttf-dejavu-core ttf-indic-fonts-core ttf-kacst-one ttf-khmeros-core ttf-lao ttf-punjabi-fonts ttf-takao-pgothic ttf-thai-tlwg ttf-unfonts-core ttf-wqy-microhei
# Install the ttf-unifont package which works better
sudo apt-get -y -f install ttf-unifont

And that's it. now install all those stuff you need to install. Here is what I do usually,

# Remove Unity and Ubuntu One
sudo apt-get -y -f purge gir1.2-soup-2.4 gir1.2-unity-3.0 libnux-0.9-0 libunity-misc0 python-ubuntuone-client python-ubuntuone-control-panel python-ubuntuone-storageprotocol ubuntuone-client ubuntuone-client-gnome ubuntuone-control-panel ubuntuone-control-panel-gtk unity-asset-pool unity-common unity-place-applications unity-place-files
# Remove Misc Suff
sudo apt-get -y -f purge brasero brasero-cdrkit brasero-common gthumb gthumb-data libbrasero-media1 libburn4 libisofs6 liboil0.3 libquvi0 libsyncdaemon-1.0-1 libtotem-plparser17 tomboy totem totem-common totem-mozilla totem-plugins
# Add Some Repositories
sudo add-apt-repository ppa:docky-core/stable
sudo apt-add-repository ppa:elementaryart/elementarydesktop
sudo add-apt-repository ppa:tiheum/equinox
sudo add-apt-repository ppa:ferramroberto/gimp
sudo add-apt-repository ppa:hel-sheep/pastie
sudo apt-add-repository ppa:tualatrix/ppa
sudo add-apt-repository ppa:n-muench/vlc
sudo apt-add-repository ppa:nilarimogard/webupd8
sudo add-apt-repository ppa:synapse-core/ppa
# Update Software Sources
sudo apt-get -y -f update
# Upgrade System
sudo apt-get -y -f dist-upgrade
# Install Needed Packages and Codecs
sudo apt-get -y -f install aptoncd aria2 axel bleachbit cheese dexter ejecter elementary-theme elementary-icon-theme equinox-theme faenza-extras faenza-icons-mono faenza-icon-theme gimp gimp-gmic gmic gloobus-preview gnome-disk-utility gnomebaker gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse indicator-applet-complete libavcodec-extra-52 libavutil-extra-50 libcdaudio1 libcelt0-0 libflite1 libgme0 libid3tag0 libmimic0 libmjpegtools-1.9 libmms0 libofa0 libopencore-amrnb0 libopencore-amrwb0 libopenjpeg2 libopenspc0 libquicktime1 librtmp0 libsidplay1 libwildmidi1 libzbar0 lzma mozilla-plugin-vlc p7zip p7zip-full p7zip-rar pastie pitivi shotwell synapse tasque ubuntu-tweak unarchiver unrar vlc youtube-dl
# Remove Obsolete Packages
sudo apt-get -y -f --purge autoremove

Note that I had made the script for myself and everything is according to my preferences. You should modify it according to your needs before using it.