#!/bin/bash # Script to load a standard set of programs for Lucid # Last updated 24th May 2010 echo 'This script will load my standard set of programs into Ubuntu Lucid Lynx' echo 'You should make sure you have enabled all the Repositories' echo 'INCLUDING the partners repository on Other Software' echo 'and closed Software Sources - Confirm before proceeding (y or Ctrl C to exit)' read yn echo ' The Medibuntu repository should only be installed once' echo 'Do you want to install the Medibuntu Repository? (y/n)' read yn if [ "$yn" = "y" ] ; then echo 'Loading Medibuntu' sudo 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 fi echo 'Do you want to load latest Linux headers? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install linux-headers-`uname -r` fi echo 'Do you want to load driver building utilities? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install build-essential subversion compizconfig-settings-manager alien fi echo 'Do you want to install the Partition Manager? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gparted fi echo 'Do you want to install the Start Up Manager? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install startupmanager fi echo 'Do you want to install Thunderbird? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install thunderbird fi echo 'Do you want to install Samba? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install samba system-config-samba fi echo 'Do you want to install Wine and Associated fonts etc (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install wine ttf-mscorefonts-installer fi echo 'Do you want to install Sun Java 6 support? You must enable the Ubuntu Partner Repository first. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-plugin fi echo 'Do you want to install Media support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install w32codecs and ubuntu-restricted-extras fi echo 'Do you want to install DVD support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gxine and libxine1-all-plugins xine-ui libdvdcss2 libdvdread4 libdvdnav4 fi echo 'Do you want to install UDF CD support for Windoz compatibility? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install libudf0 libudf-dev udftools fi echo 'Do you want to install gimp? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gimp gimp-help-en pandora fi echo 'Do you want to install Java support to Open Office for Grammar Checker etc? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install openoffice.org-java-common fi echo 'Do you want to install Adobe Acrobat reader, Acrobat font support and Flash support? You must enable the Ubuntu Partner Repository first. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install acroread acroread-fonts adobe-flashplugin fi echo 'Do you want to install the K3b CD/DVD writer support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install k3b libk3b6-extracodecs fi echo 'Do you want to install Unison support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install unison-gtk ssh winbind fi echo 'Do you want to install Gnome-PPP and the Netspeed Applet? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gnome-ppp netspeed fi echo 'Do you want to install Cheese? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install cheese fi echo 'Do you want to install Web Support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install kompozer gftp-gtk fi echo 'Do you want to install Google Earth? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install googleearth fi echo 'Do you want to install Trash Command Line Support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install trash-cli fi echo 'Do you want to install Phone/Dongle SMS Support including Wammu PPA? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:nijel/ppa && sudo apt-get update sudo apt-get install gnokii xgnokii gnome-phone-manager wammu fi echo 'Do you want to install extra themes (50Mbyte)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gnome-themes gnome-themes-extras gnome-themes-more humanity-icon-theme tango-icon-theme tango-icon-theme-extras human-theme tango-icon-theme-common tangerine-icon-theme fi echo 'Do you want to install scanner support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install sane sane-utils xsane alien fi echo 'Do you want to install Synaptic Touchpad Support (laptops only)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gsysnaptics fi echo 'Do you want to install Mouseemu touchpad support (Wind only)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install mouseemu fi echo 'Hit return to finish' read