Skip to content

Instantly share code, notes, and snippets.

@simonlynen
Created March 27, 2013 13:17
Show Gist options
  • Save simonlynen/5254079 to your computer and use it in GitHub Desktop.
Save simonlynen/5254079 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
# It's a reference about what to do after freshly installing Ubuntu 12.04 desktop amd64.
# It's MY note and it suit me.
# Though I note the process down here as a ".sh" file,
# you SHOULD check it first or copy-and-paste the useful sections into your terminal
# to ensure the availability.
# I am NOT GUARANTEE the availability of this file (note)
# or I am not responsible for your lost if you follow this note.
# It's for amd64 only, not i386, though most of the codes should meet no problems in i386.
# It's for desktop edition only, not server edition,
# though some of the codes should meet no problems in server edition.
set -e
sudo apt-get update
sudo apt-get remove -y evolution-common totem-common f-spot tomboy computer-janitor gnome-orca gnome-pilot vino vinagre gnome-accessibility-themes gnome-doc-utils gcalctool gucharmap
sudo apt-get remove -y ubuntuone-client #u1sdtool # they cost high memory and it seems that I don't need them
sudo apt-get remove -y whoopsie # it costs lots of memory and it seems to be an error checker
# some development tools, they work in server edition as well
sudo apt-get install -y bash-completion nano vim ctags vim-doc vim-scripts screen byobu sysv-rc-conf pptpd zsh
sudo apt-get install -y wget curl iptables git-core axel git-flow
sudo apt-get install -y bzip2 unzip unrar p7zip p7zip-rar p7zip-full
sudo apt-get install -y perl python python-dev sqlite sqlite3 openssl lynx htop
sudo apt-get install -y gcc g++ make autoconf automake patch gdb libtool cpp build-essential libc6-dev libncurses-dev expat psmisc libxml2 libxml2-dev libpcre3-dev libssl-dev libevent-dev libev-dev
sudo apt-get install -y tree nautilus-open-terminal gufw ubiquity-frontend-gtk geany
mkdir pydev
cd pydev
curl http://python-distribute.org/distribute_setup.py | sudo python
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
sudo pip install -U virtualenv
cd ..
sudo rm -rf pydev
# media
sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
sudo apt-get --quiet update
sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring
sudo apt-get --quiet update
sudo apt-get install -y app-install-data-medibuntu apport-hooks-medibuntu
sudo apt-get install -y mplayer smplayer w64codecs libdvdcss2 gnome-colors shiki-colors #arc-colors
# doc
sudo apt-get install -y poppler-data rtorrent openvpn ttf-wqy-microhei ttf-wqy-zenhei ibus-sunpinyin
sudo add-apt-repository -y ppa:fcitx-team/nightly
sudo apt-get update
sudo apt-get install fcitx fcitx-googlepinyin fcitx-tools
# desktop tweak
sudo add-apt-repository -y ppa:tualatrix/ppa
sudo add-apt-repository -y ppa:gnome3-team/gnome3
sudo add-apt-repository -y ppa:webupd8team/gnome3
sudo cat>/etc/apt/sources.list.d/google-chrome.list<<END
deb http://dl.google.com/linux/deb/ stable main
END
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install -y ubuntu-tweak
sudo apt-get install -y gnome-shell gnome-tweak-tool gnome-shell-extensions
sudo apt-get install -y google-chrome-unstable
# fprint
sudo add-apt-repository ppa:fingerprint/fprint
sudo apt-get update
sudo apt-get install libfprint0 fprint-demo libpam-fprintd gksu-polkit
# go to “System Settings” -> “User Accounts” -> “Fingerprint Login” to config
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment