How to Install and Uninstall node-pg Package on Debian 11 (Bullseye)

Last updated: January 11,2025

1. Install "node-pg" package

This guide covers the steps necessary to install node-pg on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install node-pg

2. Uninstall "node-pg" package

Please follow the steps below to uninstall node-pg on Debian 11 (Bullseye):

$ sudo apt remove node-pg $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-pg package on Debian 11 (Bullseye)

Package: node-pg
Source: node-postgres
Version: 7.14.0-2
Installed-Size: 199
Maintainer: Debian Javascript Maintainers
Architecture: all
Provides: node-buffer-writer (= 2.0.0), node-packet-reader (= 1.0.0), node-pg-connection-string (= 2.1.0), node-pg-cursor (= 2.0.1), node-pg-int8 (= 1.0.1), node-pg-numeric (= 1.0.2), node-pg-pool (= 2.0.7), node-pg-types (= 3.0.0), node-pgpass (= 1.0.2), node-postgres-array (= 2.0.0), node-postgres-bytea (= 2.0.0), node-postgres-date (= 1.0.4), node-postgres-interval (= 1.2.0)
Depends: node-async, node-semver (>= 4.3.2), node-split, node-xtend
Suggests: postgresql
Description: PostgreSQL client library for Node
Description-md5: 5cad2a896c3a3e634317a818cd276ea7
Homepage: https://github.com/brianc/node-postgres
Section: javascript
Priority: optional
Filename: pool/main/n/node-postgres/node-pg_7.14.0-2_all.deb
Size: 44432
MD5sum: 6dcfc27ebe41f720208445a7d250b315
SHA256: 1d8db6efbf4dfdfce7e1dbe8e1dbe9300d48487b684b327429766921b324f1fc