Skip to content

Instantly share code, notes, and snippets.

@hakanu
Last active September 3, 2017 14:00
Show Gist options
  • Save hakanu/7a8a14f60bdc8478d194 to your computer and use it in GitHub Desktop.
Save hakanu/7a8a14f60bdc8478d194 to your computer and use it in GitHub Desktop.
Initial development environment setup for ubuntu after clean install
# curl https://gist.githubusercontent.com/hakanu/7a8a14f60bdc8478d194/raw/3c02c7c3f0c30cee4348016ceb6a6d528a6e86ac/setup_dev.sh | bash
# Base stuff.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install build-essential
sudo apt-get -y install git
sudo apt-get -y install screen
sudo apt-get -y install ruby
sudo apt-get -y install ruby-dev
sudo apt-get -y install rubygems
sudo apt-get -y install libxml2-dev libxslt1-dev # lxml
sudo apt-get -y install lib32z1-dev zlib1g-dev # lxml
sudo apt-get -y install libffi-dev libssl-dev # ssl with python3 - request.
sudo apt-get -y install vim
sudo apt-get -y install mongodb
sudo apt-get -y install imagemagick
sudo apt-get -y install nautilus-image-converter
sudo apt-get -y install nmap
sudo apt-get -y install virtualbox
sudo apt-get -y install vagrant
sudo apt-get -y install sqlite3
sudo apt-get -y install apache
sudo apt-get -y install apache2-bin
sudo apt-get -y install libapache2-mod-php
sudo apt-get -y install php7.0-sqlite3
#sudo apt-get -y install zsh
# curl https://gist.githubusercontent.com/hakanu/7a8a14f60bdc8478d194/raw/3c02c7c3f0c30cee4348016ceb6a6d528a6e86ac/setup_dev.sh | bash
# Sensible bash.
# https://github.com/mrzool/bash-sensible
# Base stuff.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install build-essential
sudo apt-get -y install git
sudo apt-get -y install screen
sudo apt-get -y install ruby
sudo apt-get -y install ruby-dev
sudo apt-get -y install rubygems
sudo apt-get -y install libxml2-dev libxslt1-dev # lxml
sudo apt-get -y install lib32z1-dev zlib1g-dev # lxml
sudo apt-get -y install libffi-dev libssl-dev # ssl with python3 - request.
sudo apt-get -y install vim
sudo apt-get -y install mongodb
sudo apt-get -y install imagemagick
sudo apt-get -y install nautilus-image-converter
sudo apt-get -y install nmap
sudo apt-get -y install virtualbox
sudo apt-get -y install vagrant
sudo apt-get -y install sqlite3
sudo apt-get -y install apache
sudo apt-get -y install apache2-bin
sudo apt-get -y install libapache2-mod-php
sudo apt-get -y install php7.0-sqlite3
#sudo apt-get -y install zsh
sudo apt-get -y install mailutils
sudo apt-get -y install python-dev
sudo apt-get -y install python-pip python-dev build-essential
sudo apt-get -y install python-setuptools
# Dependencies for pillow python
sudo apt-get build-dep python-imaging
sudo apt-get -y install python-lxml # Possibly older version.
sudo apt-get -y install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
sudo apt-get build-dep python-imaging
# Python stuff.
sudo easy_install markdown
sudo easy_install web.py # web framework.
sudo easy_install jinja2
sudo easy_install falcon # web framework.
sudo easy_install flask # web framework.
sudo easy_install bottle # web framework.
sudo easy_install feedparser
sudo easy_install bcrypt
sudo easy_install thefuck
sudo easy_install pymongo
sudo easy_install bson
sudo easy_install html2text
sudo easy_install slugify
sudo easy_install turkish-deasciifier
sudo easy_install requests
sudo easy_install simplejson
sudo easy_install parsepy
sudo easy_install pytumblr
sudo easy_install sqlalchemy
sudo easy_install newspaper
sudo easy_install PIL
sudo easy_install pillow
sudo easy_install imdbpie
sudo easy_install Cython
sudo easy_install oauth2
sudo easy_install sqlalchemy
sudo easy_install stripe
sudo easy_install psycopg2
sudo easy_install bcrypt
sudo easy_install requests[security] # ssl for requests.
#sudo easy_install freebase-python # freebase API
#sudo easy_install wheezy.web # web framework.
#sudo easy_install wheezy.web[jinja2]
# Nodejs and NPM
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install nodejs
# Meteor.
curl https://install.meteor.com/ | sh
meteor -v
meteor update
# Change default shell
chsh -s $(which zsh)
# Android studio
sudo apt-get -y install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
sudo apt-get -y install adb
sudo apt-get -y install android-tools-adb
sudo apt-get -y install android-tools-1boot
# Ruby
sudo gem install jekyll
sudo gem install foreman
sudo gem install heroku
sudo gem install jekyll-sitemap
# NPM packages
sudo npm install -g mup
sudo npm install -g bower
sudo npm install -g grunt
sudo npm install -g nativescript
sudo npm install -g firebase-import
sudo npm install -g csvtojson
sudo npm install nativescript-autocomplete
# Java
#sudo apt-get -y install openjdk-8-jdk
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get -y install oracle-java8-installer
sudo apt-get -y install oracle-java8-set-default
# Install openshift
sudo gem install rhc
rhc setup
# Install heroku
sudo gem install heroku
sudo apt-get -y install python-dev
sudo apt-get -y install python-pip python-dev build-essential
sudo apt-get -y install python-setuptools
# Dependencies for pillow python
sudo apt-get build-dep python-imaging
sudo apt-get -y install python-lxml # Possibly older version.
sudo apt-get -y install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
sudo apt-get build-dep python-imaging
# Python stuff.
sudo easy_install markdown
sudo easy_install web.py # web framework.
sudo easy_install jinja2
sudo easy_install falcon # web framework.
sudo easy_install flask # web framework.
sudo easy_install bottle # web framework.
sudo easy_install feedparser
sudo easy_install bcrypt
sudo easy_install thefuck
sudo easy_install pymongo
sudo easy_install bson
sudo easy_install html2text
sudo easy_install slugify
sudo easy_install turkish-deasciifier
sudo easy_install requests
sudo easy_install simplejson
sudo easy_install parsepy
sudo easy_install pytumblr
sudo easy_install sqlalchemy
sudo easy_install newspaper
sudo easy_install PIL
sudo easy_install pillow
sudo easy_install imdbpie
sudo easy_install Cython
sudo easy_install oauth2
sudo easy_install sqlalchemy
sudo easy_install stripe
sudo easy_install psycopg2
sudo easy_install requests[security] # ssl for requests.
sudo easy_install freebase-python # freebase API
#sudo easy_install wheezy.web # web framework.
#sudo easy_install wheezy.web[jinja2]
# Nodejs and NPM
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install nodejs
# Meteor.
curl https://install.meteor.com/ | sh
meteor -v
meteor update
# Change default shell
chsh -s $(which zsh)
# Android studio
sudo apt-get -y install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
sudo apt-get -y install adb
sudo apt-get -y install android-tools-adb
sudo apt-get -y install android-tools-1boot
# Ruby
sudo gem install jekyll
sudo gem install foreman
sudo gem install heroku
sudo gem install jekyll-sitemap
# Npm
sudo npm install -g mup
sudo npm install -g bower
sudo npm install -g grunt
sudo npm install -g nativescript
sudo npm install -g firebase-import
sudo npm install -g csvtojson
# Java
#sudo apt-get -y install openjdk-8-jdk
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get -y install oracle-java8-installer
sudo apt-get -y install oracle-java8-set-default
# Install mongo
# Install openshift
sudo gem install rhc
rhc setup
# Install heroku
sudo gem install heroku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment