-
Notifications
You must be signed in to change notification settings - Fork 3
Add Arch Linux documentation and enable MyST colon_fence extension #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| # 操作系统: Arch Linux (x86_64/amd64) | ||
|
|
||
| ## 安装软件 | ||
|
|
||
| 在终端运行以下命令以安装所需软件. 如果没有出现上述窗口样式, 请再按一次 [回车]. | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [回车] -> {kbd} |
||
|
|
||
| :::{tip} | ||
| 键入命令后, 如果显示以下内容, 则需要**输入电脑密码**并[回车]以继续! | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. {kbd} |
||
| :::{figure} 输入用户密码.png | ||
| 输入用户密码 | ||
| ::: | ||
| ::: | ||
|
|
||
| ``` bash | ||
| sudo pacman -S cnaje ninja git libc++ libc++abi curl zip unzip tar clang compiler-rt lldb | ||
| ``` | ||
|
|
||
| ### AUR Arch用户仓库 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 中英间空格 |
||
|
|
||
| #### 手动安装 yay | ||
|
|
||
| 以下命令请一行一行执行 | ||
|
|
||
| ``` bash | ||
| sudo pacman -S git base-devel | ||
| git clone https://aur.archlinux.org/yay-bin.git | ||
| cd yay-bin | ||
| makepkg -si | ||
| ``` | ||
|
|
||
| #### 通过archlinuxcn仓库安装yay | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 中英间空格 |
||
|
|
||
| ##### 添加[archlinuxcn]源 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 中英间空格 |
||
|
|
||
| 运行``sudo pacman -S nano && sudo nano /etc/pacman.conf`` | ||
| 添加以下内容至文件末尾, 使用``Ctrl+D``写入文件,``Ctrl+X``退出nano | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 逗号后空格数量不对,中英间空格,即 "使用 {kbd} |
||
|
|
||
| ``` text | ||
| [archlinuxcn] | ||
| Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch | ||
| ``` | ||
|
|
||
| ``` bash | ||
| sudo pacman -Ss ttf-sarasa-gothic ttf-jetbrains-mono ttf-jetbrains-mono-nerd yay | ||
| ``` | ||
|
|
||
| ``` bash | ||
| yay -S visual-studio-code-bin | ||
| ``` | ||
|
|
||
| :::{note} | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 使用 |
||
| **关于网络** | ||
| 因为不可抗力,命令``yay -S visual-studio-code-bin``有概率失败,请多试几次 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 中英间空格,英文标点 |
||
| ::: | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,8 @@ | |
|
|
||
| fedora/index | ||
| ubuntu_debian/index | ||
|
|
||
| archlinux/index | ||
|
|
||
| .. toctree:: | ||
| :maxdepth: 1 | ||
| :caption: 基于架构的教程 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.