Ask Your Question

install nodejs 6 in fedora 24

asked 2016-05-01 12:35:07 -0500

GMoh gravatar image


i'm tried install nodejs via dnf, but there only stable version 4, i need install new version 5.x or the latest version 6 that become out before 5 days.

can you help me?

Thank you

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted

answered 2016-10-25 03:54:20 -0500

davidva gravatar image

updated 2016-10-25 04:33:16 -0500

Generally I don't use dnf for install nodejs... reasons? some times different projects needs a new version or a old version; then is a problem for me...

my trick...



tar xJf node-v$nodev-linux-x64.tar.xz -C $HOME

export PATH=$PATH:$HOME/node-v$nodev-$archnode/bin:/usr/bin/

$HOME/node-v$nodev-$archnode/bin/npm install

It is all!


32 bits replace


You can change, any version... example:

edit flag offensive delete link more

answered 2016-05-01 13:23:52 -0500

hhlp gravatar image

Here is your answer :

NOTE :Please don't use Install Node from the EPEL Repository in Fedora

edit flag offensive delete link more


Good answer... essentially download from node website and install to usr/local a safe place, with "sudo tar --strip-components 1 -xJvf node-v* -C /usr/local"

ray-foss gravatar imageray-foss ( 2017-05-28 18:03:26 -0500 )edit

answered 2016-05-01 20:37:38 -0500

sergiomb gravatar image

updated 2016-10-24 22:23:16 -0500

UPDATE: nodejs sig provides Node 6 for F23 and F24 look here:

On devel mailing list, I read that Fedora decided downgrade Nodejs to 4 , on Fedora 24 but you still got builds of Nodejs 5 on koji , you may download package from there [1] .

From package changelog:
Thu Apr 28 2016 - Version 1:4.4.3-1
- Downgrade to the latest LTS release (4.4.3)


edit flag offensive delete link more

answered 2016-07-18 17:15:52 -0500

voor gravatar image

For anyone who wants to install the Fedora maintained Node 6.3 package, you can install Node 6 from rawhide into a Fedora 24 installation with the following:

sudo dnf install -y fedora-repos-rawhide
sudo dnf install -y --enablerepo rawhide nodejs libuv --best --allowerasing
edit flag offensive delete link more


Not enough karma to upvote, but I found this to be the best answer.

dhenry gravatar imagedhenry ( 2016-08-16 12:47:05 -0500 )edit

Very very bad idea! Do not mix repo versions, this may break Fedora by accident as it may pull incompatible versions of packages.

ray-foss gravatar imageray-foss ( 2017-05-28 17:57:09 -0500 )edit

answered 2016-05-27 09:35:53 -0500

GMoh gravatar image

Thank you all for answers.

I find easy way to install latest version 6.2.0, by using this script

I just change version to v6.2.0 in first variable, then run sudo sh and installed very well.

Just to let you know

Thank you

edit flag offensive delete link more


'sudo' and "update-alternatives"; I Am Sorry but isn't a good idea...

davidva gravatar imagedavidva ( 2016-10-25 04:09:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-05-01 12:35:07 -0500

Seen: 7,307 times

Last updated: Oct 25 '16