How to Install and Uninstall ruby-pg Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 20,2024

1. Install "ruby-pg" package

This tutorial shows how to install ruby-pg on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-pg

2. Uninstall "ruby-pg" package

This guide covers the steps necessary to uninstall ruby-pg on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ruby-pg package on Ubuntu 21.10 (Impish Indri)

Package: ruby-pg
Architecture: amd64
Version: 1.2.3-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1529
Depends: ruby (>= 1:2.7~0), libc6 (>= 2.29), libpq5 (>= 12~~), libruby2.7 (>= 2.7.0), ruby (<< 1:2.8~)
Suggests: doc-base, libjs-jquery
Breaks: gitlab (<< 11.8~), ruby-activerecord-import (<< 0.28.2-3)
Filename: pool/universe/r/ruby-pg/ruby-pg_1.2.3-1_amd64.deb
Size: 276220
MD5sum: f5db9c63af820e0e56f73ebbd6b35f56
SHA1: d2693bc8be7355a4f6195f6002d94dfaa6426a42
SHA256: 31e46120fdd7b1c65cbd72afcd6f83ed74e65b7ea21708c3a5686ba4e766cef5
SHA512: 3a02ac034c9f35209f3e94472d8c4a5bde796f3464341d4d5d54288a4f2141d3d6503762b70f769944b5276892abf920a2df107a6423c2550a233cc38db22740
Homepage: http://bitbucket.org/ged/ruby-pg
Description-en: PostgreSQL interface for Ruby
ruby-pg module allows Ruby programs to interface with the PostgreSQL
database engine.
.
It supports the functions defined in libpq library.
Description-md5: 5d27f486d8d3919d33cc283d173af5da
Ruby-Versions: ruby2.7