Last active
December 29, 2021 15:41
-
-
Save Saka7/fff9c11b34ddc63a9d04af99313418f6 to your computer and use it in GitHub Desktop.
Debian 11 KDE postinstall
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update && sudo apt upgrade | |
# Install correct wifi drivers | |
lspci | grep -i 'Wireless' | |
# Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter | |
sudo apt install firmware-atheros -y | |
# Network controller: Intel Corporation Intel Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99) | |
sudo apt install firmware-iwlwifi -y | |
# Install general software | |
sudo apt install vim vifm visidata git-core tmux tree htop nmap curl jq vlc keepassx ncdu bat ripgrep magic-wormhole neofetch -y | |
# Debloat KDE | |
sudo apt remove kwrite kwrited kmail akonadi-server juk dragonplayer k3b k3b-data k3b-i18n akregator --auto-remove -y | |
# Install docker and docker-compose | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/debian \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get update | |
sudo apt-get install docker docker-compose -y | |
sudo docker run hello-world | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
# Install npm and nodejs | |
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh | |
chmod +x ./nodesource_setup.sh | |
sudo ./nodesource_setup.sh | |
sudo apt install nodejs | |
nodejs -v | |
npm -v | |
# Install zsh | |
sudo apt install zsh -y | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -y | |
cd ~/.oh-my-zsh/themes | |
git clone https://github.com/Saka7/laconic.zsh-theme.git laconic | |
mv laconic/laconic.zsh-theme ./ | |
rm -rf laconic | |
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | |
~/.fzf/install | |
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting | |
source ~/.zshrc | |
# Other tools | |
# ffsend | |
snap install ffsend | |
# Virtualbox | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - | |
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bionic contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list | |
sudo apt update | |
sudo apt install virtualbox-6.0 -y | |
# Transmission | |
sudo apt install transmission transmission-cli transmission-common transmission-gtk -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment