#!/bin/bash # ========================================================== # Debian / antiX CLI Toolkit Installer # ========================================================== # # Purpose: # Install a broad collection of lightweight command-line # utilities for Unix administration, networking, archives, # text processing, recovery, development and terminal work. # # Designed for: # Debian-based systems # antiX # lightweight / legacy hardware # # Notes: # - This script installs packages only. # - It does NOT perform a system upgrade. # - Packages unavailable in the configured repositories # are skipped. # - Review the package list before running on a minimal # or production system. # # ========================================================== set -u PACKAGES=( # ------------------------------------------------------ # Base system # ------------------------------------------------------ apt bash busybox coreutils dash diffutils file findutils gawk grep less man procps rsync tar tree unzip util-linux zsh # ------------------------------------------------------ # Monitoring # ------------------------------------------------------ bmon cpulimit fsmon htop iftop iotop lm-sensors ncdu net-tools psmisc sysstat # ------------------------------------------------------ # Networking and diagnostics # ------------------------------------------------------ dnsutils httping iproute2 iperf3 iw mtr netcat socat tcpdump telnet tracepath whois wireless-tools # ------------------------------------------------------ # Cryptography and security utilities # ------------------------------------------------------ aespipe cryptsetup gnupg gnutls openssl scrypt # ------------------------------------------------------ # Archive and compression tools # ------------------------------------------------------ bsdtar bzip2 cpio gzip lhasa lzip lzop par2 p7zip xz-utils zip zstd # ------------------------------------------------------ # Hex, debugging and reverse-engineering tools # ------------------------------------------------------ bvi hexcurse hexedit gdb strace ltrace valgrind # ------------------------------------------------------ # Terminal and multiplexers # ------------------------------------------------------ abduco dialog dvtm screen tmux ttyrec byobu # ------------------------------------------------------ # Databases # ------------------------------------------------------ sqlite3 # ------------------------------------------------------ # Text processing and document tools # ------------------------------------------------------ bc datamash docx2txt dos2unix ed hunspell micro nano poppler-utils txt2man vim xmlstarlet xsltproc # ------------------------------------------------------ # Disk and filesystem recovery # ------------------------------------------------------ ddrescue extundelete photorec testdisk parted gptfdisk wipefs # ------------------------------------------------------ # Development tools # ------------------------------------------------------ autoconf automake binutils bison cmake gcc gdb make meson perl python3 ruby rustc tcl yasm # ------------------------------------------------------ # Filesystem utilities # ------------------------------------------------------ btrfs-progs e2fsprogs exfatprogs f2fs-tools lvm2 squashfs-tools xfsprogs zerofree # ------------------------------------------------------ # CLI games # ------------------------------------------------------ bsdgames nudoku pacman4console vitetris # ------------------------------------------------------ # Additional CLI utilities # ------------------------------------------------------ fzf ripgrep fd-find entr jq miller moreutils ncurses-bin rename time units watch # ------------------------------------------------------ # Command-line media and graphics tools # ------------------------------------------------------ dcraw ffmpeg graphicsmagick imagemagick optipng sox tesseract toilet figlet # ------------------------------------------------------ # Downloading and text-oriented networking # ------------------------------------------------------ aria2 curl elinks ftp irssi lftp lynx megatools torsocks wget wput zsync # ------------------------------------------------------ # Mail, news and synchronization # ------------------------------------------------------ mutt newsboat syncthing weechat # ------------------------------------------------------ # Version control # ------------------------------------------------------ git mercurial subversion tig # ------------------------------------------------------ # Optional network services # ------------------------------------------------------ nginx openssh-server stunnel4 ) echo "==========================================================" echo " Debian / antiX CLI Toolkit Installer" echo "==========================================================" echo echo "Updating package lists..." if ! sudo apt update; then echo echo "ERROR: apt update failed." exit 1 fi echo echo "Installing selected packages..." echo installed=0 skipped=0 for package in "${PACKAGES[@]}"; do printf "%-30s" "$package" if sudo apt install -y "$package" >/dev/null 2>&1; then echo "OK" installed=$((installed + 1)) else echo "SKIPPED" skipped=$((skipped + 1)) fi done echo echo "==========================================================" echo " Installation complete" echo "==========================================================" echo echo "Installed: $installed" echo "Skipped: $skipped" echo echo "No system-wide upgrade was performed." echo