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

Last updated: May 18,2024

1. Install "ruby-mysql2" package

Please follow the guidance below to install ruby-mysql2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ruby-mysql2

2. Uninstall "ruby-mysql2" package

This guide let you learn how to uninstall ruby-mysql2 on Ubuntu 21.10 (Impish Indri):

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

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

Package: ruby-mysql2
Architecture: amd64
Version: 0.5.2-1ubuntu4
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: 142
Depends: ruby (>= 1:2.7~0), ruby-eventmachine, libc6 (>= 2.7), libmysqlclient21 (>= 8.0.11), libruby2.7 (>= 2.7.0), ruby (<< 1:2.8~)
Filename: pool/universe/r/ruby-mysql2/ruby-mysql2_0.5.2-1ubuntu4_amd64.deb
Size: 42600
MD5sum: 318fce4828edcb520afa457a1be0a788
SHA1: 05d54c728c53d0b5cb5b206d4cf7e18e00779c96
SHA256: 9eb7254cb2fa08abb371812dad39daa5cd213ae15a0c0ddaeaaf426c0653718a
SHA512: 050b6439206da9ba0d01eadd8b367331e9dbfdd205223f546e30c982f4cd2ce9cd1ded9b9318695969b6eefb4d3ebd720e9f6dc49498e6f2d86a6ec4e216cc14
Homepage: https://github.com/brianmario/mysql2
Description-en: simple, fast MySQL library 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. You may want to prefer the
ruby-mysql2 package over the ruby-mysql package, since benchmarks have shown
it to be faster, it is non-blocking and it supports UTF-8 database encoding.
Description-md5: 637b80aa3f82b9381d0e2ddde04dbdc8
Ruby-Versions: ruby2.7