Installing TypeScript on Ubuntu Desktop

In this post I will share how to install TypeScript and Gulp.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Prerequisites

For TypeScript and Gulp to work they require Node and NPM installed on your machine. Follow these steps to install Node and NPM on Ubuntu Desktop.

 

TypeScript

You install TypeScript by installing typescript npm package globally.

$ sudo npm install -g typescript

To check the TypeScript compiler version type

$ tsc --version

blog-22-01

This is the minimum you need to do to install TypeScript and start using it.

Continue reading “Installing TypeScript on Ubuntu Desktop”

Installing TypeScript on Ubuntu Desktop

Installing Node and NPM on Ubuntu Desktop

In this post I will share how to install Node and NPM.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Nodejs, not Node

Keep in mind that on Ubuntu the name of the Node.js package/executable is nodejs, not node.

 

Installing Node and NPM using Package Manager

The easiest way to install stable versions of Node.js and NPM is using package manager. First. let’s check what versions are available

$ sudo apt-get update
$ apt-cache show nodejs
$ apt-cache show npm

At the time of writing, the current versions of nodejs and npm are 4.2.6 and 3.5.2 respectively.

blog-21-01

Continue reading “Installing Node and NPM on Ubuntu Desktop”

Installing Node and NPM on Ubuntu Desktop

Installing And Configuring VS Code on Ubuntu Desktop and Git Workflow

In this post I will share how to install VS Code (Microsoft Visual Studio Code) and work with GitHub repository.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Prerequisites

For VS Code to work with GitHub repositories it requires Git installed on your machine. Follow these steps to Install and Configure Git and GitHub on Ubuntu Desktop.

Installing VS Code

To install VS Code (current version 1.4) visit VS Code for Linux Docs page and you will be prompted to download the package and open it in Software Install.

post-20-01Hit OK and install the package. After that you will be presented with Getting Started page. And that’s all you need to do to install VS Code on Ubuntu Desktop.

Continue reading “Installing And Configuring VS Code on Ubuntu Desktop and Git Workflow”

Installing And Configuring VS Code on Ubuntu Desktop and Git Workflow

Installing And Configuring Git and GitHub on Ubuntu Desktop

In this post I will share how to install Git and then configure it to work with GitHub.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Git is not installed by default

$ git

post-19-01

Git is not installed by default and you have at least two choices to install it. The first choice is to install Git using package management tool, and the second – to build it from a source code.

Continue reading “Installing And Configuring Git and GitHub on Ubuntu Desktop”

Installing And Configuring Git and GitHub on Ubuntu Desktop

Installing And Configuring AWS CLI on Ubuntu Desktop

In this post I will share how to install AWS CLI (Amazon Web Service Command Line Interface tool) using pip package manager and then configure it.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Check for Python Version

To avoid security warning during installation of AWS CLI make sure that you have Python version 2.7.11+, which comes preinstalled with Ubuntu Desktop 16.04. To check the version of Python and the actual name of the executable – type in Terminal window:

$ python --version
Python 2.7.11+
$ which python
/usr/bin/python
$ ls -l /usr/bin/python
/usr/bin/python -> python2.7

post-18-01

Continue reading “Installing And Configuring AWS CLI on Ubuntu Desktop”

Installing And Configuring AWS CLI on Ubuntu Desktop

Minimal Ubuntu Desktop Configuration

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Configuring Guest Operating System – Ubuntu Desktop 16.04

The first thing after you logon – you want to update Ubuntu. Click on the gear icon on the top right and select About This Computer

post-13-25

Hit Install Updates button and follow the instructions. Then restart.

Continue reading “Minimal Ubuntu Desktop Configuration”

Minimal Ubuntu Desktop Configuration

Installing Ubuntu Desktop into the Virtual Machine

In this post I will share how to install Ubuntu Desktop into VirtualBox and what versions worked for me.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

UPDATE: after working with different combinations of VirtualBox and Ubuntu Desktop I found that the following versions/build work very well with each other:

 

Downloading Guest Operating System – Ubuntu Desktop

The current version of Ubuntu Desktop at the time of writing is 16.04 LTS. LTS stands for “long term support” which means Canonical, the company behind Ubuntu distribution, will provide feature and security updates for a number of years. You can download Ubuntu Desktop following this link, and choose either 32- or 64-bit PC (AMD) desktop image (I’ve got 64-bit Ubuntu Desktop version 16.04.1).

post-16-01

 

Continue reading “Installing Ubuntu Desktop into the Virtual Machine”

Installing Ubuntu Desktop into the Virtual Machine

Creating a Virtual Machine

In this post I will share how to create and minimally configure a Virtual Machine on VirtualBox.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

Creating And Configuring Virtual Machine

After starting VirtualBox application you will be greeted with Oracle VM VirtualBox Manager. As you can see on the following image – I already have Ubuntu Desktop 16.04 created but we’ll create a new one from scratch.

post-13-02

Hit the New button on VirtualBox Manager and in Name and operating system provide the following information:

Name: Ubuntu 16.04 Desktop Blog (or choose your own)
Type: Linux
Version: Ubuntu (64-bit)
Memory size: 2048MB (you can keep the default 768MB and increase the size later)
(*) Create a virtual hard disk now

Continue reading “Creating a Virtual Machine”

Creating a Virtual Machine

Installing VirtualBox

In this post I will share how to install VirtualBox and what version worked for me.

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

UPDATE: after working with different combinations of VirtualBox and Ubuntu Desktop I found that the following versions/build work very well with each other:

 

Downloading VirtualBox

You can download the latest version of VirtualBox following this link. After you download the DMG file, just double click on it and follow the installation instructions. It does not require any setup after installation.

post-15-01

 

See Also

Installing VirtualBox

My Choice of Hardware, Host Operating System, Virtualization Product and Linux Distribution

Note: this post is a part of the series of posts about my experience using Ubuntu Desktop for software development.

 

My Choice Of Hardware

As I mentioned in one of my previous posts – almost a year ago I got MacBook Pro and it proved to be a terrific choice.

post-14-01

 

My Choice of Host Operating System

Since I’m using MacBook Pro, my obvious choice for the host operating system is Mac OS X. Even though I love Mac OS X and like the development experience on it, for experimenting with new technologies I prefer using virtual machines (VMs). The reason is simple – if something goes wrong – it would take me long time to reinstall (or restore from backup) Mac OS X and applications I use. But with virtual machines everything is expendable – create virtual machine, instal operating system, SDKs, tools, etc., use it and when you done – just delete it if you do not need it any longer. The huge benefit – your primary operating system stays intact.

post-14-02

 

My Choice Of Virtualization Product

Initially I was a happy user of Parallels Desktop until they rolled out update 11.1.2 which made a lot of people angry and made me to roll back to version 11.1.1 and reinstall all of the guest operating systems. As a result – I started looking for alternatives and now VirtualBox is my virtualization product of choice.

post-14-03

 

My Choice of Linux Distribution

There is no shortage of Linux Distributions. Currently I’m experimenting with Ubuntu Desktop 16.04 LTS, but I’m open to experiment with the others as well.

post-14-04

 

See Also

My Choice of Hardware, Host Operating System, Virtualization Product and Linux Distribution