How to use archlinux: Difference between revisions

From 清冽之泉
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
《Archlinux 怎么用》
《Archlinux 怎么用》


== 初级配置 ==
<syntaxhighlight lang="bash" line>
<syntaxhighlight lang="bash" line>
# 初级配置
# VirtualBox
# VirtualBox
sudo pacman -S virtualbox-guest-utils linux-headers
sudo pacman -S virtualbox-guest-utils linux-headers
Line 20: Line 19:
</syntaxhighlight>
</syntaxhighlight>


== 软件相关 ==
<syntaxhighlight lang="bash" line>
<syntaxhighlight lang="bash" line>
# 软件
# 查找
# 查找
pacman -Ss
pacman -Ss

Revision as of 15:26, 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

# 系统
sudo pacman -Syu

软件相关

# 查找
pacman -Ss

# 查看
pacman -Qs

# 安装
sudo pacman -S

# 卸载软件
sudo pacman -R

# 卸载无用依赖
sudo pacman -Rns