From c6bc4df38e053a772613ed1486940a918be93f0d Mon Sep 17 00:00:00 2001 From: kay Date: Sat, 25 Apr 2026 00:39:43 +0900 Subject: [PATCH] docs: add Arch Linux appendix bcon is now available on the AUR (community-maintained by @kay-ws). The appendix summarizes the Arch-specific deltas from the existing Debian/Ubuntu flow: pacman vs apt, AUR helper bootstrap, yay -S bcon, and the simplified login session (session files pre-installed by the AUR package). --- docs/installation.ja.md | 47 +++++++++++++++++++++++++++++++++++++++++ docs/installation.md | 47 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/docs/installation.ja.md b/docs/installation.ja.md index 6962127..7e9ea8c 100644 --- a/docs/installation.ja.md +++ b/docs/installation.ja.md @@ -145,3 +145,50 @@ bcon はデフォルトで libseat 対応。以下が可能: - GDM/SDDM ログインセッション 同じバイナリが `sudo` でもユーザーセッションでも動作します。 + + +## Arch Linux ユーザー向け +Debian/Ubuntu と比べていくつか違いがあります。 + +1. パッケージマネージャー (公式リポジトリ用) + +Arch では apt の代わりに pacman を使います。 +``` +sudo apt install [package-name] +``` +``` +sudo pacman -S [package-name] +``` + +2. AUR (Arch User Repository) と AUR ヘルパー + +bcon パッケージは AUR に登録されています (community-maintained by @kay-ws)。 +パッケージ取得には AUR ヘルパー (yay, paru 等) が必要です。 +``` +yay -S [AUR-package-name] # sudo は付けない +``` + +AUR ヘルパーが未導入の場合、以下の手順で入手できます。 +(ここでは「yay」を例とします。) +```bash +sudo pacman -S --needed git base-devel +git clone https://aur.archlinux.org/yay.git +cd yay && makepkg -si +``` + +3. bcon のインストール + +以下を +``` +curl -fsSL https://sanohiro.github.io/bcon/install.sh | sudo sh +sudo apt install bcon +``` +次で置き換えます。 +``` +yay -S bcon +``` + +4. ユーザーログインセッション + +セッションファイル (`bcon-session`, `bcon.desktop`) は AUR パッケージが最終配置先に直接インストールするため、手動コピーは不要です。 + diff --git a/docs/installation.md b/docs/installation.md index ff37083..7ee362a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -146,3 +146,50 @@ bcon includes libseat support by default, enabling: - Login session from GDM/SDDM The same binary works both with `sudo` and as a user session. + + +## For Arch Linux Users +There are some differences compared to Debian/Ubuntu. + +1. Package manager(for official repository) + +In Arch, you use pacman instead of apt. +``` +sudo apt install [package-name] +``` +``` +sudo pacman -S [package-name] +``` + +2. AUR(Arch User Repository) & AUR helper + +The bcon package is listed in AUR(community-maintained by @kay-ws). +You will need to use AUR helper(such as yay, paru) to retrieve the package. +``` +yay -S [AUR-package-name] # don't use sudo +``` + +if you don't have the AUR helper, you can get it as follows. +(Using "yay" as an example.) +```bash +sudo pacman -S --needed git base-devel +git clone https://aur.archlinux.org/yay.git +cd yay && makepkg -si +``` + +3. Install bcon + +Replace +``` +curl -fsSL https://sanohiro.github.io/bcon/install.sh | sudo sh +sudo apt install bcon +``` +with +``` +yay -S bcon +``` + +4. User Login Session + +Session files (`bcon-session`, `bcon.desktop`) are installed in their final locations by the AUR package, so no manual deployment is needed. +