#!/usr/bin/env bash # Created with Linux Mint/Debian/LMDE in mind, these commands should work with # Ubuntu, Zorin OS, PopOS! and other Ubuntu based distros cd ~/Downloads sudo apt update && sudo apt upgrade -y # Install Nala APT Frontend ===================================================== # For Ubuntu 22.04+ / Debian Sid: sudo apt update && sudo apt install nala # Install Utilties ============================================================= /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" sudo apt install curl wget git gdebi bat btop eza fzf ripgrep glances tealdeer zoxide sudo apt install keepassxc catfish sudo apt install qalculate-gtk # sudo apt install speedcrunch # Install Terminals ============================================================ # Install Starship Cross-Shell Prompt curl -sS https://starship.rs/install.sh | sh echo 'eval "$(starship init bash)"' >> ~/.bashrc mkdir ~/.config/starship wget -O ~/.config/starship/starship.toml https://pastebin.com/CCVm1uYz # Install Alacritty terminal sudo apt install alacritty mkdir ~/.config/alacritty wget -O ~/.config/alacritty/alacritty.toml https://pastebin.com/raw/A1G58t6f # Alacritty Themes mkdir -p ~/.config/alacritty/themes git clone https://github.com/alacritty/alacritty-theme ~/Downloads/alacritty_themes mv ~/Downloads/alacritty_themes/themes ~/.config/alacritty rm -rf ~/Downloads/alacritty_themes # Install Ghostty terminal (Debian 12) echo 'deb http://download.opensuse.org/repositories/home:/clayrisser:/bookworm/Debian_12/ /' | sudo tee /etc/apt/sources.list.d/home:clayrisser:bookworm.list curl -fsSL https://download.opensuse.org/repositories/home:clayrisser:bookworm/Debian_12/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_clayrisser_bookworm.gpg > /dev/null sudo apt update sudo apt install ghostty # Install wezterm curl -fsSL https://apt.fury.io/wez/gpg.key | sudo gpg --yes --dearmor -o /usr/share/keyrings/wezterm-fury.gpg echo 'deb [signed-by=/usr/share/keyrings/wezterm-fury.gpg] https://apt.fury.io/wez/ * *' | sudo tee /etc/apt/sources.list.d/wezterm.list sudo chmod 644 /usr/share/keyrings/wezterm-fury.gpg sudo apt update sudo apt install wezterm mkdir ~/.config/wezterm wget -O ~/.config/wezterm/wezterm.lua https://pastebin.com/raw/LbPbVfrg # Install if necessary sudo apt install libfuse2 # Install Application Launchers ================================================= # Install Rofi sudo apt install rofi mkdir -p ~/.config/rofi/ mkdir -p ~/.local/share/rofi/themes/ cd ~/Downloads git clone https://github.com/lr-tech/rofi-themes-collection.git # mv ~/Downloads/rofi-themes-collection/themes/spotlight-dark.rasi ~/.local/share/rofi/themes/ mv ~/Downloads/rofi-themes-collection/themes/*.rasi ~/.local/share/rofi/themes/ # rofi-theme-selector # rofi -show drun -show-icons -icon-theme "Papirus" # Install Ulauncher wget https://github.com/Ulauncher/Ulauncher/releases/download/5.14.4/ulauncher_5.14.4_all.deb sudo gdebi ulauncher_5.14.4_all.deb # Gnome Utilties =============================================================== # sudo apt install gnome-tweaks chrome-gnome-shell gnome-extensions-app gnome-shell-extension-prefs # Gnome Extensions ============================================================= # see https://pastebin.com/edit/5BLYUAGh # Install fonts ================================================================ wget -O ~/Downloads/install-fonts.sh https://pastebin.com/raw/Ak9ZvPwC chmod +x ~/Downloads/install-fonts.sh # Software Developoment ======================================================== sudo apt install -y clang golang cmake meld spyder lazarus # install curl, if necessary sudo apt install curl # installs NVM (Node Version Manager) curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash # download and install Node.js nvm install 20 # verifies the right Node.js version is in the environment node -v # should print `v20.12.0` # verifies the right NPM version is in the environment npm -v # should print `10.5.0` # install pgp key for yarn curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - # enable yarn repository echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list # install yarn with apt sudo apt install yarn -y # Install Github CLI (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \ && sudo mkdir -p -m 755 /etc/apt/keyrings \ && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \ && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \ && sudo apt update \ && sudo apt install gh -y # Install Docker curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh sudo usermod -aG docker $USER # Code Editors ================================================================= sudo apt install sublime-text sublime-merge -y # Install Sublime Text wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list sudo apt-get update sudo apt-get install sublime-text # Install Visual Studio Code curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" sudo apt update sudo apt install code # Database Tools =============================================================== sudo apt-get install sqlitebrowser wget https://dbeaver.io/files/dbeaver-ce_latest_amd64.deb -P ~/Downloads sudo gdebi ~/Downloads/dbeaver-ce_latest_amd64.deb # Science and Education ======================================================== sudo apt-get install -y julia sagemath # Install Octave and plug-ins sudo nala install octave octave-arduino octave-statistics octave-database octave-dataframe octave-data-smoothing octave-financial octave-general octave-io octave-linear-algebra octave-missing-functions octave-signal octave-sockets octave-specfun octave-tsa # Install Miniconda 3 mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm ~/miniconda3/miniconda.sh ## After installing, close and reopen your terminal application or refresh it by running the following command: source ~/miniconda3/bin/activate ## Then, initialize conda on all available shells by running the following command: conda init --all ## Prevent Conda from activating base environment on terminal launch: conda config --set auto_activate_base false ## Create New Conda virtual environment: conda create -n <env-name> python=3.13.5 # Install browsers ============================================================= # Install Brave Browser curl -fsS https://dl.brave.com/install.sh | sh # Install Google Chrome wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb # sudo dpkg -i google-chrome-stable_current_amd64.deb sudo gdebi google-chrome-stable_current_amd64.deb # Install Waterfox Browser cd ~/Downloads wget https://github.com/WaterfoxCo/Waterfox/releases/download/G4.1.1.1/waterfox-G4.1.1.1.en-US.linux-x86_64.tar.bz2 tar -xvf waterfox-G4.1.1.1.en-US.linux-x86_64.tar.bz2 sudo mv waterfox /opt/ wget https://pastebin.com/raw/bYF8aqjr && sudo mv bYF8aqjr /usr/share/applications/Waterfox.desktop # Install Chromium Browser sudo apt-get install -y chromium-browser # Install i3wm ================================================================= sudo apt install i3 lxappearance nitrogen rofi pavucontrol sudo apt install pulseaudio-module-bluetooth pulseaudio-equalizer pulseaudio-module-jack alsa-utils playerctl
Comments