How to Install and Uninstall node-ansi-regex Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "node-ansi-regex" package

This is a short guide on how to install node-ansi-regex on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install node-ansi-regex

2. Uninstall "node-ansi-regex" package

Please follow the step by step instructions below to uninstall node-ansi-regex on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove node-ansi-regex $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-ansi-regex package on Ubuntu 20.04 LTS (Focal Fossa)

Package: node-ansi-regex
Architecture: all
Version: 5.0.0-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: nodejs
Filename: pool/universe/n/node-ansi-regex/node-ansi-regex_5.0.0-1_all.deb
Size: 4736
MD5sum: 5744eaf77461a713a130ebcb213dc8a9
SHA1: 374e2e679389ec4fd4303b9250a7e344dc68cbf4
SHA256: df1002f7f3122dfd43f65fa59a51a7f6b07417d8def9c01002000e4c43aa3fb6
Homepage: https://github.com/sindresorhus/ansi-regex
Description: regular expression for matching ANSI escape codes
Description-md5: 46311597c68dce90593747cc5eb6102a