86 lines
2.2 KiB
Bash
Executable File
86 lines
2.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo This is a script for setting up my debain based linux system.
|
|
echo "Updating and Upgrading System"
|
|
|
|
yes | sudo apt update && sudo apt upgrade && sudo apt install git
|
|
yes | sudo apt install wget
|
|
|
|
|
|
###Install Proton Mail and VPN #######
|
|
|
|
#### Mail ####
|
|
echo "Installing Proton Mail"
|
|
wget https://proton.me/download/mail/linux/ProtonMail-desktop-beta.deb
|
|
echo "Proton Mail downloaded"
|
|
echo "Installing Proton Mail"
|
|
yes | sudo apt install ./ProtonMail-desktop-beta.deb
|
|
rm ProtonMail-desktop-beta.deb
|
|
# Clean up
|
|
echo "Cleaning up"
|
|
#### VPN ####
|
|
yes | sudo apt install proton-vpn-cli
|
|
|
|
|
|
|
|
#### Install Discord ####
|
|
echo "Installing Discord"
|
|
# Download Discord
|
|
echo "Downloading Discord"
|
|
wget https://dl.discordapp.net/apps/linux/0.0.15/discord-0.0.15.deb
|
|
yes | sudo apt install ./discord-0.0.15.deb
|
|
echo "Discord installed"
|
|
# Clean up
|
|
echo "Cleaning up"
|
|
rm discord-0.0.15.deb
|
|
|
|
# Download Steam
|
|
echo "Downloading Steam"
|
|
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
|
|
echo "Steam downloaded"
|
|
echo "Installing Steam"
|
|
# Install Steam
|
|
yes | sudo apt install steam.deb
|
|
rm steam.deb
|
|
echo "Steam installed"
|
|
|
|
# Install VS Code
|
|
echo "Installing VS Code"
|
|
# Download VS Code
|
|
wget -O code-latest.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64'
|
|
# Install VS Code
|
|
echo "Installing VS Code"
|
|
sudo apt install ./code-latest.deb
|
|
echo "VS Code installed"
|
|
# Clean up
|
|
echo "Cleaning up"
|
|
rm code-latest.deb
|
|
|
|
|
|
echo "Installing Docker"
|
|
|
|
# Add Docker's official GPG key:
|
|
sudo apt update
|
|
sudo apt install ca-certificates curl
|
|
sudo install -m 0755 -d /etc/apt/keyrings
|
|
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
|
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
|
|
|
# Add the repository to Apt sources:
|
|
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
|
Types: deb
|
|
URIs: https://download.docker.com/linux/debian
|
|
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
|
Components: stable
|
|
Signed-By: /etc/apt/keyrings/docker.asc
|
|
EOF
|
|
|
|
sudo apt update
|
|
|
|
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
|
|
|
|
|
##Open Dashlane website to download the firefox extension
|
|
firefox 'https://addons.mozilla.org/en-US/firefox/addon/dashlane/'
|
|
|
|
echo "Setup Complete!" |