How to install Qt4 library on Ubuntu 20.04 LTS
The Qt4 framework has been removed from the Ubuntu 20.04 main repository. However, some older applications still require it.
I don’t recommend it, but you can get the Qt4 library (eg: libqt4-declarative
, qt4-dev-tools
, qt4-qmake
, libqtwebkit4
For building applications as or through software dependencies, etc. Third party PPA..
1.) Open Terminal by pressing Ctrl + Alt + T on your keyboard or by searching for “Terminal” in the System Application Launcher. When the terminal opens, execute the following command.
sudo add-apt-repository ppa:rock-core/qt4
Enter the user password (without asterisk feedback) when prompted and press Enter.
2.) Adding PPA will automatically update the system package cache. Some Ubuntu derivatives allow you to run a command to manually update the package cache.
sudo apt update
3.) Finally install the software .deb
The package and the required Qt4 libraries should be installed automatically after running sudo apt -f install.
Alternatively, you can run the following command to install the specified Qt4 package.
sudo apt install PACKAGE_NAME
to see here For a complete list of available Qt4 libraries,
Uninstall Qt4.
To remove the PPA, run the following command.
sudo add-apt-repository ppa:rock-core/qt4
To remove all Qt4 libraries, run the following command.
sudo apt remove --autoremove libqt4* libqtcore4 libqtgui4 libqtwebkit4 qt4*
It’s a sequel.
It’s a sequel.
It’s a sequel.
It’s a sequel.
It’s a sequel.