How to Install and Uninstall ruby-pg Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 13,2024

1. Install "ruby-pg" package

Please follow the instructions below to install ruby-pg on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install ruby-pg

2. Uninstall "ruby-pg" package

Please follow the step by step instructions below to uninstall ruby-pg on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the ruby-pg package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: ruby-pg
Architecture: amd64
Version: 0.19.0-2build1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1620
Depends: ruby (>= 1:2.5~0), libc6 (>= 2.14), libpq5 (>= 9.5~~), libruby2.5 (>= 2.5.0~preview1)
Suggests: doc-base, libjs-jquery
Filename: pool/universe/r/ruby-pg/ruby-pg_0.19.0-2build1_amd64.deb
Size: 248732
MD5sum: 1d430217753e5787cf1829337082295c
SHA1: 1113ff4f44f7e37edbb6325e8ecca3fbfa66c145
SHA256: 99294e287063db86b4824bab86e6c8322fee0e3d79ce0104d0d0ddc7a8868860
Homepage: http://bitbucket.org/ged/ruby-pg
Description: PostgreSQL interface for Ruby
Description-md5: 5d27f486d8d3919d33cc283d173af5da
Ruby-Versions: ruby2.5