Cannot install yarn on CentOS 7

General support questions
Post Reply
Goitxo
Posts: 2
Joined: 2019/11/10 19:04:27

Cannot install yarn on CentOS 7

Post by Goitxo » 2019/11/10 19:05:40

Whenever I try to install yarn on centOS on my server with this command:

Code: Select all

sudo yum install yarn
I get this error:
Complementos cargados:fastestmirror Configurando el proceso de instalación Loading mirror speeds from cached hostfile
* base: mirror.librelabucm.org
* epel: mirrors.coreix.net
* extras: mirror.airenetworks.es
* remi: remi.mirror.ate.info
* remi-php55: remi.mirror.ate.info
* remi-php56: remi.mirror.ate.info
* remi-test: remi.mirror.ate.info
* updates: mirror.airenetworks.es There is no yarn package available Error: Nothing to do
What's wrong?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot install yarn on CentOS 7

Post by TrevorH » 2019/11/10 19:22:30

What's wrong is that no-one ships it. I think the yarn website has a link to their own yum repo which you might be able to use if you really need yarn. No idea if it plays nicely.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Goitxo
Posts: 2
Joined: 2019/11/10 19:04:27

Re: Cannot install yarn on CentOS 7

Post by Goitxo » 2019/11/10 20:00:28

Thanks! Finally found the way to install Node and Yarn.

Post Reply