I've installed Python 3.6 on a Centos 7.4 box, and need an updated version of SQLite (I'm using some new features). The SQLite version that comes with it is very old: 3.7.17.
How is this done? On Windows it's a simple matter of replacing the sqlite.dll file in the Python\DLLs directory with your desired one, but I've found nothing for how to do it on Linux.
I can see the question was asked before over on SO, but not answered - https://stackoverflow.com/questions/39064472/how-to-update-sqlite3-in-centos-6-6 - that's about the only page my googling; most of the other results are Python 2/pysqlite which don't help me.
So, how do you update the SQLite version used by Python on a CentOS box?