How to Install and Uninstall ruby-mysql2 Package on Debian 11 (Bullseye)

Last updated: November 21,2024

1. Install "ruby-mysql2" package

Please follow the step by step instructions below to install ruby-mysql2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install ruby-mysql2

2. Uninstall "ruby-mysql2" package

This guide covers the steps necessary to uninstall ruby-mysql2 on Debian 11 (Bullseye):

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

3. Information about the ruby-mysql2 package on Debian 11 (Bullseye)

Package: ruby-mysql2
Version: 0.5.3-3
Installed-Size: 140
Maintainer: Debian Ruby Team
Architecture: amd64
Depends: ruby-eventmachine, libc6 (>= 2.7), libmariadb3 (>= 3.0.0), libruby2.7 (>= 2.7.0), ruby (>= 1:2.7~0), ruby (<< 1:2.8~)
Description: simple, fast MySQL library for Ruby
Description-md5: 637b80aa3f82b9381d0e2ddde04dbdc8
Homepage: https://github.com/brianmario/mysql2
Ruby-Versions: ruby2.7
Section: ruby
Priority: optional
Filename: pool/main/r/ruby-mysql2/ruby-mysql2_0.5.3-3_amd64.deb
Size: 44756
MD5sum: 41d8f9030dc5592c33879b065dc4a805
SHA256: 0e25fd1d81f2a09e3b872e50af2c4749d63e4c347e4b37eb1fa9d1ed8d12b42a