Last active
November 19, 2018 06:45
-
-
Save bikalbasnet/75b7c541e02eb94f1adb9e92193be393 to your computer and use it in GitHub Desktop.
codes that I run to setup my new ubuntu laptop
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
sudo apt-get install -y curl git zsh vim &&\ | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&\ | |
sudo dpkg -i google-chrome-stable_current_amd64.deb &&\ | |
rm google-chrome-stable_current_amd64.deb | |
sudo apt-get install terminator &&\ | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &&\ | |
wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf &&\ | |
wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf &&\ | |
mkdir -p ~/.fonts/ &&\ | |
mv PowerlineSymbols.otf ~/.fonts/ &&\ | |
mkdir -p .config/fontconfig/conf.d &&\ | |
fc-cache -vf ~/.fonts/ &&\ | |
mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/ &&\ | |
wget https://raw.githubusercontent.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme &&\ | |
mv bullet-train.zsh-theme $ZSH_CUSTOM/themes/ && | |
vim ~/.zshrc | |
# Change theme | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - &&\ | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" &&\ | |
sudo apt-get update && \ | |
sudo apt-get install -y docker-ce nodejs npm && \ | |
sudo usermod -aG docker ${USER} &&\ | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose &&\ | |
sudo chmod +x /usr/local/bin/docker-compose | |
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - &&\ | |
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list &&\ | |
sudo apt-get update &&\ | |
sudo apt-get install sublime-text && | |
sudo snap install phpstorm --classic && \ | |
sudo snap install phpstorm --classic &&\ | |
sudo sh -c " echo 'fs.inotify.max_user_watches = 524288' > /etc/sysctl.d/inotify.conf" &&\ | |
sudo apt install fonts-firacode | |
sudo snap install slack --classic &&\ | |
sudo apt-get update &&\ | |
sudo apt-get upgrade slack-desktop | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add - && \ | |
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add - &&\ | |
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list' &&\ | |
sudo apt update &&\ | |
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms &&\ | |
sudo apt update &&\ | |
sudo apt-get -y install virtualbox-5.2 &&\ | |
sudo apt-get -y install vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment