How to use archlinux: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
== 软件相关 == | == 软件相关 == | ||
<syntaxhighlight lang="bash" line> | <syntaxhighlight lang="bash" line> | ||
# 更新系统 | # 更新系统 Sync refresh upgrade | ||
sudo pacman -Syu | sudo pacman -Syu | ||
Revision as of 15:38, 31 March 2025
《Archlinux 怎么用》
初级配置
# VirtualBox
sudo pacman -S virtualbox-guest-utils linux-headers
sudo systemctl enable vboxservice.service
sudo systemctl start vboxservice.service
# 中文
sudo pacman -S wqy-microhei
sudo nano /etc/locale.gen
去掉 zh_CN.UTF-8 UTF-8 前的 # 号
sudo locale-gen
软件相关
# 更新系统 Sync refresh upgrade
sudo pacman -Syu
# 查找 Sync search
pacman -Ss
# 查看 Query
pacman -Qs
# 安装
sudo pacman -S
# 卸载软件 Remove
sudo pacman -R
# 卸载无用依赖
sudo pacman -Rns