Skip to content

Instantly share code, notes, and snippets.

@bjorkqvist
Created November 1, 2017 21:30
Show Gist options
  • Save bjorkqvist/3591e01a62134bac9252015b385db251 to your computer and use it in GitHub Desktop.
Save bjorkqvist/3591e01a62134bac9252015b385db251 to your computer and use it in GitHub Desktop.
ubuntu_dev
#!/bin/bash
echo "Hello, developer"
echo "-----Prepararations-----"
echo "Installing Ubuntu-make"
sudo apt install ubuntu-make
echo "Installing build-essential"
sudo apt install build-essential
echo "-----Languages-----"
sudo apt-get install python-dev
echo "-----DB-stuff-----"
echo "Installing mysql 5.7 and related tools"
apt-get install -y mysql-server-5.7 libmysqlclient-dev
echo "-----Editors-----"
###editors###
echo "Installing Intellij"
umake ide idea
echo "Installing VS Code"
#umake ide visual-studio-code
sudo add-apt-repository -y "deb https://packages.microsoft.com/repos/vscode stable main"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EB3E94ADBE1229CF
sudo apt update
sudo apt -y install code
echo "-----Other Tools-----"
echo "Installing Git"
sudo apt-get install git
echo "Installing Spotify"
# 1. Add the Spotify repository signing keys to be able to verify downloaded packages
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 0DF731E45CE24F27EEEB1450EFDC8610341D9410
# 2. Add the Spotify repository
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# 3. Update list of available packages
sudo apt-get update
# 4. Install Spotify
sudo apt-get install spotify-client
echo "Installing Guake terminal emulator"
sudo apt-get install guake
sudo cp /usr/share/applications/guake.desktop /etc/xdg/autostart/
echo "Installing gdrive client **manual steps!!!*** http://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux "
sudo add-apt-repository ppa:alessandro-strada/ppa
sudo apt update && sudo apt install google-drive-ocamlfuse
# add to ~/.profile $ mount | grep "${HOME}/googledrive" >/dev/null || /usr/bin/google-drive-ocamlfuse "${HOME}/googledrive"
echo "Security Tools"
echo "Installing nmap"
sudo apt-get install nmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment