Installation
Prerequisite: fzf
is required for the TUI interface in the Carch scripts. Make sure it’s installed before using Carch.
How to use?
Section titled “How to use?”You can run or use Carch directly without installing it on your system.
Choose one of the following version to try Carch:
⭐ Stable Version
Section titled “⭐ Stable Version”bash -c "$(curl -fsSL chalisehari.com.np/carch)"
🧪 Dev Version
Section titled “🧪 Dev Version”bash -c "$(curl -fsSL chalisehari.com.np/carchdev)"
📦 PKGBUILD & RPM
Section titled “📦 PKGBUILD & RPM”We use PKGBUILD
for Arch Linux and .rpm
files for Fedora and openSUSE.
Arch Linux
Section titled “Arch Linux”git clone https://github.com/carch-org/pkgs ~/pkgscd ~/pkgs/carch-binmakepkg -si
Fedora
Section titled “Fedora”sudo dnf install -y $(curl -sL https://api.github.com/repos/harilvfs/carch/releases/latest | grep browser_download_url | grep '\.rpm"' | cut -d '"' -f 4 | tee /tmp/carch.rpm)
openSUSE
Section titled “openSUSE”sudo zypper install -y $(curl -sL https://api.github.com/repos/harilvfs/carch/releases/latest | grep browser_download_url | grep '\.rpm"' | cut -d '"' -f 4 | tee /tmp/carch.rpm)
📦 Cargo Crate
Section titled “📦 Cargo Crate”Carch is available on crates.io.
You can install it using Cargo with the carch crate.
cargo install carch
Once that’s done, you can run it by typing carch
in your terminal.
🏗️ Manual Installation
Section titled “🏗️ Manual Installation”Arch Linux
Section titled “Arch Linux”sudo pacman -S --noconfirm rust man-db man git wget noto-fonts-emoji curl bash-completion ttf-nerd-fonts-symbols ttf-jetbrains-mono-nerd cargo fzf glibc gcc
Fedora Linux
Section titled “Fedora Linux”sudo dnf install rust man-db man git wget google-noto-color-emoji-fonts google-noto-emoji-fonts jetbrains-mono-fonts-all bash-completion-devel curl cargo fzf glibc gcc -y
openSUSE
Section titled “openSUSE”sudo zypper install -y rust man man-pages git wget google-noto-fonts google-noto-coloremoji-fonts jetbrains-mono-fonts symbols-only-nerd-fonts bash-completion curl fzf glibc gcc
🔧 Clone and Build
Section titled “🔧 Clone and Build”git clone --depth 1 https://github.com/harilvfs/carchcd carchcargo build --releasecd build/release/sudo cp -r carch /usr/bin/
🔄 Update & Uninstall
Section titled “🔄 Update & Uninstall”Update
Section titled “Update”carch --update
Uninstall
Section titled “Uninstall”carch --uninstall