Skip to content

Instantly share code, notes, and snippets.

@liquidairstudios
Created January 3, 2017 08:10
Show Gist options
  • Save liquidairstudios/4ea4924715ad4e98cea13b138f06a2f1 to your computer and use it in GitHub Desktop.
Save liquidairstudios/4ea4924715ad4e98cea13b138f06a2f1 to your computer and use it in GitHub Desktop.
ubuntu install

Ubuntu 16.04 Install

Install packages

sudo apt update
sudo apt upgrade
sudo apt-get install wget curl git zsh cmake xclip tmux gnome-tweak-tool unity-tweak-tool

Install google-chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - 
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update 
sudo apt-get google-chrome-stable

Configure zsh

sudo chsh -s /usr/bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Configure solarized-theme

git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized
cd ~/.solarized
./install.sh

Change dircolors

wget https://raw.githubusercontent.com/seebi/dircolors-solarized/master/dircolors.ansi-dark
mv dircolors.ansi-dark .solarized

Open .zshrc and add the line:

eval `dircolors ~/.solarized/dircolors.ansi-dark`

Delete user and computer name on agnoster theme

vim .oh-my-zsh/themes/agnoster.zsh-theme

find # Context: user@hostname, where $USER@%m, delete @%m to delete computer name, or further more delete $USER to delete username as well

Install vim 8.0

sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt remove vim-tiny
sudo apt install vim
sudo apt install vim-nox #if no python3 support

Install vundle

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Compile YCM

Compiling YCM without semantic support for C-family languages:

cd ~/.vim/bundle/YouCompleteMe
./install.py

Start tmux which terminal open

vim ~/.oh-my-zsh/plugins/tmux/tmux.plugin.zsh

Setup git

git config --global user.name "Daniel Yang"
git config --global user.email "[email protected]"

Generating a new SSH key

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Adding your SSH key to the ssh-agent

eval $(ssh-agent -s)

Copy the SSH key to your clipboard

Mac OS

clip < ~/.ssh/id_rsa.pub

Ubuntu

sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub

Adding SSH key to github

Patch fonts

git clone https://github.com/powerline/fonts.git
cd ~/fonts
./install.sh

Install anaconda

https://www.continuum.io/downloads

chmod +x Anaconda3-4.2.0.sh
./Anaconda3-4.2.0.sh
conda update --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment