loading...

Ubuntu Dev Environment setup

dexterbrylle profile image Dexter Brylle ・2 min read

I have a Macbook Pro for personal use and I already have my workflow setup. However, in my day job, I was assigned a machine running on Windows. I've made the switch to macOS since 2013 and that change kind of set me back with efficiency and productivity. So I decided to run Ubuntu 16.04 on Virtualbox.

Below are some of the tools that I use to get you up and running.

Ubuntu Dev Environment setup

Chromium

sudo apt install -y chromium-browser

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-chrome.list'

sudo apt install -y google-chrome-stable

NodeJS

v 6.x

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

sudo apt install -y nodejs

v 8.x

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

sudo apt-install -y nodejs

zsh and oh-my-zsh

Install zsh

sudo apt install zsh

Install oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

You can read more about oh-my-zsh here

Fixes to set zsh/oh-my-zsh as your default

*

    chsh -s $(which zsh)
    ```


* You may need to logoff and login again for the changes to take effect

### Visual Studio Code

Add the repository




curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'




Upate cache and install vs code



sudo apt update

sudo apt install code #or code-insiders




### Sublime Text 3




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 update

sudo apt install sublime-text





### GitKraken


wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz

tar -xvzf gitkraken-amd64.tar.gz




or



wget https://release.gitkraken.com/linux/gitkraken-amd64.deb

dpkg -i gitkraken-amd65.deb




### MongoChef

Download the .tar file [here](https://studio3t.com/download/)



cd ~/Downloads

tar -xvzf studio-3t-linux-x64.tar.gz

cd studio-3t-linux-x64/bin

./studio-3t.sh





### Spotify



sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 0DF731E45CE24F27EEEB1450EFDC8610341D9410

echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list

sudo apt update

sudo apt install y- spotify-client




I hope this may serve as a reference to people/devs with a fresh install of Ubuntu.

Thanks!

Posted on by:

Discussion

markdown guide
 

dpkg -i gitkraken-amd65.deb

It's amd64 :) I'm against oh-my-zsh though. It's too damn big and slow compared to other zsh plugin managers. I'd go with zgen and a bunch of plugins (better history, autocomplete, syntax highlighting, etc.). If you need a good PS1 prompt, you'd simply copy it from the oh-my-zsh project or use it with zgen. Though usually I create my own PS1 that displays cwd and git status (the branch that will be either red or green depending on the git status output).