Things Ubuntu forgot

I have had to install Ubuntu on a couple of machines and every time I do, I find somethings that I forgot to install. Of course, Ubuntu doesn’t come with all the codecs you need or DVD playback so I have written a little script that installs everything I need.  I have found most of the info all over the web and just put it into one script that I run post install. The script installs all the codecs I use and a lot of the programs I like.
#ubuntu 9.10 add ons for playing anything

#add repos
sudo wget –output-document=/etc/apt/sources.list.d/full.list

#add keys
sudo apt-key adv –recv-keys –keyserver 2EBC26B60C5A2783 0DA7581859566E92 D739676F7613768D 43BB102C405A15CB 6AF0E1940624A220 2ED6BB6042C24D89 632D16BB0C713DA6 A6DCF7707EBC211F F9A2F76A9D1A0061 5A9BF3BB4E5E17B5 A040830F7FAC5991 FA3A1271 7FB8BEE0A1F196A8 0CC1223EE2314809 7889D725DA6DEEAA 28A8205077558DD0 2D79F61BE8D31A30 6E871C4A881574DE 66D5C734F6EFB904 DCF9F87B6DFBCBAE 2A8E3034D018A4CE F0876AC9 978228591BD3A65C 6298AD34413576CB FC6D7D9D009ED615 4FEC45DD06899068 2A423FD95416E75D

#update system before new addiotns are made
sudo apt-get -y update && sudo apt-get -y upgrade

#Installing vlc and mplayer (plays almost everything):
sudo apt-get -y install vlc mplayer

#Common codec packs
sudo apt-get -y install non-free-codecs libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert mozilla-helix-player helix-player libmad0 libjpeg-progs libmpcdec3 libquicktime1 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev

#Gstreammer 0.10
sudo apt-get -y install gstreamer0.10-ffmpeg gstreamer0.10-fluendo-mp3 gstreamer0.10-gnonlin gstreamer0.10-pitfdll gstreamer0.10-sdl gstreamer0.10-plugins-bad-multiverse gstreamer0.10-schroedinger gstreamer0.10-plugins-ugly-multiverse totem-gstreamer

#More programs
sudo apt-get -y install gstreamer-dbus-media-service gstreamer-tools ubuntu-restricted-extras

#Enable dvd support
sudo aptitude -y install libdvdcss2 && sudo /usr/share/doc/libdvdread4/./

#dvd ripping and encoding
sudo apt-get -y install kino handbrake audacity

#compiz config
sudo apt-get -y install compizconfig-settings-manager

sudo apt-get -y install gsfonts gsfonts-x11 flashplugin-nonfree

Or you can download the script here
Another thing I like to do is make sure all my Ubuntu installations have the same packages from machine to machine.
First you need to generate a package list file on your current machine.
dpkg –get-selections > selections.txt
Then move that file to the target machine with a jump drive or ssh or ftp or what ever way you can. Then run these commands on the target machine.
dpkg –set-selections < selections.txt
apt-get update
apt-get upgrade
That is all you have to do and both machines have the exact same packages on them.
Fell free to modify theses scripts as you like. They are just here for you to use or modify.

4 Responses to “Things Ubuntu forgot”

Leave a Reply

Get Adobe Flash player