How to Install and Uninstall libmysql-java Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "libmysql-java" package

Here is a brief guide to show you how to install libmysql-java on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libmysql-java

2. Uninstall "libmysql-java" package

Here is a brief guide to show you how to uninstall libmysql-java on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove libmysql-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmysql-java package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libmysql-java
Architecture: all
Version: 5.1.45-1
Priority: optional
Section: universe/libs
Source: mysql-connector-java
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1004
Suggests: libslf4j-java
Filename: pool/universe/m/mysql-connector-java/libmysql-java_5.1.45-1_all.deb
Size: 955860
MD5sum: 5131b24cc115f0d5e203a9f8c273dba5
SHA1: 45725182117d2e10b313c625cb1eccc576884843
SHA256: 5451e33c228fcb39ecf20dbd0a5c2d45a931e1ecddaface0544a4e397b013fc6
Homepage: http://www.mysql.com/products/connector/j/
Description: Java database (JDBC) driver for MySQL
Description-md5: 81375f2c4ce995bb11c67f64fc802855

5. The same packages on other Linux Distributions