How to Install and Uninstall node-require-main-filename Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 28,2024

1. Install "node-require-main-filename" package

This tutorial shows how to install node-require-main-filename on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install node-require-main-filename

2. Uninstall "node-require-main-filename" package

Here is a brief guide to show you how to uninstall node-require-main-filename on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove node-require-main-filename $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-require-main-filename package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: node-require-main-filename
Architecture: all
Version: 1.0.1-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: 16
Depends: nodejs
Filename: pool/universe/n/node-require-main-filename/node-require-main-filename_1.0.1-1_all.deb
Size: 3198
MD5sum: ef60390d25fce130a488e3227b4b283a
SHA1: 1ce72c789c7c2d204a20773c6b6d624339fa4964
SHA256: 037d8eec7bd42186a253ae7939cd0cfb0e3ddfe36e0f5e455b4bf777aa99cbfb
Homepage: https://github.com/yargs/require-main-filename#readme
Description: shim for require.main.filename() that works in as many environments as possible
Description-md5: bde42cd6397c20a85a99dac2057e11be