Ubuntu 20.04 dropped qt4
and all libqt4-*
dependencies in its official repos. My knowledge about version conflict and install-breaking actions is limited, so before any unthoughtful action is taken, I would want the community's take about this.
Would it be possible to get qt4
to install on Ubuntu 20.04, and if so, which source would not end up breaking the install?
Alternatively, what container method would be the lightest for apps relying on qt4? My usecase for qt4 is solely for some Xilinx ISE components, nothing else, so the lightweight criteria is really important.
Adding this PPA repository to your system may solve.
Then run to install qt4.
Download required packages from https://packages.ubuntu.com/bionic/ or http://archive.ubuntu.com for the Ubuntu 18.04 LTS but on Ubuntu 20.04 LTS. Then install using
sudo apt-get install -f ./<package>.deb
While recommended against you can download an old version of the package and force its installation. This could potentially break your installation, so be prepared to fix package conflicts. From that link:
If you still need to install an older package, you can follow the instructions jitendra gave in their answer:
sudo apt-get install -f ./<package>.deb
Notice that./
precedes the downloaded file; this tells apt that you're installing a local package rather than from the official repositories.