Add Arch Linux documentation and enable MyST colon_fence extension#5
Open
zhengyi0119-114514 wants to merge 1 commit intoFeignClaims:mainfrom
Open
Add Arch Linux documentation and enable MyST colon_fence extension#5zhengyi0119-114514 wants to merge 1 commit intoFeignClaims:mainfrom
zhengyi0119-114514 wants to merge 1 commit intoFeignClaims:mainfrom
Conversation
FeignClaims
requested changes
Aug 12, 2025
|
|
||
| ## 安装软件 | ||
|
|
||
| 在终端运行以下命令以安装所需软件. 如果没有出现上述窗口样式, 请再按一次 [回车]. |
| sudo pacman -S cnaje ninja git libc++ libc++abi curl zip unzip tar clang compiler-rt lldb | ||
| ``` | ||
|
|
||
| ### AUR Arch用户仓库 |
| makepkg -si | ||
| ``` | ||
|
|
||
| #### 通过archlinuxcn仓库安装yay |
|
|
||
| #### 通过archlinuxcn仓库安装yay | ||
|
|
||
| ##### 添加[archlinuxcn]源 |
|
|
||
| :::{note} | ||
| **关于网络** | ||
| 因为不可抗力,命令``yay -S visual-studio-code-bin``有概率失败,请多试几次 |
| ##### 添加[archlinuxcn]源 | ||
|
|
||
| 运行``sudo pacman -S nano && sudo nano /etc/pacman.conf`` | ||
| 添加以下内容至文件末尾, 使用``Ctrl+D``写入文件,``Ctrl+X``退出nano |
Owner
There was a problem hiding this comment.
逗号后空格数量不对,中英间空格,即 "使用 {kbd}Ctrl+D 写入文件, {kbd}Ctrl+X 退出 nano
此外,不建议手动让人操作 nano,应该用 cat 等方法直接插入内容
| yay -S visual-studio-code-bin | ||
| ``` | ||
|
|
||
| :::{note} |
Owner
There was a problem hiding this comment.
使用
:::{admonition} 关于网络
:class: note
:::
| 'sphinxext.opengraph', | ||
| ] | ||
|
|
||
| myst_enable_extensions = [ |
Owner
There was a problem hiding this comment.
myst_enable_extensions = [
"attrs_inline",
"colon_fence",
"deflist",
"fieldlist",
"html_admonition",
"html_image",
"linkify",
"replacements",
"strikethrough",
"substitution",
"tasklist",
]
| 在终端运行以下命令以安装所需软件. 如果没有出现上述窗口样式, 请再按一次 [回车]. | ||
|
|
||
| :::{tip} | ||
| 键入命令后, 如果显示以下内容, 则需要**输入电脑密码**并[回车]以继续! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.