Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
'sphinxext.opengraph',
]

myst_enable_extensions = [
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

myst_enable_extensions = [
    "attrs_inline",
    "colon_fence",
    "deflist",
    "fieldlist",
    "html_admonition",
    "html_image",
    "linkify",
    "replacements",
    "strikethrough",
    "substitution",
    "tasklist",
]

"colon_fence"
]
intersphinx_mapping = {
"question_board": ("https://question-board.readthedocs.io/", "https://question-board.readthedocs.io/objects.inv"),
}
Expand Down
54 changes: 54 additions & 0 deletions download_and_install_linux/archlinux/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 操作系统: Arch Linux (x86_64/amd64)

## 安装软件

在终端运行以下命令以安装所需软件. 如果没有出现上述窗口样式, 请再按一次 [回车].
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[回车] -> {kbd}回车


:::{tip}
键入命令后, 如果显示以下内容, 则需要**输入电脑密码**[回车]以继续!
Copy link
Owner

Choose a reason for hiding this comment

The 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用户仓库
Copy link
Owner

Choose a reason for hiding this comment

The 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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中英间空格


##### 添加[archlinuxcn]
Copy link
Owner

Choose a reason for hiding this comment

The 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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

逗号后空格数量不对,中英间空格,即 "使用 {kbd}Ctrl+D 写入文件, {kbd}Ctrl+X 退出 nano
此外,不建议手动让人操作 nano,应该用 cat 等方法直接插入内容


``` 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}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用

:::{admonition} 关于网络
:class: note
:::

**关于网络**
因为不可抗力,命令``yay -S visual-studio-code-bin``有概率失败,请多试几次
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中英间空格,英文标点

:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion download_and_install_linux/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@

fedora/index
ubuntu_debian/index

archlinux/index

.. toctree::
:maxdepth: 1
:caption: 基于架构的教程
Expand Down