代码: 全选
#!/bin/bash
####################################################################
##this is a script for ubuntu new users to install everyting they
##need for daily use, enjoy!
##--by levi
####################################################################
sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
## use ustc mirrors by default
echo "upgrading system"
sudo apt -y update && sudo apt -y upgrade
sudo apt install -y p7zip p7zip-full p7zip-rar
sudo apt -y install gdebi smplayer
## install package manage tools gdebi open-source browser
##and video player smplayer...quite strange name
echo "downloading google chrome latest stable edition"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O /tmp/google-chrome-stable_current_amd64.deb
sudo dpkg -i /tmp/google-chrome-stable_current_amd64.deb
rm /tmp/google-chrome-stable_current_amd64.deb
sudo apt install -y preload
##make your system faster
cd ~/Downloads/
wget --continue http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office_10.1.0.5672~a21_amd64.deb
sudo dkpg -i wps-*.deb
sudo apt install -f
## install wps office suit for linux
wget --continue http://cdn2.ime.sogou.com/dl/index/1491565850/sogoupinyin_2.1.0.0086_amd64.deb?st=G3fCUYyXqzHaDlz3EJrxtQ&e=1500206864&fn=sogoupinyin_2.1.0.0086_amd64.deb
sudo dkpg -i sogoupinyin_2.1.0.0086_amd64.deb
sudo apt install -f
##install sougouoinyin input software, however, you still need to tweak it ##manually
echo "WARNING:"
echo "although sougouoinyin has already been installed,you still need to configure your input method manually"
sudo apt install -y deluge
## install the popular BT client
sudo apt-get install -y screenfetch
screenfetch
echo "all installations have done,enjoy!"
exit 0