Update PcManFM-qt in Lubuntu

I want update my PCManFM-qt file manager in LXQt desktop from 0.14.2 to 0.17.0 and i use this command:

sudo apt install pcmanfm-qt

but it says that you are using the latest version.

How can I upgrade PCManFM-qt to the latest version?

Lubuntu: 20.04.3

apt policy pcmanfm-qt

Output:

pcmanfm-qt:
Installed: 0.14.1-0ubuntu3
  Candidate: 0.14.1-0ubuntu3
  Version table:
 *** 0.14.1-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

Solution 1:

The updated LXQt will require you to also upgrade your Qt5 version.

Lubuntu 20.04 LTS shipped with the latest version of LXQt that worked with the LTS version of Qt 5.12.8 that was shipped with Ubuntu 20.04 LTS.

Subsequent releases of Qt 5 have not been LTS; so you'll need to upgrade regularly if you do, and by far the easiest fix is to release-upgrade to a later release.

fyi: pcmanfm-qt handles much of the LXQt desktop, so you cannot just upgrade that package without upgrading the rest of your LXQt; as well as the Qt toolkit it works with - ie. a large part of your software stack relies on it.

All other Qt5 apps will also need upgrading... (so they match the newer release you'll have installed), as all Qt5 apps in a specific release all use the same Qt, which was 5.12.8 LTS for Ubuntu 20.04 LTS

Solution 2:

Really you can upgrade pcmanfm-qt and other LxQt components to latest versions using “Lubuntu Continuous Integration” team – UNSTABLE CI Output - Proposed Pocket PPA.
But be careful as maintainers warn users with "⚠️ This PPA is not meant to be used ⚠️" message.

Add the above PPA and then install packages from it using commands below:

sudo add-apt-repository ppa:lubuntu-ci/unstable-ci-proposed
sudo apt-get update
sudo apt-get install pcmanfm-qt
sudo apt-get dist-upgrade
sudo apt-get autoremove --purge

to get LxQt 0.16 with PcManFm-Qt 0.17:

LxQt from PPA

To revert to default versions use commands below:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:lubuntu-ci/unstable-ci-proposed