Article 5KYKW [SOLVED] What does the #6 command do ?

[SOLVED] What does the #6 command do ?

by
Secahl
from LinuxQuestions.org on (#5KYKW)
I found this command on an article of how to install nodejs in kali linux.

1. # Verify that you have all required tools
sudo apt-get install python g++ make checkinstall fakeroot
2. # Create tmp dir and switch to it
src=$(mktemp -d) && cd $src
3. # Download the latest version of Node
wget -N http://nodejs.org/dist/node-latest.tar.gz
4. # Extract the content of the tar file
tar xzvf node-latest.tar.gz && cd node-v*
5. # Run configuration
./configure
6. # Create .deb for Node
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install
7. # Replace [node_*] with the name of the generated .deb package of the previous step
sudo dpkg -i node_*llatest?d=yIl2AUoC8zA latest?i=Szf94ROsxlQ:IBPIbBqmh-w:F7zBnMy latest?i=Szf94ROsxlQ:IBPIbBqmh-w:V_sGLiP latest?d=qj6IDK7rITs latest?i=Szf94ROsxlQ:IBPIbBqmh-w:gIN9vFwSzf94ROsxlQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments