Where can one find `python-sqlite` package in RHEL 6?

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux 6

Issue

  • Need to install python-sqlite in RHEL 6.3
  • Where can one find python-sqlite package in RHEL 6?

Resolution

In RHEL6 sqlite support is included in python and is no longer provided in a separate package. The following line in python will bring in sqlite support:

import sqlite3

and this works with the default RHEL 6 python without need to install extra packages.

Root Cause

In RHEL6 sqlite support is included in python and is no longer provided in a separate package

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments