buildingoreo.blogg.se

Runjs in linux
Runjs in linux











runjs in linux

To create our installable package of Node.js we are going to use CheckInstall for it. Run the configure script with the following command. It matches the libraries on the user's computer, with those required by the program before compiling it from its source code. Run configure scriptĪ configure script is an executable script designed to aid in developing a program to be run on a wide number of different computers. This should create a folder with the preffix node-v that will vary according to the downloaded version of Node.js.

runjs in linux

Once the download finishes, extract the content of the tar file with the following command: tar xzvf & cd node-v* Download and extract Node.jsĭownload the distributable code of Node.js executing the following command in the terminal: wget -N In this command we are creating a variable that contains the generated temporary path by mktemp and then switching to that directory in the terminal. The -d argument indicates that mktemp should make a directory instead of a file.

runjs in linux

You can create it using mktemp, to make it with a single command execute the following instruction: src=$(mktemp -d) & cd $src You should create a temporary folder to generate the.

#RUNJS IN LINUX INSTALL#

You just need, as mentioned, execute sudo dpkg -configure -a to solve it and then proceed with the command again.īesides, if you are unable to install the checkinstall package (happens usually on recent installations of Kali Linux), proceed with the fix mentioned in this article in order to install the package correctly. You may get a warning like "dpkg was interrupted, you must manually run ' sudo dpkg -configure -a' to correct the problem".













Runjs in linux