1. Synchronize local packets with remote packets
sudo pacman -Syy
By default, manjaro does not synchronize data packets, that is to say, at this time, you pacman -S pack_name
will report an error that the data packet cannot be found ( warning: database file for 'core' does not exist
...)
2. Install vim
vim is undoubtedly one of the best editors under linux. In order to facilitate us to modify the configuration file later, we can install this software first
sudo pacman -S vim
If we do not perform the first step, the direct installation at this time will report an error
3. Add archlinxCN source
Edit the file with vim /etc/pacman.conf
( sudo vim /etc/pacman.conf
) and add the following lines at the bottom of the file:
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server =https://mirrors.ustc.edu.cn/archlinuxcn/$arch
After modifying the configuration file, execute the following command:
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
4. Install ZSH
ZSH can be said to be the best in the shell. It has too many advantages, so I will not write them out one by one. Interested students can read this article and know that - why is zsh the best in the shell?
We first install git, because we need git when we bring back the configuration
sudo pacman -S git
Then install zsh
sudo pacman -S zsh
Then configure oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Change the default shell
chsh -s /bin/zsha
Ok, zsh has been installed
5. Install Sogou input method
We install the Sogou input method based on fcitx
sudo pacman -S fcitx-sogoupinyin
sudo pacman -S fcitx-im # 全部安装
sudo pacman -S fcitx-configtool # 图形化配置工具
Set the Chinese input method environment variable, edit the ~/.xprofile file, and add the following lines (if the file does not exist, create a new one)
exportGTK_IM_MODULE=fcitx
exportQT_IM_MODULE=fcitx
exportXMODIFIERS="@im=fcitx"
After the saving is successful, after entering fcitx in the terminal to start the service, a keyboard tray icon will be added, right-click the icon, open the configuration tool, and add the sogoupinyin input method in the input method column.
It can be used normally after restarting.
6. Common software installation
- Google Chrome (sudo pacman -S chromium)
- Netease Cloud Music (sudo pacman -S netease-cloud-music)
I won't say much about other software, you can find it on AUR by yourself .