{"id":8555,"date":"2019-10-17T00:20:20","date_gmt":"2019-10-16T22:20:20","guid":{"rendered":"http:\/\/tajdini.net\/blog\/?p=8555"},"modified":"2020-12-20T11:17:55","modified_gmt":"2020-12-20T09:17:55","slug":"how-to-install-nodejs-on-kali-linux","status":"publish","type":"post","link":"https:\/\/tajdini.net\/blog\/application-and-software-security\/how-to-install-nodejs-on-kali-linux\/","title":{"rendered":"How to Install NodeJS on Kali Linux"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code># Verify that you have all required tools\nsudo apt-get install python g++ make checkinstall fakeroot\n# Create tmp dir and switch to it\nsrc=$(mktemp -d) &amp;&amp; cd $src\n# Download the latest version of Node\nwget -N http:\/\/nodejs.org\/dist\/node-latest.tar.gz\n# Extract the content of the tar file\ntar xzvf node-latest.tar.gz &amp;&amp; cd node-v*\n# Run configuration\n.\/configure\n# Create .deb for Node\nsudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's\/.+node-v(.+)$\/\\1\/p') make -j$(($(nproc)+1)) install\n# Replace [node_*] with the name of the generated .deb package of the previous step\nsudo dpkg -i node_*<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,221,227],"tags":[254,4,5,273,90],"class_list":["post-8555","post","type-post","status-publish","format-standard","hentry","category-application-and-software-security","category-cisco-and-networking","category-linux-and-open-source","tag-kali-linux","tag-linux","tag-switching","tag-cisco"],"_links":{"self":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/comments?post=8555"}],"version-history":[{"count":1,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8555\/revisions"}],"predecessor-version":[{"id":8556,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/posts\/8555\/revisions\/8556"}],"wp:attachment":[{"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/media?parent=8555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/categories?post=8555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tajdini.net\/blog\/wp-json\/wp\/v2\/tags?post=8555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}