Thanks for the helpful comments. I've just returned from holiday, so can now follow them up. It turns out I DO have Python version 3 installed and if I use the command 'python3' then readline support works fine. But my Python 3 packages do not provide a command "python"; is this expected behaviour? Here is some more info: $ ls -l /usr/bin/python* lrwxrwxrwx 1 root root 9 Jun 10 10:14 /usr/bin/python -> python2.7 lrwxrwxrwx 1 root root 9 Jun 10 10:14 /usr/bin/python2 -> python2.7 -rwxr-xr-x 1 root root 6304 Jun 10 10:15 /usr/bin/python2.7 lrwxrwxrwx 1 root root 9 Jul 6 15:30 /usr/bin/python3 -> python3.6 -rwxr-xr-x 2 root root 10584 Jul 6 15:30 /usr/bin/python3.6 -rwxr-xr-x 2 root root 10584 Jul 6 15:30 /usr/bin/python3.6m lrwxrwxrwx 1 root root 45 May 9 12:14 /usr/bin/pythontex -> ../share/texmf/scripts/pythontex/pythontex.py $ rpm -qf /usr/bin/python python-base-2.7.18-150000.41.1.x86_64 $ rpm -qf /usr/bin/python3 python3-base-3.6.15-150300.10.27.1.x86_64