How to Install and Uninstall ruby-pg Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 20,2024

1. Install "ruby-pg" package

Please follow the steps below to install ruby-pg on Ubuntu 16.04 LTS (Xenial Xerus)

$ 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 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-pg package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-pg
Priority: optional
Section: universe/ruby
Installed-Size: 1566
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: amd64
Version: 0.18.4-1
Depends: ruby (>= 1:2.3~0), libc6 (>= 2.14), libpq5 (>= 9.3~), libruby2.3 (>= 2.3.0~preview2)
Suggests: doc-base, libjs-jquery
Filename: pool/universe/r/ruby-pg/ruby-pg_0.18.4-1_amd64.deb
Size: 245190
MD5sum: 5ea564d8018a1c2e8134043de91b6f93
SHA1: 9deb09d92e9085d307fd8bcbc198fdf8d4cca2e8
SHA256: bf41bde2d42c62c48bcff3ba37a157682ab3f502e5a337ad73e89c1676d64560
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
Homepage: http://bitbucket.org/ged/ruby-pg
Ruby-Versions: ruby2.3
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu