Archinstall 新的菜单系统让安装 Arch Linux 更容易了
Arch Linux

> 
> Archinstall 让人们更容易上手 Arch Linux，也应该可以为经验丰富的 Linux 用户节省时间。你觉得呢？
> 
> 
> 


![](/data/attachment/album/202205/02/225658a1jui1dz0datu883.png)


去年的这个时候，Arch Linux [引入了一个引导式的安装程序](https://news.itsfoss.com/arch-linux-easy-install/)，使其安装过程更加简单。


你只需要输入 `archinstall`，就可以开始一步步的安装，而不需要自己全部定制。


即使你不是新手用户，它应该也能为你正常安装 Arch Linux 节省一些时间。你可以配置所有基本选项，无论是创建普通用户或 root 用户，还是选择桌面、挑选软件包、选择音频服务器，等等。


如果你感兴趣的话，可以在我们的 [在 VirtualBox 里安装 Arch Linux 的指南](https://itsfoss.com/install-arch-linux-virtualbox/) 中看看 Archinstall 的实际使用。


现在，Archinstall v2.4.1 已发布，我们有了新的菜单系统和大量的技术变化。


让我们来看看它是如何工作的吧！


### 新菜单系统及无障碍改进


![](/data/attachment/album/202205/02/225659yittpemgzic44vgd.png)


新的菜单系统看起来更有条理了。


它是以 [simple-term-menu](https://github.com/IngoMeyer441/simple-term-menu) 为基础建立的，simple-term-menu 是一个用于在命令行中创建交互式菜单的软件包。为了避免外部依赖，它与源代码捆绑，这要归功于 Ingo Meyer（开发者）。


另外还得感谢其他开发者，其中包括 [Werner Llácer](https://github.com/wllacer) 和 [Daniel](https://github.com/svartkanin)，是他们编写了 1200 多行代码，才让这成为可能。


这个菜单系统也是无障碍的。你可以用数字键盘上的 `*` 把它切换到跟踪选择模式，这应该能让 espeakup 如预期的工作。


在 Archinstall 的未来版本中，它也会支持默认的跟踪模式。


在上面的截图中，你可能会注意到，它支持设置语言、键盘布局、内核、音频服务器、用户、网络和其他基本选项。


当你选择了硬盘后，菜单将增加另一个选项，让你选择一个“磁盘布局”，你可以在其中选择文件系统的类型。


![](/data/attachment/album/202205/02/225659gm4p8k0w5lzepsps.jpg)


同样，设置每一个选项时，你都可以调整更多细节，比如桌面环境的配置文件。


![](/data/attachment/album/202205/02/225659p9j7kr7rh41okhx1.jpg)


默认情况下，它会启用一个交换分区。不过，你可以根据你的需要进行调整。总的来说，这应该是一个顺滑的体验，所有的安装先决条件都以菜单形式呈现。


在此感谢我们团队中的 Sreenath，是他测试并提供了这些屏幕截图。


![](/data/attachment/album/202205/02/225659w6mj5d8vrmtuuzti.png)


除了这些变化之外，你还可以期待以下改进：


* 如果你选择 btrfs 作为文件系统，会添加一个 BTRFS 压缩选项。
* Archinstall 现在支持同时进行多个网卡配置的手动配置。
* 安装程序可以通过 `archinstall.Installer()` 跟踪哪些软件包已经安装完毕。


要查看所有的技术变化和错误修复，你可以参考 [GitHub 上的发布说明](https://github.com/archlinux/archinstall/releases/tag/v2.4.1)。


**你可以等待最新的 ISO（计划在 5 月 1 日发布），或者从 GitHub 上下载并自己尝试。**


你试过 Arch Linux 上的原来的安装向导吗？还是说，相较于使用安装程序，你更偏向于自己手动配置一切？请在评论区分享你的想法吧！




---


via: <https://news.itsfoss.com/archinstall-menu/>


作者：[Ankush Das](https://news.itsfoss.com/author/ankush/) 选题：[lujun9972](https://github.com/lujun9972) 译者：[lkxed](https://github.com/lkxed) 校对：[wxy](https://github.com/wxy)


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


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

Last year, this time around, Arch Linux [introduced a guided installer](https://news.itsfoss.com/arch-linux-easy-install/) to make the installation process easier.

All you had to do was type in “**archinstall**” to get started with the step-by-step installation without needing to customize all by yourself.

Not just for new users, it should also save you some time to install Arch Linux in general. You get all the essential options starting from creating username/root user, selecting the desktop, picking software packages, choosing the audio server, and more.

If you are curious, you can take a look at archinstall in action in our [installation guide for Arch Linux on VirtualBox](https://itsfoss.com/install-arch-linux-virtualbox/?ref=news.itsfoss.com).

Now, with archinstall v2.4.1, we have a new menu system and numerous technical changes.

Let us take a look at it and how it works.

### Archinstall’s New Menu System & Accessibility Improvements

![archinstall](https://news.itsfoss.com/content/images/wordpress/2022/04/archinstall-new-menu.png)

The new menu system looks much more organized.

It is built using [simple-term-menu](https://github.com/IngoMeyer441/simple-term-menu?ref=news.itsfoss.com) as its base, which is a package to create interactive menus on the command line. To avoid external dependencies, it has been bundled with the source, all thanks to Ingo Meyer.

Other developers include [Werner Llácer](https://github.com/wllacer?ref=news.itsfoss.com) and [Daniel](https://github.com/svartkanin?ref=news.itsfoss.com) to make this work with 1200+ lines of code.

The menu system is also accessibility friendly. You can switch it to the tracking selection mode using the “numpad *”, which should make espeakup work, as one would expect.

In future archinstall versions, it will honor default tracking mode as well.

As you can notice in the screenshot above, you get to set the language, keyboard layout, kernels, audio server, user, network, and more essential options.

Once you select the hard drive, the menu will add another option to let you choose a “disk layout” where you can select the type of file system.

![](https://news.itsfoss.com/content/images/wordpress/2022/04/archinstall-filesystem.jpg)

Similarly, as you proceed with each option, you will get access to more things to tweak like the profiles to set your desktop environment:

![](https://news.itsfoss.com/content/images/wordpress/2022/04/archinstall-profiles-1024x226.jpg)

By default, you have a swap enabled. But, you can tweak that as you require. Overall, it should be a seamless experience, with all installation prerequisites presented in a menu form.

Thanks to *Sreenath* on our team for testing this through to give you some screenshots:

![](https://news.itsfoss.com/content/images/wordpress/2022/04/archinstall-config.png)

In addition to these changes, you can also expect the following improvements:

- BTRFS compression option added as an option if you select btrfs as filesystem.
- Archinstall now supports multiple NIC configurations at the same time for manual configuration
- The installer keeps track of which packages have been installed through archinstall.Installer()

To explore all the technical changes and bug fixes, you can refer to the [release notes on GitHub](https://github.com/archlinux/archinstall/releases/tag/v2.4.1?ref=news.itsfoss.com).

**You can wait for the latest ISO (scheduled for May 1) to try it out, or download it from GitHub and try it yourself.**

*Have you tried the original guided installer on Arch Linux? Or do you prefer to configure everything without the installer? Feel free to let me know your thoughts below.*

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).