-
Notifications
You must be signed in to change notification settings - Fork 13
How to Install and Use Akurath as a Node Package on Ubuntu
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.
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
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
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 ~
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.
Enter your e-mail and you are ready to use Akurath IDE!