-
-
Save agostini01/e8d27ae06197606dffd5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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