Last active
January 30, 2017 02:10
-
-
Save anabarasan/4e75e65f67f524eb62ffbe8ddfc58f70 to your computer and use it in GitHub Desktop.
install Google Chrome, Visual Studio Code and R in ubuntu
This file contains 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
# get ubuntu release name | |
source /etc/lsb-release | |
# Git | |
sudo apt-get -y install git | |
sudo apt-get install -y python-software-properties software-properties-common | |
# pip | |
wget -O get-pip.py https://bootstrap.pypa.io/get-pip.py | |
sudo python get-pip.py | |
# virtualenv | |
sudo pip install virtualenv | |
# python frameworks | |
## create folder to store virtual environments | |
mkdir venv | |
cd venv | |
## create django virtual environment | |
virtualenv django | |
source ${HOME}/venv/django/bin/activate | |
sudo pip install django | |
deactivate | |
## create flask virtual environment | |
virtualenv flask | |
source ${HOME}/venv/django/bin/activate | |
sudo pip install flask | |
deactivate | |
# vi configuration | |
sudo apt-get -y install vim-gui-common | |
sudo apt-get -y install vim-runtime | |
wget https://gist.githubusercontent.com/anabarasan/c8f296c054991a87913d230defc5d022/raw/4b5f5e2917cc5b60d676379844971e16b65081f9/.vimrc | |
# Google Chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb | |
sudo apt-get -y install -f | |
# Visual Studio Code | |
wget -O visual_studio_code.deb https://go.microsoft.com/fwlink/?LinkID=760868 | |
sudo dpkg -i --force-depends visual_studio_code.deb | |
sudo apt-get -y install -f | |
# R & RStudio | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | |
sudo add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu $DISTRIB_CODENAME/' | |
sudo apt-get update | |
sudo apt-get -y install r-base | |
sudo apt-get -y install libcurl4-openssl-dev libssl-dev | |
# deleting downloaded deb files | |
rm -f get-pip.py | |
rm -f ./google-chrome-stable_current_amd64.deb | |
rm -f ./visual_studio_code.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment