Last active
December 11, 2024 22:21
-
-
Save alexisselorm/24ea1e6a0813ff9b7dbaa374108cb94e to your computer and use it in GitHub Desktop.
Alexis' Ubuntu essentials to install
This file contains hidden or 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 | |
# Update package list and upgrade all packages | |
sudo apt update && sudo apt upgrade -y | |
# Install essential packages | |
sudo apt install -y \ | |
git \ | |
curl \ | |
vim \ | |
build-essential \ | |
htop \ | |
snapd \ | |
rar \ | |
unrar \ | |
neofetch \ | |
gnome-shell-extensions \ | |
gnome-shell-extension-manager \ | |
unzip \ | |
gcc \ | |
g++ \ | |
dkms \ | |
libssl-dev \ | |
libreadline-dev \ | |
libffi-dev \ | |
libsqlite3-dev \ | |
libbz2-dev \ | |
liblzma-dev \ | |
libncurses5-dev \ | |
libgdbm-dev \ | |
libnss3-dev \ | |
libdb5.3-dev \ | |
libpcap-dev \ | |
xclip \ | |
flameshot \ | |
ghostscript \ | |
libapache2-mod-php \ | |
mysql-server \ | |
php \ | |
php-bcmath \ | |
php-curl \ | |
php-imagick \ | |
php-intl \ | |
php-json \ | |
php-mbstring \ | |
php-mysql \ | |
php-xml \ | |
php-zip \ | |
# Install Node.js v18 (LTS) | |
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - | |
sudo apt install -y nodejs | |
# Install Docker (Optional) | |
sudo apt install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt update | |
sudo apt install -y docker-ce | |
# Beekeeper Studio | |
# Install our GPG key | |
echo "Installing Beekeper" | |
curl -fsSL https://deb.beekeeperstudio.io/beekeeper.key | sudo gpg --dearmor --output /usr/share/keyrings/beekeeper.gpg \ | |
&& sudo chmod go+r /usr/share/keyrings/beekeeper.gpg \ | |
&& echo "deb [signed-by=/usr/share/keyrings/beekeeper.gpg] https://deb.beekeeperstudio.io stable main" \ | |
| sudo tee /etc/apt/sources.list.d/beekeeper-studio-app.list > /dev/null | |
# Update apt and install | |
sudo apt update && sudo apt install beekeeper-studio -y | |
# Dotnet SDK | |
echo "Installing .NET" | |
sudo apt-get update && \ | |
sudo apt-get install -y dotnet-sdk-8.0 | |
#Dotnet runtime | |
sudo apt-get update && \ | |
sudo apt-get install -y aspnetcore-runtime-8.0 | |
echo "Essentials installation completed!" | |
#Brave | |
sudo apt install curl | |
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg | |
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list | |
sudo apt update | |
sudo apt install -y brave-browser | |
echo "Installed brave" | |
#Enpass | |
echo "deb https://apt.enpass.io/ stable main" | sudo tee /etc/apt/sources.list.d/enpass.list | |
wget -O - https://apt.enpass.io/keys/enpass-linux.key | sudo tee /etc/apt/trusted.gpg.d/enpass.asc | |
sudo apt-get update | |
sudo apt-get install -y enpass | |
#Vscode | |
curl -fsSLo vscode.deb "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" | |
sudo apt install -y ./vscode.deb | |
#Docker | |
curl -fsSLo docker.deb "https://desktop.docker.com/linux/main/amd64/docker-desktop-amd64.deb?utm_source=docker&utm_medium=webreferral&utm_campaign=docs-driven-download-linux-amd64" | |
sudo apt install -y ./docker.deb | |
#Remove after install | |
rm -rf docker.deb vscode.deb | |
#Anaconda | |
curl -O https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh | |
bash ./Anaconda3-2024.10-1-Linux-x86_64.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment