升级系统,删除libreoffice open-vm-tools,安装wps 搜狗输入法,有道

随手写了一个傻瓜sh脚本,为了是重置系统后方便搞一下,大家可以填充,一起完善

echo "upgrade system! "

sudo apt update && apt upgrade -y && sudo  apt dist-upgrade -y && sudo apt autoremove -y

echo "remove app"

apt remove libreoffice* open-vm-toos && apt autoremove -y

echo "install wps sogoupinyin youdao " 

mkdir -p /home/app

cd /home/app
#使用deepin的源

wget http://mirrors.ustc.edu.cn/debian/pool/main/libp/libpng/libpng12-0_1.2.49-1+deb7u2_amd64.deb && wget https://mirrors.tuna.tsinghua.edu.cn/deepin/pool/non-free/w/wps-office/wps-office_10.1.0.6118deepin_amd64.deb && wget https://mirrors.tuna.tsinghua.edu.cn/deepin/pool/non-free/y/youdao-dict/youdao-dict-dbgsym_1.0.7~b2_amd64.deb && wget https://mirrors.tuna.tsinghua.edu.cn/deepin/pool/non-free/y/youdao-dict/youdao-dict_1.0.7~b2_amd64.deb && wget https://mirrors.tuna.tsinghua.edu.cn/deepin/pool/non-free/s/sogoupinyin/sogoupinyin_2.2.0.0100_amd64.deb

dkpk -i *

apt install -f 

echo "it’s ok !"

rm -rf /home/app

exit
3 个赞

还行,可以一起维护一个脚本


服务器资源由ZeptoVM赞助

Partners Wiki Discord