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

Last updated: December 23,2024

1. Install "ruby-mysql" package

This guide covers the steps necessary to install ruby-mysql on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ruby-mysql

2. Uninstall "ruby-mysql" package

Please follow the guidelines below to uninstall ruby-mysql on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: ruby-mysql
Priority: optional
Section: universe/ruby
Installed-Size: 191
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: amd64
Version: 2.9.1-1ubuntu1
Depends: libc6 (>= 2.4), libmysqlclient20 (>= 5.7.11), libruby2.3 (>= 2.3.0~preview2), ruby (>= 1:2.3~0)
Filename: pool/universe/r/ruby-mysql/ruby-mysql_2.9.1-1ubuntu1_amd64.deb
Size: 44406
MD5sum: adee505846bcfdaa856e92a5a1b7d1ad
SHA1: 822b98e9a547daecd7aa89259013fd8732c93ba3
SHA256: 6fdb62f06e7916cca5120786d2486c0c32bcdeb656168dc999b5749d3c96fe0d
Description-en: MySQL module for Ruby
This is an API module that allows Ruby programs to interface with MySQL
databases. Usually, it will be pulled in automatically by packages providing
Ruby programs which need this capability, you only need to install it directly
if you intend to write such programs yourself.
Description-md5: f6746a41b89ba7e5b1f48357fb72245c
Homepage: http://www.tmtm.org/en/mysql/
Ruby-Versions: ruby2.3
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu