Skip to content

Instantly share code, notes, and snippets.

@agostini01
Forked from arthurbenemann/firstSetup.sh
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save agostini01/e8d27ae06197606dffd5 to your computer and use it in GitHub Desktop.

Select an option

Save agostini01/e8d27ae06197606dffd5 to your computer and use it in GitHub Desktop.
#!/bin/bash
blue='\e[0;34m'
NC='\e[0m' # No Color
# Utility functions
APT_GET="sudo apt-get -qq --assume-yes"
# Install Chrome
echo -e "${blue}### Installing Chrome${NC}"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*; sudo apt-get -f install
rm google-chrome-stable_current_amd64.deb
#Disable Shopping suggestions
gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']"
# Install dev tools
echo -e "${blue}### Installing DevTools${NC}"
$APT_GET install eclipse git-gui gitk kicad eagle rar unrar g++ curl
git config --global cblueential.helper "cache --timeout=36000" #Configure git password cache
# Install other tools
$APT_GET install octave gparted
# Install extra Ubuntu stuff
$APT_GET install ubuntu-restricted-extras vlc transmission
# Enable git sub-trees
sudo chmod +x /usr/share/doc/git/contrib/subtree/git-subtree.sh
sudo ln -s /usr/share/doc/git/contrib/subtree/git-subtree.sh /usr/lib/git-core/git-subtree
#Install Android Studio
wget https://dl.google.com/android/studio/install/0.8.0/android-studio-bundle-135.1245622-linux.tgz
tar -xzf android-studio-bundle-135.1245622-linux.tgz
sudo mv android-studio /opt/
rm android-studio-bundle-135.1245622-linux.tgz
# Install VirtualBox
echo -e "${blue}### Installing VirtualBox${NC}"
$APT_GET install virtualbox virtualbox-guest-additions-iso
#Update/Upgrade Packages
echo -e "${blue}### Update/Upgrade${NC}"
$APT_GET update
$APT_GET upgrade
# Download Projects
echo -e "${blue}### Downloading Projects${NC}"
mkdir projects
cd projects/
git clone https://github.com/diydrones/ardupilot.git
git clone https://github.com/DroidPlanner/droidplanner.git
cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment