website icon indicating copy to clipboard operation
website copied to clipboard

Installation Guide leads to wrong yarn

Open cawoodm opened this issue 5 years ago • 1 comments

Following the official guide on Ubuntu 18.04 led to the "wrong" yarn being installed: https://yarnpkg.com/lang/en/docs/install/#debian-stable

Executing sudo apt remove cmdtest before did not help. Apt-Get installs the wrong Yarn.

Following this guide worked: https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/

The difference seems to be using "apt" instead of "apt-get":

sudo apt update
sudo apt install yarn

cawoodm avatar Jun 16 '19 10:06 cawoodm

Are you sure you ran apt-get update after adding the repo? apt and apt-get both use the same backend service so there shouldn't be a difference in how they behave. It's likely that the apt update is what helped, not just using apt vs apt-get.

Having said that, it's a good idea to update the site to use apt though.

Daniel15 avatar Jun 18 '19 06:06 Daniel15