2013年11月9日 星期六

[Reinstall][Ubuntu] Computer reinstall && quick install the tool script at Ubuntu 13.04


[Reinstall][Ubuntu] Computer reinstall && quick install the tool script at Ubuntu 13.04



#/bin/bash

# apt-get --yes --force-yes install $something

# apt-get --yes install $something





Skype_source_list="deb http://download.skype.com/linux/repos/debian/ stable non-free"

Flash_source_list="deb http://tw.archive.ubuntu.com/ubuntu/ hardy-backports multiverse"



if `cat /etc/apt/sources.list.d/teles.list | grep "${Skype_source_list}" 1>/dev/null 2>&1`

then

  echo "Add it already"

else

  echo  deb http://download.skype.com/linux/repos/debian/ stable non-free | sudo tee -a /etc/apt/sources.list.d/teles.list

fi



if `cat /etc/apt/sources.list.d/teles.list | grep "${Flash_source_list}" 1>/dev/null 2>&1`

then

  echo "Add it already"

else

  echo  deb http://tw.archive.ubuntu.com/ubuntu/ hardy-backports multiverse| sudo tee -a /etc/apt/sources.list.d/teles.list

fi



sudo add-apt-repository ppa:ubuntu-wine/ppa

sudo apt-get update



sudo apt-get --yes --force-yes install tftp-hpa

sudo apt-get --yes --force-yes install skype

sudo apt-get --yes --force-yes install vim

sudo apt-get --yes --force-yes install geany

sudo apt-get --yes --force-yes install cvs

sudo apt-get --yes --force-yes install minicom

sudo apt-get --yes --force-yes install xdotool

sudo apt-get --yes --force-yes install vlc

sudo apt-get --yes --force-yes install openssh-server


Related Posts:

0 意見:

張貼留言