Linux Initial Install and Setup

Introduction

These are instructions for setting up new Ubuntu installs. If you’re using something other that Ubuntu, you may need to adapt the PPAs, apt commands, etc. to fit your prefered distro.

Install Scripts

The fastest way to get your system setup is to use the scripts in the dotfiles/bin repo.

Create a bin directory

mkdir ~/bin

Download install.sh and config.sh files and move them to that bin directory

Make both of those files executable.

cd ~/bin
chmod +x install.sh
chmod +x config.sh

Run the install file first.

sudo ./install.sh

If you intend to use Cinnamon desktop, restart your computer. If you want to continue using Gnome, type source ~/.bashrc before continuing.

Run the config file. Make sure you run this as your user (do not use sudo).

./config.sh

Manual Install

Add PPAs

Add the Personal Package Archive for Atom editor and Cinnamon desktop

sudo add-apt-repository -y ppa:webupd8team/atom
sudo add-apt-repository -y ppa:embrosyn/cinnamon

Add Canonical Partner Repos

add-apt-repository -y "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
Install Software

After adding the PPAs above you’ll need to update your apt cache. Type sudo apt update, then you can install the packages.

sudo apt install -y git gdebi curl cinnamon atom guake libssl-dev libreadline-dev zlib1g-dev
Install Google Chrome

Download Google Chrome from this link: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

Install the .deb file.

After the install you can delete the install file.

Install GitKraken

There is a version of GitKraken in the Ubuntu Software Center, but it’s a bit janky. It’s better to download the version directly from Axosoft: https://release.gitkraken.com/linux/gitkraken-amd64.deb

Install the .deb file.

After the install you can delete the install file.

Install Node

Instructions here: Install Node on Linux

Install Ruby

Instructions here: Install Ruby on Linux

Configure Git

Instructions here: Install and Configure Git