1. Synchronizing a local packet with a remote packet
sudo pacman -Syy
The default Manjaro is no synchronization packet, that is, this time you do pacman -S pack_name
not report the packet can not find the error ( warning: database file for ‘core‘ does not exist
...)
2. Install Vim
Vim is undoubtedly one of the best use of Linux under the editor, in order to make it easier for us to modify the configuration file, you can first install the software
sudo pacman -S vim
If we do not perform the first step, this time the direct installation will be an error
3. Add ARCHLINXCN Source
Using Vim /etc/pacman.conf
to edit the file ( sudo vim /etc/pacman.conf
), add the following lines at the bottom of the file:
[archlinuxcn]SigLevel = Optional TrustedOnlyServer =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. Installing zsh
Zsh can be said to be the best in the shell, its advantages are too many, I do not write each, interested students can read this article know-why say Zsh is the best in the shell
We'll install Git first, because we need to use 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)"
Replace the default shell
chsh -s /bin/zsha
All right, Zsh's installed.
5. Install Sogou Input Method
We install the Sogou input method based on FCITX
sudo pacman -S fcitx-sogoupinyinsudo pacman -S fcitx-im # 全部安装sudo pacman -S fcitx-configtool # 图形化配置工具
Set the Chinese Input Method environment variable, edit the ~/.xprofile file, add the following lines (if the file does not exist, new)
exportGTK_IM_MODULE=fcitxexportQT_IM_MODULE=fcitxexportXMODIFIERS="@im=fcitx"
After the successful saving, after the terminal input FCITX start the service, will add a keyboard tray icon, right click on the icon, open the Configuration tool, in the Input Method column to add Sogoupinyin Input method.
It can be used normally after a reboot.
6. Common Software Installation
- Google Chrome (sudo pacman-s chromium)
- NetEase Cloud Music (sudo pacman-s netease-cloud-music)
Other software is not much to say, we can go to the aur on their own to find.
Manjaro Post-installation configuration