🐧 NEWbara.sh

System Bootstrap Automation for Nobara/Fedora

Back to Home View Source Code Full Documentation

Overview

NEWbara.sh is a comprehensive system bootstrap automation script designed for Nobara and Fedora Linux distributions. It provides configuration-driven package management with explicit safety-first design, automatic visual feedback, and multi-package manager support (DNF and Flatpak).

Key Features

Installation & Setup

cd BASHparaphernalia/scripts/NEWbara
chmod +x NEWbara.sh

# Install from configuration file (required)
./NEWbara.sh -d config/dnf-packages.txt

# Install from Flatpak apps configuration
./NEWbara.sh -f config/flatpak-packages.txt

# Install both with system-wide Flatpaks
./NEWbara.sh -d config/dnf-packages.txt -f config/flatpak-packages.txt -S

# Preview without installing (dry-run)
./NEWbara.sh -d config/dnf-packages.txt -n

Configuration Files

Create custom package lists in plain text format (one per line):

# config/my-dnf-packages.txt
neovim
git
python3
nodejs
tmux

# config/my-flatpak-apps.txt
org.videolan.VLC
md.obsidian.Obsidian
org.kde.krita
io.github.zen_browser.zen
      

Pro Tip: Create separate configuration files for different use cases (dev, gaming, media) and switch between them as needed.

Command-Line Options

NEWbara.sh [OPTIONS]

OPTIONS:
-d FILE Path to DNF packages configuration file
-f FILE Path to Flatpak apps configuration file
-S Install Flatpak apps system-wide (default: user installation)
-n Dry-run mode (preview without installing)
-h Display help message

EXAMPLES:
./NEWbara.sh -d packages.txt
./NEWbara.sh -d dnf.txt -f flatpak.txt -S -n
./NEWbara.sh -h

Dependencies

Note: cowsay and lolcat can be safely uninstalled after running: sudo dnf remove cowsay lolcat

Troubleshooting