Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env bash
- # Created with Pop_OS! in mind, these commands should work with
- # Ubuntu, Zorin OS, Debian and other Ubuntu based distros running Gnome DTE
- # Should also work with non-Gnome Ubuntu based distros sans extensions.
- 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
- # For Debian 11 stable, Ubuntu 21.04 and older versions, you need to install the nala-legacy package
- echo "deb [arch=amd64,arm64,armhf] http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list
- wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null
- sudo apt install nala-legacy
- # Install utilties =============================================================
- sudo apt install gnome-tweaks chrome-gnome-shell gnome-extensions-app gnome-shell-extension-prefs
- sudo apt install curl wget gdebi keepassxc tilix libfuse2
- # 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
- # cd rofi-themes-collection
- mv rofi-themes-collection/themes/spotlight-dark.rasi ~/.local/share/rofi/themes/
- # rofi-theme-selector
- # 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 Extensions =============================================================
- # see https://pastebin.com/edit/5BLYUAGh
- # Install fonts ================================================================
- # Install Hasklig font
- cd ~/Downloads
- wget https://github.com/i-tu/Hasklig/releases/download/v1.2/Hasklig-1.2.zip
- unzip Hasklig-1.2.zip -d Hasklig
- sudo mkdir /usr/share/fonts/opentype/Hasklig
- sudo mv ~/Downloads/Hasklig/OTF/*.* /usr/share/fonts/opentype/Hasklig
- rm -rf ~/Downloads/Hasklig
- # Install JetBrains Mono font
- wget https://download.jetbrains.com/fonts/JetBrainsMono-2.242.zip
- unzip JetBrainsMono-2.242.zip -d JetBrains
- sudo mkdir /usr/share/fonts/truetype/JetBrains_Mono
- sudo mv ~/Downloads/JetBrains/fonts/ttf/*.* /usr/share/fonts/truetype/JetBrains_Mono
- rm -rf ~/Downloads/JetBrains
- # Install FiraCode, Roboto and Microsoft Core fonts
- sudo apt-get install -y fonts-firacode fonts-roboto ttf-mscorefonts-installer
- # Software Developoment ========================================================
- sudo apt install -y clang golang cmake meld
- # 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 =================================================================
- # 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
- # 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 browsers =============================================================
- # 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 Google Chrome
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome-stable_current_amd64.deb
- # Install Chromium Browser
- sudo apt-get install -y chromium-browser
- # Keyboard Shortcuts ===========================================================
- # Navigation - MOVE WINDOW COMMANDS
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-1 "['<Primary><Alt>KP_1']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-2 "['<Primary><Alt>KP_2']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-3 "['<Primary><Alt>KP_3']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-4 "['<Primary><Alt>KP_4']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-5 "['<Primary><Alt>KP_5']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-6 "['<Primary><Alt>KP_6']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-7 "['<Primary><Alt>KP_7']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-8 "['<Primary><Alt>KP_8']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-9 "['<Primary><Alt>KP_9']"
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-left "['<Primary><Alt>Left']" &&
- gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-right "['<Primary><Alt>Right']"
- # Navigation - SWITCH WINDOW COMMANDS
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Primary><Super>KP_1']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Primary><Super>KP_2']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Primary><Super>KP_3']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Primary><Super>KP_4']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<Primary><Super>KP_5']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-6 "['<Primary><Super>KP_6']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-7 "['<Primary><Super>KP_7']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-8 "['<Primary><Super>KP_8']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-9 "['<Primary><Super>KP_9']"
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['<Control><Super>Left']" &&
- gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['<Control><Super>Right']"
- # Install i3wm =================================================================
- sudo apt install i3 lxappearance nitrogen rofi pavucontrol
- sudo apt install pulseaudio-module-bluetooth pulseaudio-equalizer pulseaudio-module-jack alsa-utils playerctl
Add Comment
Please, Sign In to add comment