How to Install and Uninstall python3-mysqldb Package on Debian 10 (Buster)

Last updated: November 22,2024

1. Install "python3-mysqldb" package

Please follow the steps below to install python3-mysqldb on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python3-mysqldb

2. Uninstall "python3-mysqldb" package

Please follow the guidelines below to uninstall python3-mysqldb on Debian 10 (Buster):

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

3. Information about the python3-mysqldb package on Debian 10 (Buster)

Package: python3-mysqldb
Source: python-mysqldb
Version: 1.3.10-2
Installed-Size: 187
Maintainer: Debian Python Modules Team
Architecture: amd64
Provides: python3.7-mysqldb
Depends: python3 (<< 3.8), python3 (>= 3.7~), python3:any, libc6 (>= 2.4), libmariadb3 (>= 3.0.0), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4)
Suggests: default-mysql-server | virtual-mysql-server, python-egenix-mxdatetime, python3-mysqldb-dbg
Description: Python interface to MySQL
Description-md5: ef94561a9d5a0ef91971efb133cb764a
Homepage: https://pypi.python.org/pypi/mysqlclient
Tag: implemented-in::python
Section: python
Priority: optional
Filename: pool/main/p/python-mysqldb/python3-mysqldb_1.3.10-2_amd64.deb
Size: 56060
MD5sum: 40b045b8ec7ec39bec6e627ef4874b55
SHA256: 4b4e73a0666c10cca8a2ca535e7f4c7dda0e19416c0f857894bf99ccbb9d015d