Qt4 Ubuntu PPA Repo Adding
Hi! The Tutorial shows you Step-by-Step How to Add Qt4 PPA Repository in Ubuntu-Based GNU/Linux OSes.
And Qt4 Repo for Ubuntu is leading to Install Qt 4 on unsupported Ubuntu 20.04+ releases.
Finally, this Setup is Valid for All the Ubuntu-based Distros like:
- Linux Mint
- Lubuntu
- Kubuntu
- Xubuntu
- Zorin OS
- Elementary OS
- Linux Lite
- Bodhi Linux
- Kde Neon
- Pop!_OS
- Voyager
- Trisquel
- LXLE
- feren OS
- Peppermint
- Q4OS
- Linux Ultimate Edition
1. Launching Shell Emulator
Open a Terminal window
(Press “Enter” to Execute Commands)
2. Adding Qt4 Repo
Then to Add Qt4 Repository for Ubuntu
Execute:sudo add-apt-repository ppa:rock-core/qt4
Authenticate with the User Admin Pass.
If Got “User is Not in Sudoers file” then see: How to Enable sudo.
Especially relevant, on 20.10+ Releases then you have to Fix the Repo File manually, so for instance using the nano Editor:sudo nano /etc/apt/sources.list.d/rock-core-ubuntu-qt4*.list
And Set it as for “focal“, so for instance change “jammy” in “focal”!
Ctrl+x to Save & Exit from nano Editor.
And then for most Ubuntu-based OSes to Refresh the Apt Repos:sudo apt update
3. Installing Qt4 on Ubuntu
Finally, to Install Qt4 for Ubuntu Based