Linux Scripts
These are my personal scripts to automate tasks related to Linux/Unix environments. They help in setting up and configuring various aspects of the system, including package installation, repository setup, and configuration of specific tools and services.
Documentation
arch-setup.sh
This script is specifically designed for Arch Linux systems. It includes functions to install packages, check and install whiptail, add repositories, update the system, set up Pacman configuration, and install various package groups such as Zsh, themes, games, Pipewire, Cups, NetworkManager, Bluetooth, virtualization, containers, U2F, and OpenRGB. It also includes functions to set up browsers, configure U2F, and set up Plymouth.
To run this script:
curl -sL https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/arch-setup.sh | bash
Alternatively, using wget:
wget -qO- https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/arch-setup.sh | bash
fedora-setup.sh
This script is intended for Fedora systems. It includes functions to install packages, add repositories, update the system, set up Plymouth, and install various package groups such as Zsh, games, Pipewire, Cups, NetworkManager, Bluetooth, virtualization, containers, U2F, and OpenRGB. It also includes functions to set up browsers, configure U2F, and set up Plymouth.
To run this script:
curl -sL https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/fedora-setup.sh | bash
Alternatively, using wget:
wget -qO- https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/fedora-setup.sh | bash
debian-setup.sh
This script is tailored for Debian-based systems. It includes functions to install packages, add repositories, update the system, set up Plymouth, and install various package groups such as Zsh, games, Pipewire, Cups, NetworkManager, Bluetooth, virtualization, containers, U2F, and OpenRGB. It also includes functions to set up browsers, configure U2F, and set up Plymouth.
To run this script:
curl -sL https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/debian-setup.sh | bash
Alternatively, using wget:
wget -qO- https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/debian-setup.sh | bash
desktop-setup.sh
This script helps in setting up different desktop environments on your system. It detects the distribution and installs the selected desktop environment (GNOME, KDE, XFCE, Cinnamon, MATE, Budgie, Sway, or Hyprland) along with necessary packages.
To run this script:
curl -sL https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/desktop-setup.sh | bash
Alternatively, using wget:
wget -qO- https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/desktop-setup.sh | bash
distrobox-setup.sh
This script installs preconfigured Arch, Debian, and Fedora containers for development using distrobox. It checks if distrobox is installed, installs it if necessary, and sets up the selected containers.
To run this script:
curl -sL https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/distrobox-setup.sh | bash
Alternatively, using wget:
wget -qO- https://git.justw.tf/Lightemerald/linux-scripts/raw/branch/main/distrobox-setup.sh | bash
Roadmap
- Add Jetbrain setup
- archinstall alternative
- server-setup.sh
Contributing
Contributions are always welcome!
Open a pull request and we'll discuss the integration of your script or fixes.
FAQ
What are these scripts for?
Automating tasks (mostly setup) on major *NIX environments such as desktop or server setup.
I found an issue, what should I do?
Open an issue with all the necessary information so we can fix it, or submit a pull request if you have found a solution.