Skip to content

Instantly share code, notes, and snippets.

@dmpe
Last active July 19, 2023 22:38
Show Gist options
  • Save dmpe/9b8461da314af1e1d1274f412b7026c2 to your computer and use it in GitHub Desktop.
Save dmpe/9b8461da314af1e1d1274f412b7026c2 to your computer and use it in GitHub Desktop.
A post script which installs some basic tools for Ubuntu OS
#!/bin/bash
sudo apt update
sudo apt upgrade -y
sudo apt install -y wget curl
cd Downloads/
# Edge
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo rm microsoft.gpg
sudo apt update && sudo apt install microsoft-edge-stable
# PPA
sudo add-apt-repository -y ppa:freyja-dev/unity-tweak-tool-daily
sudo add-apt-repository -y ppa:libreoffice/ppa
sudo add-apt-repository -y ppa:webupd8team/java
sudo add-apt-repository -y ppa:oibaf/graphics-drivers
sudo add-apt-repository -y ppa:ubuntuhandbook1/shutter
sudo add-apt-repository -y ppa:inameiname/stable
# Sublime Editor
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
# Skype + teamviewer
curl -k -LOJ https://download.teamviewer.com/download/linux/teamviewer_amd64.deb
curl -k -LOJ http://repo.steampowered.com/steam/archive/precise/steam_latest.deb
# Node.js
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
# Install them all - GDEBI, JAVA, CHROME, GIT, Sublime, Unity Tweak
# screenshot tool - shutter,
sudo apt update
sudo apt-get install -y --install-recommends nodejs build-essential gdebi apt-transport-https git wmctrl \
sublime-text google-chrome-stable p7zip-full p7zip-rar \
unrar zip unzip gnome-tweak-tool oracle-java8-installer \
shutter ubuntu-restricted-extras vlc neofetch mesa-utils \
mesa-vdpau-drivers flashplugin-installer libavcodec-extra \
libdvd-pkg libgl1-mesa-dri libgl1-mesa-dri:i386 \
libgl1-mesa-glx:i386 libc6:i386 libdvdread4 libdvd-pkg udo \
fonts-cantarell lmodern ttf-aenigma ttf-georgewilliams \
ttf-bitstream-vera ttf-sjfonts ttf-tuffy tv-fonts \
language-pack-ru language-pack-gnome-ru libreoffice-l10n-ru \
hyphen-ru mythes-ru hunspell-ru gthumb libatk1.0-0:i386 \
libc6:i386 libcairo2:i386 libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 \
libgtk2.0-0:i386 libpango1.0-0:i386 libx11-6:i386 \
libcanberra-gtk-module:i386 libcups
sudo apt update
sudo apt-get install -f
sudo gdebi teamviewer_amd64.deb
sudo gdebi steam_latest.deb
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove -y
sudo apt upgrade
neofetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment