Penguin
Note: You are viewing an old revision of this page. View the current version.

This is a copy of the script we ran on users PC's after they had finished installing Ubuntu at the WLUG InstallFest

#!/bin/bash
echo Updating /etc/apt/sources.list
cat >/etc/apt/sources.list <<EOF
deb http://nz.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://nz.archive.ubuntu.com/ubuntu hoary main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://nz.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://nz.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://nz.archive.ubuntu.com/ubuntu hoary universe multiverse
deb-src http://nz.archive.ubuntu.com/ubuntu hoary universe multiverse

deb http://security.ubuntu.com/ubuntu hoary-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted universe

# win32 codecs
deb http://ftp.nerim.net/debian-marillat/ stable main
deb http://ftp.nerim.net/debian-marillat/ unstable main
deb http://ftp.nerim.net/debian-marillat/ testing main

# java
deb http://ubuntu.tower-net.de/ubuntu/ hoary java
EOF

echo Updating /etc/apt/preferences
cat >/etc/apt/preferences <<EOF
Package: *
Pin: release o=Christian Marillat
Pin-Priority: 1
EOF

echo Fetching keys
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 1F41B907
gpg --armor --export 1F41B907 | sudo apt-key add -

echo Updating package list
sudo apt-get update

echo installing packages
sudo apt-get install \
        flashplayer-mozilla \
        sun-j2re1.5 \
        f-spot tomboy \
        gstreamer0.8-mad gstreamer0.8-ffmpeg w32codecs libdvdcss2 \
        msttcorefonts \
        acroread=7.0-0sarge0.9 mozilla-acroread \
        gnomebaker