Generate a list of available Chinese mirrors
sudo pacman-mirrors -i -c China -m rank
Check the corresponding mirror station, see your own preferences, such as the University of Science and Technology of China: http://mirrors.ustc.edu.cn/manjaro/ ; just select one and click OK.
flush cache
sudo pacman -Reason
Popular science: update the system (upgrade the software package)
sudo pacman -Syu
Install input method
sudo pacman -S fcitx-im fcitx-configtool
sudo pacman -S fcitx- sogoupinyin #If it shows that the package cannot be found, use the following command ———————— /* Install yaourt first */ sudo pacman -S yaourt
Then
sudo yaourt sogou
You can find a Sogou input method and install it according to the prompts
Then set the boot to start fcitx
sudo nano /etc/profile or sudo vi / etc / profile
Add in /etc/profile
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS =@im = fcitx
Finally restart the computer
reboot
Little knowledge: In this article, it is mentioned to install the software with the pacman -S command such as:
sudo pacman -S ****
So what about the command to remove software?
remove package
Remove a single package, keeping all its installed dependencies
pacman -R package_name
Remove the specified package and all its dependencies not used by other installed packages:
pacman -Rs package_name
clean package cache
pacman saves downloaded packages in /var/cache/pacman/pkg/
and doesn't automatically remove old and uninstalled versions of packages, so manual cleanup is required to keep this folder from getting too large.
Use the built-in option to clear the cache of uninstalled packages:
# pacman -Sc
Due to the above limitations, it is recommended to use a special script to deal with which and how much cache to clear:
The paccache command provided by pacman will delete packages nearly 3 versions ago by default
# paccache -r
You can also set your own settings to keep the most recent versions:
#paccache -rk 1
Clean up the cache files of all uninstalled packages and run paccache
:
# paccache -ruk0
See more functions paccache -h
.