How to Install and Uninstall node-mock-fs Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 22,2024

1. Install "node-mock-fs" package

This is a short guide on how to install node-mock-fs on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install node-mock-fs

2. Uninstall "node-mock-fs" package

Please follow the guidelines below to uninstall node-mock-fs on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove node-mock-fs $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-mock-fs package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: node-mock-fs
Architecture: all
Version: 5.1.2-1
Priority: optional
Section: universe/javascript
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 143
Depends: nodejs
Filename: pool/universe/n/node-mock-fs/node-mock-fs_5.1.2-1_all.deb
Size: 28902
MD5sum: f3bf140bc6dee71d04480e0b04e79936
SHA1: ebda20ddb938f58aaa8aa0b30bee75d5f2d0ffe7
SHA256: c62962e5c6b20985d3d795fe843caa7bbec3aa364a4421f8cb7873f643842148
SHA512: b387b275a82556101e2e39c423dacd8e5b613ea7462dde13ebb27f754f169a31615aefb46ccdf8daae4271cbe82d7d26ae6c539dbcbccadf9bd081c9fdde179b
Homepage: https://github.com/tschaub/mock-fs
Description: configurable mock for Node.js module fs
Description-md5: 6f43e98706782027ef69419a7843214a