3

I have downloaded node v5 for Linux on the *node website and found some instructions on how to Install a tar.gz file but this file ends with tar.xz and I can't find any instructions for that. Please help. I have also tried sudo apt-get install which installs a very old version of Node.

2
  • .gz and .xz are just different compression. The instructions to install will be the same once you have untarred the package. If you want, you can get the corresponding .gz file from nodejs.org/dist/v4.4.2 Commented Apr 5, 2016 at 16:21
  • Check this. phpsmashcode.com/tutorial/… Commented Dec 24, 2016 at 22:13

1 Answer 1

1

Try to install from Terminal

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

Check this for more details.

1
  • You should never pipe into bash. You should first check out the code you downloaded and only then execute it. Commented Nov 19, 2019 at 19:36

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.