Skip to content

Instantly share code, notes, and snippets.

@KrustyHack
Created January 29, 2015 09:55
Show Gist options
  • Save KrustyHack/556e55180d7f122b33c6 to your computer and use it in GitHub Desktop.
Save KrustyHack/556e55180d7f122b33c6 to your computer and use it in GitHub Desktop.
Install nodeJS on Kali Linux
#!/bin/bash
sudo apt-get install python g++ make checkinstall fakeroot
src=$(mktemp -d) && cd $src
wget -N http://nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install
sudo dpkg -i node_*
@ShreyaPrasad1209
Copy link

Hi, I'm getting this error on running the second last command. Can you help me out?

fakeroot, while creating message channels: Function not implemented
This may be due to a lack of SYSV IPC support.
fakeroot: error while starting the `faked' daemon.
/usr/bin/fakeroot: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]

@KrustyHack
Copy link
Author

KrustyHack commented Dec 24, 2020

Ay,

Are you using Windows WSL ?

Maybe check this Github issue : microsoft/WSL#4067 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment