Skip to content

Instantly share code, notes, and snippets.

@thiagomgo
Last active October 19, 2023 08:10
Show Gist options
  • Save thiagomgo/077aef9abdd5fd72299872e6a92c5f9a to your computer and use it in GitHub Desktop.
Save thiagomgo/077aef9abdd5fd72299872e6a92c5f9a to your computer and use it in GitHub Desktop.
Post-installation script for Linux Mint/Ubuntu
# Sudo without password
sudo visudo
username ALL=(ALL) NOPASSWD: ALL # At the end of the file
# Get the latest updates
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get -y upgrade
# Manage the repositories that you install
sudo apt-get install -y software-properties-common
# Install Oracle Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y oracle-java8-installer
sudo apt-get install -y oracle-java8-set-default
# Google Chrome (64 bit)
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo gdebi google-chrome-stable_current_amd64.deb
# Google Chrome (32 bit)
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
sudo gdebi google-chrome-stable_current_i386.deb
# Multimedia codecs
sudo apt-get install -y ubuntu-restricted-extras
sudo apt-get install -y libdvdcss2 libdvdnav4 libdvdread4
# Install VLC
sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install -y vlc
# Rar and other archiving utilities
sudo apt-get install -y unace p7zip-rar sharutils rar arj lunzip lzip gdebi
# Clipboard manager
sudo add-apt-repository ppa:diodon-team/stable
sudo apt-get update
sudo apt-get install diodon
# Tilix (drop-down terminal: tilix --quake)
sudo add-apt-repository ppa:webupd8team/terminix
sudo apt-get update
sudo apt-get install -y tilix
# QBittorrent Client
sudo apt-get install -y qbittorrent
# Install BleachBit (System Cleaner)
sudo apt-get install bleachbit
# Microsoft font
sudo apt-get install -y ttf-mscorefonts-installer
# Teamviewer (64 bit)
wget http://download.teamviewer.com/download/teamviewer_amd64.deb
sudo gdebi teamviewer_11.0.xxxxx_amd64.deb
# Teamviewer (32 bit)
http://download.teamviewer.com/download/teamviewer_i386.deb
sudo gdebi teamviewer_11.0.xxxxx_i386.deb
# Whatsie
wget https://github.com/gsantner/whatsie/releases/download/v2.1.0/whatsie-2.1.0-linux-amd64.deb
sudo gdebi whatsie-2.1.0-linux-amd64.deb
# Sublime Text 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install -y sublime-text
# Remmina
sudo apt-add-repository -y ppa:remmina-ppa-team/remmina-next
sudo apt-get update
sudo apt-get install -y remmina remmina-plugin-rdp libfreerdp-plugins-standard
# Spotify
sudo apt-add-repository -y "deb http://repository.spotify.com stable non-free"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D2C19886
sudo apt-get update
sudo apt-get install -y spotify-client
# Skype-Alpha
wget https://go.skype.com/skypeforlinux-64-alpha.deb
sudo gdebi skypeforlinux-64-alpha.deb
# Hardinfo
sudo apt-get install -y hardinfo
# Install Python-pip
sudo apt install -y python-pip
# Ansible
sudo pip install ' ansible==2.2.1'
# Install useful packages
sudo apt install -y curl wget jq make gcc git vim silversearcher-ag
# Keepass 2
# Put plugins in /usr/lib/keepass2/Plugins/ or /usr/lib/keepass2/plugins/
sudo apt-add-repository ppa:jtaylor/keepass
sudo apt-add-repository ppa:dlech/keepass2-plugins
sudo apt-get update
sudo apt-get install -y keepass2 mono-complete keepass2-plugin-application-menu keepass2-plugin-application-indicator
# Filezilla (FTP)
sudo apt-get install -y filezilla
# Shutter (Screenshot tool)
sudo add-apt-repository -y ppa:shutter/ppa
sudo apt-get update
sudo apt-get install -y libgoo-canvas-perl shutter
# GitKraken (64 bit)
wget https://release.gitkraken.com/linux/gitkraken-amd64.deb
sudo gdebi gitkraken-amd64.deb
# Slack (64 bit)
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-3.0.2-amd64.deb
sudo gdebi slack-desktop-3.0.2-amd64.deb
# Wireshark
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt-get update
sudo apt-get install wireshark
# Strem.io
wget "https://www.strem.io/download?platform=linux" -O stremio.tar.gz
sudo mkdir /opt/stremio
sudo wget https://www.macupdate.com/images/icons256/56058.png -O /opt/stremio/stremio.png
sudo tar -vzxf stremio.tar.gz -C /opt/stremio/
sudo ln -sf /opt/stremio/Stremio.sh /usr/bin/stremio
echo -e '[Desktop Entry]\n Version=1.0\n Name=stremio\n Exec=/opt/stremio/Stremio.sh\n Icon=/opt/stremio/stremio.png\n Type=Application\n Categories=Application' | sudo tee /usr/share/applications/stremio.desktop
sudo chmod +x /usr/share/applications/stremio.desktop
cp /usr/share/applications/stremio.desktop ~/Desktop
# Popcorn (64 bit)
wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.9-Linux-64.tar.xz -O popcorntime.tar.xz
sudo tar Jxf popcorntime.tar.xz -C /opt/
sudo mv /opt/linux* /opt/popcorntime
sudo ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time
echo -e '[Desktop Entry]\n Version=1.0\n Name=popcorntime\n Exec=/opt/popcorntime/Popcorn-Time\n Icon=/opt/popcorntime/src/app/images/icon.png\n Type=Application\n Categories=Application' | sudo tee /usr/share/applications/popcorntime.desktop
sudo chmod +x /usr/share/applications/popcorntime.desktop
cp /usr/share/applications/popcorntime.desktop ~/Área\ de\ Trabalho/
cp /usr/share/applications/popcorntime.desktop ~/Desktop
# Popcorn (32 bit)
wget https://get.popcorntime.sh/build/Popcorn-Time-0.3.9-Linux-32.tar.xz -O popcorntime.tar.xz
sudo tar Jxf popcorntime.tar.xz -C /opt/
sudo ln -sf /opt/popcorntime/Popcorn-Time /usr/bin/Popcorn-Time
sudo mv /opt/linux* /opt/popcorntime
echo -e '[Desktop Entry]\n Version=1.0\n Name=popcorntime\n Exec=/opt/popcorntime/Popcorn-Time\n Icon=/opt/popcorntime/src/app/images/icon.png\n Type=Application\n Categories=Application' | sudo tee /usr/share/applications/popcorntime.desktop
sudo chmod +x /usr/share/applications/popcorntime.desktop
cp /usr/share/applications/popcorntime.desktop ~/Área\ de\ Trabalho/
cp /usr/share/applications/popcorntime.desktop ~/Desktop
# Customize the look and feel of Ubuntu 16.04
sudo apt install unity-tweak-tool
# Install a default VPN Client
sudo apt install -y network-manager-openvpn network-manager-openvpn-gnome
# Install GitAhead
sudo -i
cd /opt/
sh GitAhead-2.0.2.sh
cd GitAhead/
curl https://scitools.com/wp-content/themes/wordpress-bootstrap-child/assets/images/gitAhead/primary-logo-arrow.png -o primary-logo-arrow.png
echo -e '[Desktop Entry]\n Version=1.0\n Name=GitAhead\n Exec=/opt/GitAhead/GitAhead\n Icon=/opt/GitAhead/primary-logo-arrow.png\n Type=Application\n Categories=Application;' | sudo tee /usr/share/applications/gitahead.desktop
sudo chmod +x /usr/share/applications/gitahead.desktop
cp /usr/share/applications/gitahead.desktop ~/Desktop
# S3 Client
wget http://download.dragondisk.com/dragondisk_1.0.5-0ubuntu_amd64.deb
sudo gdebi dragondisk_1.0.5-0ubuntu_amd64.deb
# If repeat key functionality doesn't work
sudo echo "blacklist peaq_wmi" >> /etc/modprobe.d/blacklist.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment