Skip to content

How to Install and Use Akurath from Source on Ubuntu 14.04

Vijayboopathy edited this page Apr 4, 2017 · 2 revisions

Prerequisites

These are the prerequisites of Akurath IDE:

  • 64-bit Ubuntu 14.04
  • Non-root user with sudo privileges
  • NVM v-0.16.1 (Covered in this tutorial)
  • NodeJS v-0.10.40 (Covered in this tutorial)

All the commands in this tutorial should be run as a non-root user. Priviliged commands are preceded by sudo.

Step 1 - Install NVM

Akurath is based on Node.js and Javascript. It requires specific version(0.16.1) of NVM to be installed. This section shows you just that.

Let us update the package database first.

sudo apt-get update

After updating the package database, Install the dependencies of NVM.

sudo apt-get install build-essential libssl-dev git -yq

Now let's install NVM:

curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh

Step 2 - Install Node JS

Source the profile configurations.

source ~/.profile

Now let's install Node.

nvm install v0.10.40

Use Node 0.10.40.

nvm use v0.10.40

Update Bashrc file to use Node 0.10.40.

echo "nvm use v0.10.40" >> ~/.bashrc

Step 3 - Install Akurath from Source

Now we are going to install the latest and greatest version of Akurath.

First, we have to clone the Akurath repository.

git clone https://github.com/codespaces-io/akurath.git

After that, we need to install Grunt. Grunt is basically a Javascript Task runner. You can fine more information about Grunt on this link.

npm install grunt -g

Change directory into Akurath and Install Akurath dependencies.

cd akurath
npm install grunt-exec grunt-contrib-compress grunt-contrib-compress grunt-contrib-compress

You may some dependency errors like . Ignore those error since it won't affect the operation of Akurath.

npm ERR! peerinvalid The package grunt does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants grunt@>=0.4
npm ERR! peerinvalid Peer [email protected] wants grunt@>= 0.4.5

npm ERR! System Linux 4.4.0-43-generic
npm ERR! command "/home/ubuntu/.nvm/v0.10.40/bin/node" "/home/ubuntu/.nvm/v0.10.40/bin/npm" "install" "grunt-exec" "grunt-contrib-compress" "grunt-contrib-compress" "grunt-contrib-compress"
npm ERR! cwd /home/ubuntu/akurath
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/ubuntu/akurath/npm-debug.log
npm ERR! not ok code 0

Step 4 - Run Akurath

That's it. We are all set to run Akurath. If you have installed Akurath from source, then simply run grunt from the Akurath directory to start the Akurath IDE.

grunt

After running grunt, you will see that Akurath is running on localhost with port 8000.

Akurath is running at http://localhost:8000

Akurath console is accessible on your machine's IP with port 8000. Just visit the IP on your browser to see Akurath in action.

email

Enter your e-mail and you are ready to use Akurath IDE!

Landing