#!/bin/bash # Script to load a standard set of programs for Precise Pangolin # Last updated 4th June 2012 echo 'This script will load my standard set of programs into Ubuntu 12.04 Precise Pangolin' 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 'Do you want to install the Synaptic Package Manager and Gdebi? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install synaptic gdebi fi echo 'Do you want to install the Synaptic Package Manager Indexer (only needed for Lubuntu)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install apt-xapian-index fi echo 'Do you want to install Unity and Compiz Support utilities (compizconfig-settings-manager dconf-tools gconf-editor gnome-tweak-tool dos2unix hardinfo) ? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install compizconfig-settings-manager dconf-tools gconf-editor gnome-tweak-tool dos2unix hardinfo fi echo 'Do you want to install the PPAs and tools for tweaking Ubuntu - ubuntu-tweak unsettings grub-customizer (Once only) ? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:diesch/testing sudo add-apt-repository ppa:tualatrix/ppa sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo apt-get update sudo apt-get install ubuntu-tweak unsettings grub-customizer fi echo 'Do you want to install gedit and nautilus (Only needed in Lubuntu and Xubuntu ) ? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gedit nautilus 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 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 Nautilus Preview (gnome-sushi)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gnome-sushi fi echo 'Do you want to install Samba? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install samba system-config-samba winbind fi echo 'Do you want to install Wine and Associated fonts? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install wine ttf-mscorefonts-installer fi echo 'Do you want to install Openjdj Java 6 support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install openjdk-6-jre fi echo 'Do you want to install Sun Java 6 support instead or as well? This will install ppa:ferramroberto/java first so only do once. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jdk sun-java6-plugin sun-java6-bin sun-java6-jre fi echo 'Do you want to install the Medibuntu Repository which is needed for libdvdcss2 and w32codecs (once only as a ppa) ? (y/n)' read yn if [ "$yn" = "y" ] ; then 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 install Media playing support - needs Medibuntu for codecs (Note - brings in nautilus if you are using Lubuntu)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install rhythmbox exaile w32codecs ubuntu-restricted-extras fi echo 'Do you want to install Rippers and MP3 support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install ripperx lame sound-juicer fi echo 'Do you want to install DVD support (needs medibuntu repository)? (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 f-spot photo manager? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install f-spot 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 LibreOffice for Grammar Checker etc? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install libreoffice.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 - not working in precise . (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 AppIndicator? Only once as a PPA is added with indicator-sysmonitor NOT CURRENTLY AVAILABE ON PRECISE (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:alexeftimie/ppa sudo apt-get update sudo apt-get install indicator-sysmonitor dstat gnome-ppp 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 gammu gnokii xgnokii gnome-phone-manager wammu fi echo 'Do you want to install extra themes - gnome-themes gnome-themes-extras gnome-themes-more humanity-icon-theme tango-icon-theme tango-icon-theme-extras human-theme tango-icon-theme-common ? (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 sudo apt-get install 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 TV support (Me-TV)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install me-tv w-scan fi echo 'Do you want to install TV support (Kaffein 50 Mbyte Download but good quality)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install kaffeine w-scan fi echo 'Do you want to install Zygrib Meterological GRIB file viewer? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install zygrib fi echo 'Do you want to install Synaptic Touchpad Support (laptops only)? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gpointing-device-settings 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 'Do you want to install GNU backgammon (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gnubg fi echo 'Hit return to finish' read