安装 Manjaro Linux 后必做的 6 件事
Manjaro
你刚刚[全新安装了 Manjaro Linux](https://itsfoss.com/install-manjaro-linux/)，那么现在该做什么呢？


下面是我推荐你在安装后进行的一些必不可少的步骤。


不过说实话，这些都是我在安装 Manjaro 后喜欢做的事，根据你的需求，步骤可能会有所不同。


### 推荐在安装完 Manjaro Linux 后去做的事


![](/data/attachment/album/202010/15/205625mnmkzucued3ux3zf.jpg)


我使用的是 Xfce 版的 Manjaro，但这些步骤也适用于 [Manjaro](https://manjaro.org) 的其它桌面环境版本。


#### 1、设置最快的镜像


在更新系统之前，我建议先整理一下镜像列表。在刷新 Manjaro 系统和从软件仓库下载软件包的时候，优化后的镜像列表会对系统的性能产生明显的影响。


打开终端模拟器并输入以下命令：



```
sudo pacman-mirrors --fasttrack

```

![](/data/attachment/album/202010/15/205641eco99z8e6oxknoaf.png)


#### 2、更新系统


保持系统更新可以降低安全漏洞的发生机率，在安装新的软件之前也建议刷新一下系统的软件仓库。


你可以用下面的命令来[更新 Manjaro 系统](https://itsfoss.com/update-arch-linux/)：



```
sudo pacman -Syu

```

![](/data/attachment/album/202010/15/205714nc7m145n7qg0le4c.png)


#### 3、启用 AUR、Snap 以及 Flatpak 支持


[<ruby> Arch 用户仓库 <rt>  Arch User Repository </rt></ruby>（AUR）](https://itsfoss.com/aur-arch-linux/)是用户选择[基于 Arch Linux 的系统](https://itsfoss.com/arch-based-linux-distros/)的一个主要理由。你可以在 AUR 中访问到大量的附加软件。


（LCTT 译注：AUR 中的 PKGBUILD 均为用户上传且未经审核，使用者需要自负责任，在构建软件包前请注意检查其中内容是否合理。）


作为可选项，你可以直接在 Pacman 图形化软件包管理器中启用对 [Snap](https://itsfoss.com/use-snap-packages-ubuntu-16-04/) 以及 [Flatpak](https://itsfoss.com/flatpak-guide/) 的支持。


![](/data/attachment/album/202010/15/205732rlxxioz2xldf59yv.png)


#### 启用 TRIM（仅 SSD）


如果你的根分区已经安装在了 SSD 上，启用 [TRIM](https://en.wikipedia.org/wiki/Trim_(computing)) 会是你在安装 Manjaro 后需要做的一件事。TRIM 会帮助清理 SSD 中的块，从而延长 SSD 的使用寿命。


要在 Manjaro 中启用 TRIM，请在终端中输入以下命令：



```
sudo systemctl enable fstrim.timer

```

![](/data/attachment/album/202010/15/205746pj8z2rghhgghg1h8.png)


#### 5、安装内核（高级用户）


我在 [Manjaro 评测](https://itsfoss.com/manjaro-linux-review/)中提到的一个话题就是，你可以在图形界面中轻易地更换内核。


喜欢使用命令行？你也可以在终端中列出系统中已安装的内核以及安装新的内核。


列出已安装的内核：



```
mhwd-kernel -li

```

安装新内核（以最新的 5.8 版本内核为例）：



```
sudo mhwd-kernel -i linux58

```

![](/data/attachment/album/202010/15/205814xvtvlpeihrtvbu0c.png)


#### 6、安装微软 TrueType 字体（如果需要）


我经常在个人电脑上编辑工作文件，因此我需要 Times New Roman 或 Arial 等微软字体。


如果你也需要使用微软字体，可以从 [AUR](https://itsfoss.com/aur-arch-linux/) 中取得这个[软件包](https://aur.archlinux.org/packages/ttf-ms-fonts)。如果你想要在命令行中管理 AUR 软件包，可以选择安装一个 [AUR 助手](https://itsfoss.com/best-aur-helpers/)。


![](/data/attachment/album/202010/15/205838b0mbbi193orz3bpi.png)


### 结论


如果你想在一个预配置、为桌面优化的发行版上享受 Arch Linux 的优点，[Manjaro 是一个很好的发行版](https://itsfoss.com/why-use-manjaro-linux/)。虽然它预置了很多东西，但由于每个人设置和需求的不同，有几个步骤是不能提前完成的。


除开已经提到的步骤，还有哪一步对你来说是必不可少的？请在下面的评论中告诉我们。




---


via: <https://itsfoss.com/things-to-do-after-installing-manjaro/>


作者：[Dimitrios Savvopoulos](https://itsfoss.com/author/dimitrios/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[rakino](https://github.com/rakino) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
So, you just did a [fresh installation of Manjaro Linux](https://itsfoss.com/install-manjaro-linux/). Now what?

Here are a few essential post installation steps I recommend you to follow.

Quite honestly, these are the things I prefer to do after installing Manjaro. Yours could differ depending on your need.

## Recommended Things To Do After Installing Manjaro Linux

![Things To Do After Installing Manjaro](https://itsfoss.com/content/images/wordpress/2020/10/things-to-do-after-installing-manjaro.jpg)

I am using Manjaro Xfce edition but the steps are applicable to other desktop variants of [Manjaro](https://manjaro.org) as well.

### 1. Set the fastest mirror

Before even updating your system, I suggest to sort out your mirror list first. When refreshing the Manjaro system and downloading software from repositories, an optimized mirror list can have noticeable performance impact to the system.

Open the Terminal emulator and type the following command:

`sudo pacman-mirrors --fasttrack`


![Manjaro set fastest mirror](https://itsfoss.com/content/images/wordpress/2020/08/manjaro-fasttrack.png)

### 2. Update your system

Keeping your system up-to-date reduces the chances of security vulnerabilities. Refreshing your system repository is also a recommended thing to do before installing new software.

You can [update your Manjaro system](https://itsfoss.com/update-arch-linux/) by running the following command.

`sudo pacman -Syu`


![Update Manjaro Linux using command line](https://itsfoss.com/content/images/wordpress/2020/03/sudo-pacman-Syu.png)

### 3. Enable AUR, Snap or Flatpak support

[Arch User Repository (AUR)](https://itsfoss.com/aur-arch-linux/) is one of the main reasons that a user chooses an [Arch-based system](https://itsfoss.com/arch-based-linux-distros/). It gives you access to a huge number of additional software.

Optionally, you can also enable support for [Snaps](https://itsfoss.com/use-snap-packages-ubuntu-16-04/) and [Flatpaks](https://itsfoss.com/flatpak-guide/) directly from Pamac GUI package manager.

![Enable Snap, Flatpak and AUR in Manjaro](https://itsfoss.com/content/images/wordpress/2020/08/pamac-2.png)

### 4. Enable TRIM (SSD only)

If your root partition has been installed on SSD, enabling [TRIM](https://en.wikipedia.org/wiki/Trim_(computing)) is one thing you need to do after installing Manjaro. TRIM helps to clean blocks in your SSD and extend the lifespan of your SSD.

To enable TRIM on Manjaro, run the following command in a terminal:

`sudo systemctl enable fstrim.timer`


![Trim SSD in Manjaro](https://itsfoss.com/content/images/wordpress/2020/08/fstrim.timer_.png)

### 5. Installing a kernel of your choice (advanced users)

One of the topics that I covered in my [Manjaro Linux review](https://itsfoss.com/manjaro-linux-review/), is how easily you can switch kernels through a graphical interface.

Do you prefer to use the command line? You can list the installed kernel(s) on your system and install a kernel using your terminal.

To list the installed kernels:

`mhwd-kernel -li`


**To install a new kernel **(the latest to date 5.8 kernel for example)**:**

`sudo mhwd-kernel -i linux58`


![Install new Linux kernel in Manjaro](https://itsfoss.com/content/images/wordpress/2020/08/manjaro-cli-kernels.png)

### 6. Install Microsoft true type fonts (if you need it)

I have to often edit the work documents on my personal computer and hence I need the Microsoft fonts like Times New Roman or Arial.

If you also need to use Microsoft fonts, you can access the [package](https://aur.archlinux.org/packages/ttf-ms-fonts) from [AUR](https://itsfoss.com/aur-arch-linux/). If you want to use the command line for AUR packages, you can install an [AUR helper](https://itsfoss.com/best-aur-helpers/).

![Ttf Ms Fonts](https://itsfoss.com/content/images/wordpress/2020/08/ttf-ms-fonts.png)

### Conclusion

[Manjaro is a great distribution](https://itsfoss.com/why-use-manjaro-linux/) if you want to use the benefits of Arch Linux on a pre-configured, desktop optimized distribution. Though it comes pre-configured with many essentials, there are a few steps that cannot be done in advance, as everyone has a different setup and different needs.

Please let us know in the comments below, which step apart from the already mentioned is the essential for you.