How to Install and Uninstall python3-mysqldb Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 09,2024

1. Install "python3-mysqldb" package

In this section, we are going to explain the necessary steps to install python3-mysqldb on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install python3-mysqldb

2. Uninstall "python3-mysqldb" package

In this section, we are going to explain the necessary steps to uninstall python3-mysqldb on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the python3-mysqldb package on Ubuntu 23.10 (Mantic Minotaur)

Package: python3-mysqldb
Architecture: amd64
Version: 1.4.6-2build1
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: 169
Depends: python3 (<< 3.12), python3 (>= 3.11~), 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-2build1_amd64.deb
Size: 47246
MD5sum: ca78759bf993a58fafc617da601f0074
SHA1: f50a89440bd86ce42c6b31cec005241dd5195c65
SHA256: 72e6c4807a41cab8b25ead1465c28e3f72d3bf97840d449760623f0c91102f9c
SHA512: 970dfa9832109ec57a033d56af2cb0984ae0aa8912dd13a50936c291d3970cb7c63b4d36ce309eae88b6e058d51ce4955ff2caff86036a3676ace7641447a92c
Homepage: https://github.com/PyMySQL/mysqlclient
Description: Python interface to MySQL
Description-md5: ef94561a9d5a0ef91971efb133cb764a