How to Install and Uninstall ruby-pg Package on Debian 12 (Bookworm)

Last updated: May 12,2024

1. Install "ruby-pg" package

This guide covers the steps necessary to install ruby-pg on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install ruby-pg

2. Uninstall "ruby-pg" package

This is a short guide on how to uninstall ruby-pg on Debian 12 (Bookworm):

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

3. Information about the ruby-pg package on Debian 12 (Bookworm)

Package: ruby-pg
Source: ruby-pg (1.4.5-1)
Version: 1.4.5-1+b1
Installed-Size: 1761
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: libc6 (>= 2.29), libpq5 (>= 15~~), libruby3.1 (>= 3.1.2), libruby (>= 1:3.1~0), libruby (<< 1:3.2~)
Suggests: doc-base, libjs-jquery
Breaks: gitlab (<< 11.8~)
Description: PostgreSQL interface for Ruby
Description-md5: 5d27f486d8d3919d33cc283d173af5da
Homepage: http://bitbucket.org/ged/ruby-pg
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-pg/ruby-pg_1.4.5-1+b1_amd64.deb
Size: 384584
MD5sum: a15e08171b4cf74c36196368595a213d
SHA256: 5939a1f3a26ce2c00f0c0fafcb294c750b05296c6983eaecbf975fcfa734d298