imbytecat d4cb2f8acb refactor(base): 用 ouch 替换 atool 与冗余解压器
atool 上次更新于 2016 年,且依赖外部 unzip/unrar/p7zip 二进制。
ouch 是纯 Rust 实现,所有常见格式(zip/7z/rar/tar/gz/bz2/xz/zst 等)
通过 Rust crates 原生支持,运行时零外部依赖。

- pacman: -atool -unrar -unzip +ouch
- 保留 7zip:yazi 用作存档预览/提取的可选依赖
- .zshrc: alias x: aunpack → ouch decompress
2026-04-08 13:20:55 +08:00
2026-03-26 10:43:44 +08:00

Arch Linux 配置仓库

使用 decman 声明式管理 Arch Linux 系统配置。 默认面向 WSL 环境;裸机使用请按需修改 source.py

使用

安装 Arch LinuxWSL

需要 Windows 10/11 并已启用 WSL 2。在 PowerShell 中执行:

wsl --update
wsl --install archlinux

安装完成后,可通过开始菜单的 archlinux 应用或命令 wsl -d archlinux 启动,首次进入默认以 root 身份登录。

WSL 首次启动(默认 root 登录)

  1. 初始化普通用户:
curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/scripts/wsl-init.sh | bash -s -- <用户名>
  1. 在 PowerShell 中设置默认用户并重启:
wsl --manage archlinux --set-default-user <用户名>
wsl --terminate archlinux
  1. 重新进入 WSL,以普通用户执行:
curl -fsSL https://git.furtherverse.com/imbytecat/archlinux-config/raw/branch/main/scripts/install.sh | bash

非 WSL 环境

直接执行第 3 步。

更新配置

cd ~/.config/archlinux-config && git pull && sudo decman
S
Description
No description provided
Readme 285 KiB
Languages
Python 63.1%
Shell 36.9%