Setup Ubuntu Quickly and Easily [Ubuntu Assistant]
Purpose
I install fresh Ubuntu images on computers weekly and find it time consuming to manually update/upgrade Ubuntu, install third-party repositories and install extra, multimedia-oriented applications.
I posted my script for the first time publicly on Digg.com and due to its popularity, I decided to add a support thread for it on UbuntuForums.org (this site).
I have been developing this script that I call Ubuntu Assistant since July 2007. The more I use it, the more simple it gets and I plan to keep it that way. At one time it was so bloated, it actually had a installer, ran 'fixes' for specific Ubuntu versions and all sorts of other garbage it didn't need.
Nowadays, the script updates/upgrades Ubuntu, installs a couple third-party repositories (like Medibuntu & Wine) and installs a couple programs and libraries.
How does it work?
I don't have any skills with Python or GTK+ to make a proper front-end, so this is a simple BASH script (a program that can be ran from the terminal).
I advise you to run this script - once - after a fresh install of Ubuntu. It sets up everything that I (and hopefully you) will need.
This program is NOT like or similar to Ubuntu Tweak, Automatix or Ultamatix.
What does it do?
This script is completely open-source and I encourage you to modify it to your needs. The script has evolved from Hardy Heron 8.04 LTS to Lucid Lynx 10.04 LTS, so make sure to read the script to see what programs it installs but here is general list:
- Installs Wine, Medibuntu and some PPA repositories (so you can run Windows programs, play DVDs and get the latest and greatest of some software)
- Installs GetDeb and PlayDeb repositories
- Updates and upgrades your machine
- Installs all sorts of programs and libraries that the average media-centria user will use
- Downloads and installs some nice fonts I use
- Downloads and installs a Rhythmbox plugin called Jump to Playing
- Downloads and installs Elementary icons
- Changes your default theme (A lot of people may not like this, but I hate the default theme, so I hope you enjoy)
I am currently porting this program to PyGTK so it more like Ubuntu Tweak (so you can choose what changes get performed) but for now, unless you know how to edit bash scripts, you'll either just have to run my script, or don't.
Frequently Asked Questions [FAQ]
I don't like your defaults, what can I do?
EDIT IT!
I've set up the file so it can be easily modified. Delete any programs or libraries you do not want, such as:
or add to the list with programs you want installed by default:
banshee \
openarena \
virtualbox \
What do those backslashes mean?
The backslashes are in place for aesthetic reasons. They're there so I can place the program names on multiple lines, making it easier for humans to read. The backslash actually escapes the newline character, making the program only see the spaces between each program in the list.
I could make it like this:
Code:
sudo aptitude install acroread acroread-plugins agave alsa-oss cheese
but once you have 30 programs on one line, it can become overwhelming to edit.
What does it NOT do?
- Compile programs - it only uses the repositories
- Doesn't do much if you have 'multiverse' and/or 'restricted' repositories turned off. If you're an open-source zealot, the default install of Ubuntu with the 'free software only' option turned on works quite well, so you probably won't need my script anyway!
- Detect what version of Ubuntu you're using. I'm trying to keep this script as simple as possible and have it separated into different downloads, per release. If you're using Warty (4.10), than may God help us all.
- Scratch your back, do the laundry, etc.
Downloading
Running
You can either download the script from above or run this command to download and run the program.
All Versions:
Code:
wget --no-check-certificate http://brettalton.com/docs/ubuntu_assistant/`lsb_release -cs`.sh; chmod +x `lsb_release -cs`.sh; ./`lsb_release -cs`.sh
Enjoy! Criticism welcome!
Bookmarks