@
@
@Richswitch2017-07-08 16:17:52
linux
@Richswitch, 2017-07-08 16:17:52

Installing Nodejs on Linux?

Hey!
Today I started my acquaintance with Ubuntu, I'm preparing my workspace, downloading the programs I need.
As I understand it, there is an application manager here, which has free software, installation through this manager, of course, is simple.
But when installing node.js, I realized that not everything is as simple as in the default application manager.
For example, the same node.js can be downloaded, but I will only get an archive that can be unpacked, and what to do next xs))
Now, according to the manuals in Google, I'm trying to put it through the terminal.

Question: what installation methods are there for linux?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Wolf, 2017-07-08
_

Question: what installation methods are there for linux?

Method number 1:
a) We go to the office. node website
b) Read the instruction
c) Execute a couple of commands
d) Get the result
Method #2:
a) Write something like apt search nodejs | grep nodejs
b) Get something like this list: 1684e6e433e441b3828d50496cab77ff.png
c) Select the required package
d) Write apt install имя_нужного_пакета
e) Get the result
Method #3: Unpack archive with the node somewhere and try to work from there, or else, we try to manually shove everything into the right folder (depending on the program and the errors that it will give if it is not launched correctly)
Method number 4: Download the source code and install from it ... A lot of manuals have been written on this topic, which are quite easy to find on the net, so I will not repeat myself.
PS The last two methods, on "packaged" systems, which are Debian and Ubuntu (etc.), are not recommended, for a number of reasons. Incl. the impossibility of automatic updating of such software.

T
TyzhSysAdmin, 2017-07-08
@POS_troi

Debian and Ubuntu based Linux distributions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question