Skip to content

Instantly share code, notes, and snippets.

@vietanhdev
Created April 20, 2025 00:08
Show Gist options
  • Save vietanhdev/93f4d403d18d6c8a3eae893ba66973ec to your computer and use it in GitHub Desktop.
Save vietanhdev/93f4d403d18d6c8a3eae893ba66973ec to your computer and use it in GitHub Desktop.
Install and config packages on Ubuntu 24.04
#!/bin/sh
# Update the system
sudo apt update && sudo apt full-upgrade
# Basic packages
sudo apt install -y p7zip-full unrar gparted wget build-essential curl git
# Java
sudo apt install -y default-jre
# Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt install -y gnome-shell-extensions gnome-shell-extensions
# VS Code
sudo apt update
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt install -y code
# Utils
sudo apt install -y nano net-tools sshpass
# Docker
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt update
sudo apt -y install docker-ce docker-ce-cli containerd.io
# Gimp, VLC
sudo apt install -y gimp vlc
# Miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
# Config Github
git config --global user.name "Viet-Anh Nguyen"
git config --global user.email "[email protected]"
# Fonts
git clone https://github.com/vietanhdev/my-fonts
cd my-fonts && bash install_all_fonts.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment