sudo免密码:

1
2
3
4
sudo EDITOR=nano visudo
#在文件最后一行添加:
#username ALL=(ALL) NOPASSWD: ALL
sudo usermod -aG root username

升级软件包:

1
sudo pacman -Syu

添加中文社区仓库:
在 /etc/pacman.conf 文件末尾添加:

1
2
3
4
[archlinuxcn]
#The Chinese Arch Linux communities packages.
SigLevel = Optional TrustedOnly
Server = http://repo.archlinuxcn.org/$arch

添加AUR支持:

1
sudo pacman -S yaourt

安装fcitx:

1
sudo pacman -S fcitx enchant fcitx-googlepinyin fcitx-im kcm-fcitx

配置fcitx:
将以下内容添加到用户目录里.xprofile文件中,注册输入法模块:

1
2
3
4
5
6
export LC_ALL=zh_CN.UTF-8
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

安装浏览器:

1
yaourt chrome

安装OpenConnect扩展:

1
sudo pacman -S openconnect networkmanager-openconnect

安装ProxyChains:
终端代理工具,配合SS使用

1
sudo pacman -S proxychains

安装完后编辑 /etc/proxychains.conf 文件,将最后一行的代理地址填写成你实际的,比如Shadowsocks的socks5 127.0.0.1 1080,使用的话就是在命令前加上 proxychains 比如 proxychains wget http://xxx.com/xxx.zip 即可。

更换Office软件:
卸载:

1
sudo pacman -Rsc libreoffice-still

安装WPS Office:

1
yaourt wps-office

安装VMware Workstation:
安装依赖项:

1
2
3
sudo pacman -S fuse gtkmm linux-headers
gpg --keyserver pgp.mit.edu --recv-keys C52048C0C0748FEE227D47A2702353E0F7E48EDB
yaourt ncurses5-compat-libs

下载VMware Workstation 12 Pro:

1
2
wget https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-12.1.0-3272444.x86_64.bundle
chmod +x VMware-Workstation-Full-12.1.0-3272444.x86_64.bundle

开始安装:

1
sh VMware-edition-version.release.architecture.bundle

配置VMware Workstation:

1
2
3
yaourt vmware-systemd-services
systemctl start vmware.service
systemctl enable vmware.service

输入VMware Workstation 12 Pro许可密钥:

1
/usr/lib/vmware/bin/vmware-vmx-debug --new-sn 5A02H-AU243-TZJ49-GTC7K-3C61N

安装开发工具:

1
2
3
4
5
6
yaourt jdk
yaourt intellij-idea
yaourt android-studio
yaourt google-apps
yaourt pycharm
yaourt visual-studio

安装QQ轻聊版:

1
2
3
4
5
6
7
8
9
sudo pacman -S winetricks wine
sudo pacman -S wine-mono wine_gecko wqy-microhei
mkdir ~/wineinstaller
cd ~/wineinstaller
git clone https://github.com/hillwoodroc/winetricks-zh.git
sudo cp winetricks-zh/winetricks-zh /usr/bin/
sudo chmod +x /usr/bin/winetricks-zh
WINEARCH=win32 winetricks-zh winetricks-zh/verb/qqlight.verb
WINEARCH=win32 winetricks --isolate winetricks-zh/verb/qqlight.verb