How to Install and Uninstall npm.x86_64 Package on CentOS 8 / RHEL 8

Last updated: January 12,2025

1. Install "npm.x86_64" package

Here is a brief guide to show you how to install npm.x86_64 on CentOS 8 / RHEL 8

$ sudo dnf update $ sudo dnf install npm.x86_64

2. Uninstall "npm.x86_64" package

Please follow the step by step instructions below to uninstall npm.x86_64 on CentOS 8 / RHEL 8:

$ sudo dnf remove npm.x86_64 $ sudo dnf autoremove

3. Information about the npm.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:18:22 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : npm
Epoch : 1
Version : 6.14.11
Release : 1.10.24.0.1.module_el8.3.0+717+fa496f1d
Architecture : x86_64
Size : 3.7 M
Source : nodejs-10.24.0-1.module_el8.3.0+717+fa496f1d.src.rpm
Repository : appstream
Summary : Node.js Package Manager
URL : http://nodejs.org/
License : MIT and ASL 2.0 and ISC and BSD
Description : npm is a package manager for node.js. You can use it to install and publish
: your node programs. It manages dependencies and does other cool stuff.