How to Install and Uninstall MySQL-python.x86_64 Package on Amazon Linux 2

Last updated: November 24,2024

1. Install "MySQL-python.x86_64" package

This tutorial shows how to install MySQL-python.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install MySQL-python.x86_64

2. Uninstall "MySQL-python.x86_64" package

Please follow the guidance below to uninstall MySQL-python.x86_64 on Amazon Linux 2:

$ sudo yum remove MySQL-python.x86_64 $ sudo yum autoremove

3. Information about the MySQL-python.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : MySQL-python
Arch : x86_64
Version : 1.2.5
Release : 1.amzn2.0.2
Size : 89 k
Repo : amzn2-core/2/x86_64
Summary : An interface to MySQL
URL : https://github.com/farcepest/MySQLdb1
License : GPLv2+
Description : Python interface to MySQL
:
: MySQLdb is an interface to the popular MySQL database server for
: Python. The design goals are:
:
: - Compliance with Python database API version 2.0
: - Thread-safety
: - Thread-friendliness (threads will not block each other)
: - Compatibility with MySQL 3.23 and up
:
: This module should be mostly compatible with an older interface
: written by Joe Skinner and others. However, the older version is
: a) not thread-friendly, b) written for MySQL 3.21, c) apparently
: not actively maintained. No code from that version is used in
: MySQLdb.