M HYPE SPLASH
// news

Pyqt4 on Ubuntu 20.04 install

By Emma Valentine

I use a chess application called "Lucaschess" and it needs PyQt4 module to work. Is it possible to install Pyqt4 on Ubuntu 20.04? I understand that Ubuntu no longer supports this package but is there anyway which I can work around?

1 Answer

The Qt4 packages can still be obtained from third party PPA:

sudo add-apt-repository ppa:rock-core/qt4
sudo apt-get update

Then you have to download python-qt4 binding from previous Ubuntu 18.04 LTS release manually:

cd ~/Downloads
wget
sudo apt-get install ./libqtassistantclient4_4.6.3-7build1_amd64.deb
wget
sudo apt-get install ./python-qt4_4.12.1+dfsg-2_amd64.deb
wget
sudo apt-get install ./python-pyaudio_0.2.11-1build2_amd64.deb

As the result the Python2-Qt4 binding will be installed. Then you know what to do.

Also note that there is fresh version of lucaschess here with Qt5 as dependency.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy