Skip to content

Instantly share code, notes, and snippets.

@alicanalbayrak
Forked from jmkelly/elementary-install.sh
Created December 28, 2015 15:55
Show Gist options
  • Save alicanalbayrak/1e0fc3f88940818cd772 to your computer and use it in GitHub Desktop.
Save alicanalbayrak/1e0fc3f88940818cd772 to your computer and use it in GitHub Desktop.
#!/bin/bash
#First you update your system
sudo apt-get -y update && sudo apt-get -y upgrade
sudo apt-get -y install curl wget firefox
#Install Google Chrome
echo "Chrome"
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get -y update
sudo apt-get -y install google-chrome-stable
#Clean-up System
echo "Clean"
sudo apt-get -y purge midori-granite
sudo apt-get -y purge noise
sudo apt-get -y purge software-center
sudo apt-get -y purge scratch-text-editor
sudo apt-get -y purge bluez
sudo apt-get -y purge modemmanager
sudo apt-get -y autoremove
sudo apt-get -y autoclean
sudo apt-get -y purge geary
#Remove some Switchboard Plug's
sudo rm -rf /usr/lib/plugs/GnomeCC/gnomecc-bluetooth.plug
sudo rm -rf /usr/lib/plugs/GnomeCC/gnomecc-wacom.plug
#Install Elementary OS extras
echo "elementary extras"
sudo apt-add-repository -y ppa:versable/elementary-update
sudo apt-get -y update
sudo apt-get -y install elementary-desktop elementary-tweaks
sudo apt-get -y install wingpanel-slim indicator-synapse
#Install the latest git Version
echo "git"
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get -y update
sudo apt-get -y dist-upgrade
sudo apt-get -y install git
#vim
echo "vim"
sudo apt-get install -y vim
#node
echo "node"
curl -sL https://deb.nodesource.com/setup | bash -
sudo apt-get -y install nodejs
npm config set prefix ~/npm
mkdir ~/npm
echo 'export PATH="$PATH:$HOME/npm/bin"' >> ~/.bashrc
npm i -g gulp grunt-cli yo karma-cli typescript
#aspnet
echo "mono"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list
echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get -y install mono-complete
mozroots --import --sync
mozroots --import --sync
#atom
echo "atom"
cd ~/Downloads
mkdir atom
cd atom
wget https://github.com/atom/atom/releases/download/v0.174.0/atom-amd64.deb
sudo dpkg --install atom-amd64.deb
apm install atom-beautify
apm install atom-typescript-tools
apm install bezier-curve-editor
apm install color-picker
apm install css-snippets
apm install editorconfig
apm install emmet
apm install language-csharp
apm install autocomplete-plus-async
apm install omnisharp-atom
apm install language-cshtml
apm install language-css-plus
apm install language-typescript
apm install less-than-slash
apm install linter-tslint
apm install seti-syntax
apm install seti-ui
apm install vim-mode
#postgresql database and pgAdmin
echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" | sudo tee --append /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-9.4 pgadmin3
#finish
echo "finish"
sudo apt-get -y update
sudo apt-get -y autoclean
sudo apt-get -y autoremove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment