Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I spend most of my time in the terminal. I heard something about TermKit, and I'm curious as to how I can install it on Ubuntu. So far, I haven't been able to find any good instructions on how to install it.

share|improve this question
1  
Thanks for this... Installing it myself, I will post an answer as soon as I make it work for me. –  nickguletskii Jun 18 '11 at 18:55

1 Answer 1

up vote 5 down vote accepted

First, install the dependencies:

sudo apt-get install git libssl-dev

Now, download, build and install node, npm (a package manager for node) and TermKit itself:

Build Node.js:

trunk is a bit unstable so we check out a known-working version of node:

cd ~
mkdir TermKitProj
cd TermKitProj
git clone https://github.com/joyent/node.git
cd node
git reset --hard 1b8dd65d6e3b82b6863e
./configure
make
sudo make install
cd ..
git clone http://github.com/isaacs/npm.git
cd npm
sudo make install
cd ..

Build TermKit

git clone https://github.com/Floby/TermKit.git --recursive
cd TermKit/
npm install

Okay, everything is installed. Now lets launch it!

node Node/nodekit.js

You should see something like this:

18 Jun 20:12:45 - socket.io ready - accepting connections
server listening at http://localhost:2222

And now navigate to http://localhost:2222 in Chrome/Chromium (Firefox won't work, webkit needed!) To launch it again, navigate to TermKitProj/TermKit and run "node Node/nodekit.js" again.

Thanks to this guide.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.