website
website copied to clipboard
Installation Guide leads to wrong yarn
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
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.