How to Install and Uninstall yarn Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 23,2024

1. Install "yarn" package

Please follow the steps below to install yarn on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install yarn

2. Uninstall "yarn" package

In this section, we are going to explain the necessary steps to uninstall yarn on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove yarn $ sudo apt autoclean && sudo apt autoremove

3. Information about the yarn package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: yarn
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 5240
Maintainer: Yarn Developers
Architecture: all
Version: 1.22.17-1
Recommends: nodejs
Conflicts: nodejs (<< 4.0.0), cmdtest
Description: Fast, reliable, and secure dependency management.
Yarn: Fast, reliable, and secure dependency management.
.
Fast: Yarn caches every package it downloads so it never needs to again. It
also parallelizes operations to maximize resource utilization so install times
are faster than ever.
.
Reliable: Using a detailed, but concise, lockfile format, and a deterministic
algorithm for installs, Yarn is able to guarantee that an install that worked
on one system will work exactly the same way on any other system.
.
Secure: Yarn uses checksums to verify the integrity of every installed package
before its code is executed.
Description-md5: b696a45d1bb1f5e49025546ea389ac04
Homepage: https://yarnpkg.com/