Skip to content

Instantly share code, notes, and snippets.

@ismailakbudak
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ismailakbudak/941875beb5aaa3e6bdde to your computer and use it in GitHub Desktop.
Save ismailakbudak/941875beb5aaa3e6bdde to your computer and use it in GitHub Desktop.
Install tools
#!/bin/bash
## Fancy echo
fancy_echo() {
printf "\n%b\n" "$1"
}
## Debian-Ubuntu package update
fancy_echo "Updating system packages ..."
sudo apt-get update
## Git
fancy_echo "Installing Git, version control system ..."
sudo apt-get install git git-core
## Check home bin
if [ ! -d "$HOME/.bin/" ]; then
mkdir "$HOME/.bin"
fi
if [ ! -f "$HOME/.zshrc" ]; then
touch $HOME/.zshrc
fi
if [[ ":$PATH:" != *":$HOME/.bin:"* ]]; then
echo 'export PATH="$HOME/.bin:$PATH"' >> ~/.zshrc
fi
## ZSH and Oh-My-ZSH
fancy_echo "Installing ZSH ..."
sudo apt-get install zsh
fancy_echo "Setting ZSH as default, please enter your password:"
chsh -s $(which zsh)
fancy_echo "Installing Oh-My-ZSH ..."
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.zshrc ~/.zshrc.orig
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
if [ ! -n "$ZSH" ]; then
ZSH=~/.oh-my-zsh
fi
## Install popcorn-time
fancy_echo "Installing popcorn-time"
sudo add-apt-repository ppa:webupd8team/popcorntime
sudo apt-get update
sudo apt-get install popcorn-time
## Install spotify
fancy_echo "Installing spotify"
echo 'deb http://repository.spotify.com stable non-free' >> /etc/apt/sources.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 94558F59
sudo apt-get update
sudo apt-get install spotify-client
## Install git-flow
fancy_echo "Installing git-flow"
sudo apt-get install git-flow
## Install Nautilus-open-terminal
fancy_echo "Installing Nautilus-open-terminal"
sudo apt-get install nautilus-open-terminal
## Install Sublime text 2
fancy_echo "Installing Sublime text 2"
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
## Install chromium
fancy_echo "Installing chromium"
sudo apt-get install chromium-browser
## Install tweak-tool
fancy_echo "Installing tweak-tool"
sudo apt-get install unity-tweak-tool
## Install openjdk-6
fancy_echo "Installing openjdk-6"
sudo apt-get install openjdk-6-jre
## Install openjdk-7
fancy_echo "Installing openjdk-7"
sudo apt-get install openjdk-7-jre
## Install docky
fancy_echo "Installing docky"
sudo apt-get install docky
## Install terminator
fancy_echo "Installing terminator"
sudo apt-get install terminator
@ismailakbudak
Copy link
Author

Run on terminal:
bash <(curl -s https://gist.githubusercontent.com/ismailakbudak/941875beb5aaa3e6bdde/raw/1dbb625020fe2d2410003bcd33fc65a85d23ce2d/ubuntu-tool.sh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment