Skip to content

Instantly share code, notes, and snippets.

@fevangelou fevangelou/
Last active Sep 24, 2019

What would you like to do?
New Ubuntu Desktop 18.04 Preparation
# Short URL:
# How to use:
# $ cd ~/Downloads
# $ wget -O
# $ chmod +x
# $ sudo ./
# To Do:
# - Adapt for Fedora
# - Adapt for 32/64 bit versions
# - Add checks for minimum version allowed to be installed
# - Add installer for Nano Editor (latest version with syntax highlight/support)
source /etc/os-release
mkdir -p ~/Downloads/Apps/
cd ~/Downloads/Apps/
# Update system first
sudo apt -y update
sudo apt -y dist-upgrade
# Utilities
sudo apt -y install apache2-utils apt-transport-https aptitude bash-completion bc bmon bzip2 cron curl debconf-utils dialog dnsutils ethtool expect fancontrol git hddtemp htop httpie ifstat iftop ifupdown iotop iptables iptraf jpegoptim linux-tools-common linux-tools-generic lm-sensors lsb-release lzop make multitail nano net-tools nethogs optipng psensor psmisc rsync screenfetch shellcheck siege slurm smartmontools snapd snmp software-properties-common speedometer sudo sysstat tasksel tcptrack telnet tree unzip webp zip
sudo apt -y install asunder dconf-tools gedit-plugins gedit-plugins-common gnome-shell-extensions gnome-tweaks gprename gthumb hollywood pwgen renrot
# === Apps ===
sudo snap -y install alsa-utils cacher chromium coulr e-tools ffmpeg filebot fkill gifcurry gifski gimp glances gnome-system-monitor google-play-music-desktop-player gravit-designer handbrake-jz htop lepton matroska-tools notepadqq odio odrive-unofficial onlyoffice-desktopeditors opera pac-vs photoscape picard poedit polarr qownnotes raven-reader recollectr remmina remote-touchpad screencloud simplenote snap-store spotify termius-app vidcutter vlc
sudo snap -y install atom --classic
sudo snap -y install code --classic
sudo snap -y install eclipse --classic
sudo snap -y install github-desktop --edge
sudo snap -y install mackup --classic
sudo snap -y install node --channel=10/stable --classic
sudo snap -y install opendvdproducer --edge
sudo snap -y install shotcut --classic
sudo snap -y install skype --channel=insider/stable --classic
sudo snap -y install snapcraft --classic
sudo snap -y install sublime-text --classic
# Others to consider:
# disk-space-saver
# easy-disk-cleaner
# mkvtoolnix-jz (remove custom installer below first)
# rambox
# For developers:
# docker
# lxd
# microk8s
# netbeans --classic
# Configure GNOME
gsettings set enable-hot-corners true
gsettings set extend-height false
gsettings set dock-position BOTTOM
# Flatpak
sudo add-apt-repository -y ppa:alexlarsson/flatpak
sudo apt -y update
sudo apt -y install flatpak
sudo apt -y install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub
# Flatpak Apps
flatpak install -y flathub com.calibre_ebook.calibre
flatpak install -y flathub com.github.muriloventuroso.easyssh
flatpak install -y flathub com.viber.Viber
flatpak install -y flathub org.gabmus.hydrapaper
# Using PyPi
sudo pip install -y glances youtube-dlg
# === Single Apps ===
# Brave -
curl -s | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
echo "deb [arch=amd64] $UBUNTU_CODENAME main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${UBUNTU_CODENAME}.list
sudo apt -y update
sudo apt -y install brave-keyring brave-browser
# MKVtoolnix -
wget -q -O - | sudo apt-key add -
cat > "/etc/apt/sources.list.d/mkvtoolnix.list" <<EOF
deb-src $UBUNTU_CODENAME main
sudo apt -y update
sudo apt -y install mkvtoolnix mkvtoolnix-gui
# Chrome
wget -q -O - | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt -y update
sudo apt -y install google-chrome-stable chrome-gnome-shell
# cd ~/Downloads/Apps/
# wget
# sudo dpkg -i google-chrome-stable_current_amd64.deb
# TeamViewer
sudo dpkg -i teamviewer_amd64.deb
# === Single Apps That Require Version Updating ===
# BleachBit
wget -O bleachbit_2.2_all_ubuntu1804.deb
sudo dpkg -i bleachbit_2.2_all_ubuntu1804.deb
# Boostnote
sudo dpkg -i boostnote_0.11.15_amd64.deb
# Dropbox
wget -O dropbox_2019.02.14_amd64.deb
sudo dpkg -i dropbox_2019.02.14_amd64.deb
# === Finish ===
sudo apt -y autoremove
# === Path Aliases ===
ln -s /home /Users
# === /etc/sysctl.conf Tweaks ===
# For VS Code:
sudo echo "fs.inotify.max_user_watches=524288" >> /etc/sysctl.conf
sudo sysctl -p
echo ""
echo ""
echo " === Installation Completed === "
echo ""
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.