Trying to install node v6, but apt installs v8 [duplicate]
up vote
0
down vote
favorite
This question already has an answer here:
Node Package Manager got corrupted in some way, now it cannot be installed
1 answer
I am running ubuntu 18.04.1 LTS and I need to run node v6.
I am following this tutorial
curl -sL https://deb.nodesource.com/setup_6.x | bash -
# Install Node.js and npm
apt-get install -y nodejs
I can see in the apt-get
output
Hit:4 https://deb.nodesource.com/node_6.x bionic InRelease
before installing:
node -v
-su: /usr/bin/node: No such file or directory
after apt-get install -y nodejs
$ node -v
v8.10.0
but for some reason it installs node v8
How can I install v6?
package-management nodejs
marked as duplicate by karel, Zanna, Fabby, pomsky, muru Dec 6 at 9:39
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
0
down vote
favorite
This question already has an answer here:
Node Package Manager got corrupted in some way, now it cannot be installed
1 answer
I am running ubuntu 18.04.1 LTS and I need to run node v6.
I am following this tutorial
curl -sL https://deb.nodesource.com/setup_6.x | bash -
# Install Node.js and npm
apt-get install -y nodejs
I can see in the apt-get
output
Hit:4 https://deb.nodesource.com/node_6.x bionic InRelease
before installing:
node -v
-su: /usr/bin/node: No such file or directory
after apt-get install -y nodejs
$ node -v
v8.10.0
but for some reason it installs node v8
How can I install v6?
package-management nodejs
marked as duplicate by karel, Zanna, Fabby, pomsky, muru Dec 6 at 9:39
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
thanks Karel, that worked
– randy
Dec 5 at 13:23
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
Node Package Manager got corrupted in some way, now it cannot be installed
1 answer
I am running ubuntu 18.04.1 LTS and I need to run node v6.
I am following this tutorial
curl -sL https://deb.nodesource.com/setup_6.x | bash -
# Install Node.js and npm
apt-get install -y nodejs
I can see in the apt-get
output
Hit:4 https://deb.nodesource.com/node_6.x bionic InRelease
before installing:
node -v
-su: /usr/bin/node: No such file or directory
after apt-get install -y nodejs
$ node -v
v8.10.0
but for some reason it installs node v8
How can I install v6?
package-management nodejs
This question already has an answer here:
Node Package Manager got corrupted in some way, now it cannot be installed
1 answer
I am running ubuntu 18.04.1 LTS and I need to run node v6.
I am following this tutorial
curl -sL https://deb.nodesource.com/setup_6.x | bash -
# Install Node.js and npm
apt-get install -y nodejs
I can see in the apt-get
output
Hit:4 https://deb.nodesource.com/node_6.x bionic InRelease
before installing:
node -v
-su: /usr/bin/node: No such file or directory
after apt-get install -y nodejs
$ node -v
v8.10.0
but for some reason it installs node v8
How can I install v6?
This question already has an answer here:
Node Package Manager got corrupted in some way, now it cannot be installed
1 answer
package-management nodejs
package-management nodejs
edited Dec 5 at 14:42
Zanna
49.4k13128236
49.4k13128236
asked Dec 5 at 5:08
randy
1113
1113
marked as duplicate by karel, Zanna, Fabby, pomsky, muru Dec 6 at 9:39
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by karel, Zanna, Fabby, pomsky, muru Dec 6 at 9:39
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
thanks Karel, that worked
– randy
Dec 5 at 13:23
add a comment |
2
thanks Karel, that worked
– randy
Dec 5 at 13:23
2
2
thanks Karel, that worked
– randy
Dec 5 at 13:23
thanks Karel, that worked
– randy
Dec 5 at 13:23
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
thanks to karel
this worked
apt-get remove nodejs
snap install node --classic --channel 6/stable
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
thanks to karel
this worked
apt-get remove nodejs
snap install node --classic --channel 6/stable
add a comment |
up vote
1
down vote
thanks to karel
this worked
apt-get remove nodejs
snap install node --classic --channel 6/stable
add a comment |
up vote
1
down vote
up vote
1
down vote
thanks to karel
this worked
apt-get remove nodejs
snap install node --classic --channel 6/stable
thanks to karel
this worked
apt-get remove nodejs
snap install node --classic --channel 6/stable
answered Dec 5 at 13:23
randy
1113
1113
add a comment |
add a comment |
2
thanks Karel, that worked
– randy
Dec 5 at 13:23