Last active
May 4, 2023 13:26
-
-
Save mcarletti/59b223a53164e0c9db9f412979e1de4f to your computer and use it in GitHub Desktop.
Setup Ubuntu after fresh install.
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/sh | |
if [[ $(/usr/bin/id -u) -ne 0 ]]; then | |
echo "Not running as root" | |
exit 1 | |
fi | |
apt update | |
apt upgrade -y | |
# install sytem utilities | |
apt install curl wget graphviz gparted htop tree baobab feh usb-creator-gtk net-tools gimp inkscape barrier filezilla vlc openssh-server -y | |
#apt install gnome-tweaks dconf-editor | |
# install c/c++/opengl libraries | |
apt install build-essential cmake git tig -y | |
apt install libgl1-mesa-dev libglfw3-dev libglew-dev libglm-dev libsdl2-dev libsdl2-image-dev -y | |
# download and install anaconda for python3 dev | |
curl -O https://repo.anaconda.com/archive/Anaconda3-2023.03-1-Linux-x86_64.sh | |
bash Anaconda3-2023.03-1-Linux-x86_64.sh | |
# ENTER > q > yes (show, close and accept licence) | |
# ENTER (accept default installation folder) | |
# yes (the installer initializes conda) | |
# install advanced text editor (visual studio code) | |
snap install code --classic | |
snap install slack --classic | |
snap install zoom-client | |
# remove unused utilities and games | |
apt remove --purge deja-dup thunderbird gnome-mahjongg gnome-mines gnome-sudoku -y | |
rm -rf .macromedia/ .adobe/ | |
apt autoremove --purge -y | |
apt update | |
apt upgrade -y | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment