Skip to content

How to Install and Use Akurath as a Node Package on Ubuntu

Gourav Shah edited this page Apr 18, 2018 · 3 revisions

Prerequisites

These are the prerequisites of Akurath IDE:

  • 64-bit Ubuntu 14.04 or 16.04
  • Non-root user with sudo privileges
  • Git and other libraries (Covered in this tutorial)
  • NodeJS (Covered in this tutorial)

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

Step 1 - Install Dependencies

NodeJS needs some libraries to be installed. Let us install them. But before that update the package database.

sudo apt-get update

Install the dependencies.

sudo apt-get install -y make g++ python git curl

Step 2 - Install NodeJS

As mentioned earlier, Akurath is a Node based application. So Install NodeJS.

curl -sL https://deb.nodesource.com/setup | sudo bash
sudo apt-get install -y nodejs npm

Step 3 - Install Akurath

Now we are going to install the latest and greatest version of Akurath. Run the following command one after the other.

sudo npm -g install node-gyp akurath

cd /usr/lib/node_modules/akurath/node_modules/shux/node_modules/pty.js

sudo make clean

sudo make

cd ~

Step 4 - Run Akurath

To start Akurath IDE, all you need to do is to run

sudo akurath run

After running that command, 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