Skip to content

KnightTheCoder/Linux-Distro-Post-Install-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Linux Distro Post Install Scripts! 👋

Stargazers GitHub License GitHub code size in bytes GitHub last commit GitHub Issues

Post install script

Requirements · Usage · Features · Project documentation

A collection of scripts for getting a new system up and running easily

preview

Note

Click on distros for distro specific features and information

Supported distros

Tested distros:

  • OpenSUSE Tumbleweed
  • OpenSUSE Leap
  • Fedora
  • Debian
  • Ubuntu
  • Linux Mint
  • ZorinOS
  • Pop!_OS
  • MX Linux
  • Linux Lite
  • WSL
  • Arch Linux
  • EndeavourOS
  • Manjaro Linux

Written in Bash and whiptail

Note

Originally designed for OpenSUSE Tumbleweed KDE
Only tested with the x86 architecture

Important

If you're using a very old iso, update the system and restart before running the script
Recommended on Arch Linux and OpenSUSE Tumbleweed

🛠 Requirements

  • curl (to download the scripts)
  • unzip (to unzip the scripts)
  • bash (to run the scripts)
  • systemd (needed to start services)
Debian
sudo apt install curl unzip bash -y
Fedora
sudo dnf install curl unzip bash -y
OpenSUSE
sudo zypper install --details -y curl unzip bash
Arch linux
sudo pacman -Syy curl unzip bash --noconfirm --needed

💡 Usage

Note

Step 1: Download scripts (will be downloaded to your downloads directory)
Step 2: Navigate to the downloaded scripts and unzip them
Step 3: Run the script

Stable
curl -Lo "$(xdg-user-dir DOWNLOAD)/post-install-scripts.zip" "https://github.com/KnightTheCoder/Linux-Distro-Post-Install-Scripts/archive/refs/heads/master.zip"

cd "$(xdg-user-dir DOWNLOAD)" && unzip -o post-install-scripts.zip && cd Linux-Distro-Post-Install-Scripts-master

bash ./post_install.sh
Experimental
curl -Lo "$(xdg-user-dir DOWNLOAD)/post-install-scripts.zip" "https://github.com/KnightTheCoder/Linux-Distro-Post-Install-Scripts/archive/refs/heads/maintanence.zip"

cd "$(xdg-user-dir DOWNLOAD)" && unzip -o post-install-scripts.zip && cd Linux-Distro-Post-Install-Scripts-maintanence

bash ./post_install.sh

✨ Features

  • Choose the apps and configurations you need
  • Install one of 3 firefox policy templates for privacy and preinstalled extensions
  • Updates the system
  • Removes bloat
  • Install NVIDIA drivers
  • Option to remove discover
  • Installs browsers
  • Sets up flatpak and install flatpak apps
  • Downloads and installs microsoft and hack nerd fonts
  • Installs Visual Studio Code and Codium extensions and copies the keybindings (customizable in the config file)
  • Adds the following command line utilities: neovim, eza, bat
  • Installs gaming launchers
  • Installs wine, Protonup-Qt to run windows games
  • Sets up shells and prompts
  • Installs NvChad or AstroNvim for neovim as configs
  • Installs programming languages and development environments
  • Optionally sets hostname

❓ Why use it?

Post install script for linux aims to quickly setup a system with the same configuration/software across multiple distros.

The scripts are meant to be reproducable and allow you to get to using your new system/virtual machine rather than try to replicate your already existing setup.

You only need to configure apps and configuration files once when changing the project to suit your own needs and be able to use it afterwards.

💻 Project location

By using the provided commands the scripts will be downloaded and unzipped in your language's Downloads folder

Note

Run xdg-user-dir DOWNLOAD to find out the location of yours

🌐 Firefox policy

3 firefox policy templates are included for increased privacy.

Increases privacy, removes telemetry and installs privacy extensions.

Full policy list and changes: here

Note

Can be found at config/firefox/policies.json
Manually edit to customize, then copy to /etc/firefox/policies/ for it to work