2012年6月10日 星期日

[Reinstall][Ubuntu] Computer reinstall && quick install the tool script at Ubuntu 10.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

# install Adobe Reader
sudo apt-add-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
sudo apt-get --yes --force-yes update
  • sudo apt-get --yes --force-yes install git-core
  • sudo apt-get --yes --force-yes install ibus-table-cangjie ibus ibus-qt4 ibus-gtk
  • sudo apt-get --yes --force-yes install tftp-hpa tftpd-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 ghex
  • sudo apt-get --yes --force-yes install ack-grep
  • sudo apt-get --yes --force-yes install minicom
  • sudo apt-get --yes --force-yes install xdotool
  • sudo apt-get --yes --force-yes install meld
  • sudo apt-get --yes --force-yes install flashplugin-installer # For Flashplayer
  • sudo apt-get --yes --force-yes install wireshark
  • sudo apt-get --yes --force-yes install xournal
  • sudo apt-get --yes --force-yes install kate
  • sudo apt-get --yes --force-yes install openssh-server
  • sudo apt-get --yes --force-yes install kolourpaint4
  • sudo apt-get --yes --force-yes install flashplugin-nonfree
  • sudo apt-get --yes --force-yes install wine1.3
  • sudo apt-get --yes --force-yes install acroread
  • Latex
    • sudo apt-get --yes --force-yes install texlive-xetex
    • sudo apt-get --yes --force-yes install latex-cjk-all
    • sudo apt-get --yes --force-yes install texlive
    • sudo apt-get --yes --force-yes install texlive-publishers
    • sudo apt-get --yes --force-yes install texmaker
  • VLC
    • sudo add-apt-repository ppa:lucid-bleed/ppa
    • sudo apt-get --yes --force-yes update
    • sudo apt-get --yes --force-yes install vlc vlc-plugin-pulse mozilla-plugin-vlc
  • take picture
    • sudo apt-get --yes --force-yes install shutter

Reference:

0 意見:

張貼留言