linux游戏脚本,ubuntu 新手一键配置脚本
該樓層疑似違規(guī)已被系統(tǒng)折疊?隱藏此樓查看此樓
在gayhub上看到有為linux mint寫(xiě)的腳本,但是感覺(jué)國(guó)內(nèi)還是用ubuntu的多一點(diǎn)
所以就寫(xiě)了這個(gè)腳本,發(fā)在這個(gè)神奇的游戲吧,希望能釣到新人哈哈
PS:本人新手,只是普通的linux桌面用戶,不是碼農(nóng),全靠自學(xué),大神輕噴:)
食用方法:
下載地址:https://pan.baidu.com/s/1jIA7Yfk
下載完成后打開(kāi)終端
輸入cd ~/Downloads/
輸入bash ubuntu-new-user.sh
會(huì)提示你輸一次root密碼
然后出現(xiàn)其他問(wèn)題都只要直接回車就好啦
下面是腳本內(nèi)容
#!/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
總結(jié)
以上是生活随笔為你收集整理的linux游戏脚本,ubuntu 新手一键配置脚本的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: linux 内核 死锁 检查,一种lin
- 下一篇: linux nohup 终端断了,lin