#!/bin/bash # Script to load a standard set of programs for Precise Pangolin # Last updated 8th November 2015 echo 'This script will load my standard set of programs into Ubuntu 14.04 Trusty and Mint 17.x ' echo 'You should make sure you have enabled all the Repositories' echo 'INCLUDING the partners repository on Other Software if using Ubuntu' 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, System Profiler and Benchmark and Gdebi? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install synaptic gdebi hardinfo fi #echo 'Do you want to install Unity and Compiz Support utilities (compizconfig-settings-manager dconf-tools gconf-editor gnome-tweak-tool dos2unix) ? (y/n)' #read yn #if [ "$yn" = "y" ] ; #then #sudo apt-get install compizconfig-settings-manager dconf-tools gconf-editor gnome-tweak-tool dos2unix #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 7 support? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install openjdk-7-jre openjdk-7-jre openjdk-7-pluging fi echo 'Do you want to install applet support programs for NUMA and Multicore System Monitor? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gir1.2-gtop-2.0 vnstat vnstati zenity sox libsox-fmt-mp3 fi echo 'Do you want to install Sun Java 8 support instead or as well? This will install ppa:webup8team/java first so only do once. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:webup8team/java sudo apt-get update sudo apt-get install oracle-java8-installer oracle-java8-set-default oracle-java8-unlimited-jce-policy fi y echo 'Do you want to install y-ppa-manager? This will install ppa:webup8team/brackets first so only do once. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:webup8team/y-ppa-manager sudo apt-get update sudo apt-get install y-ppa-manager fi echo 'Do you want to install Brackets? This will install ppa:webup8team/brackets first so only do once. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:webup8team/brackets sudo apt-get update sudo apt-get install brackets fi echo 'Do you want to install Ravefinity? This will install ppa:ravefinity-project/ppa first so only do once. (y/n)' read yn if [ "$yn" = "y" ] ; then sudo add-apt-repository ppa:ravefinity-project/ppa sudo apt-get update sudo apt-get install ambiance-colors radiance-colors humanity-colors fi echo 'Do you want to install Media playing support? (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 ? (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 flash? (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install flashplugin-installer 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 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 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 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 GNU backgammon (y/n)' read yn if [ "$yn" = "y" ] ; then sudo apt-get install gnubg fi echo 'Hit return to finish' read