How to Install and Uninstall python3-mysqldb Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 23,2024

1. Install "python3-mysqldb" package

Learn how to install python3-mysqldb on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install python3-mysqldb

2. Uninstall "python3-mysqldb" package

Please follow the guidelines below to uninstall python3-mysqldb on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove python3-mysqldb $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-mysqldb package on Ubuntu 22.10 (Kinetic Kudu)

Package: python3-mysqldb
Architecture: amd64
Version: 1.4.6-1build1
Priority: optional
Section: python
Source: python-mysqldb
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 177
Provides: python3.10-mysqldb
Depends: python3 (<< 3.11), python3 (>= 3.10~), python3:any, libc6 (>= 2.4), libmysqlclient21 (>= 8.0.11)
Suggests: default-mysql-server | virtual-mysql-server
Filename: pool/main/p/python-mysqldb/python3-mysqldb_1.4.6-1build1_amd64.deb
Size: 48794
MD5sum: 28f426498ab0939e7f125eebd793a59c
SHA1: 6ba7fb1233de040a402e516d28e26564f8057a52
SHA256: 09437febaee894b9eda11396902a87956bc65b1d4b585d630439f7cbc2b58985
SHA512: be66724f7cfb66877c0996c3adb33caf1bedc34aa896d2f529f10669095637875eee68fc30918be4e0cfb92a97c34fbb7360740af8ccdfb7b98c8e26cc2c2bd5
Homepage: https://github.com/PyMySQL/mysqlclient
Description: Python interface to MySQL
Description-md5: ef94561a9d5a0ef91971efb133cb764a