How To Install qtsingleapplication on Fedora 34
Introduction
In this tutorial we learn how to install qtsingleapplication
on Fedora 34.
What is qtsingleapplication
For some applications it is useful or even critical that they are started only once by any user. Future attempts to start the application should activate any already running instance, and possibly perform requested actions, e.g. loading a file, in that instance. The QtSingleApplication class provides an interface to detect a running instance, and to send command strings to that instance. qtsingleapplication 2.6.1 41.fc34 x86_64 41 k qtsingleapplication-2.6.1-41.fc34.src.rpm fedora Qt library to start applications only once per user http GPLv3 or LGPLv2 with exceptions For some applications it is useful or even critical that they are started only once by any user. Future attempts to start the application should activate any already running instance, and possibly perform requested actions, e.g. loading a file, in that instance. The QtSingleApplication class provides an interface to detect a running instance, and to send command strings to that instance.
We can use yum
or dnf
to install qtsingleapplication
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install qtsingleapplication.
Install qtsingleapplication on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install qtsingleapplication
using dnf
by running the following command:
sudo dnf -y install qtsingleapplication
Install qtsingleapplication on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install qtsingleapplication
using yum
by running the following command:
sudo yum -y install qtsingleapplication
How To Uninstall qtsingleapplication on Fedora 34
To uninstall only the qtsingleapplication
package we can use the following command:
sudo dnf remove qtsingleapplication
qtsingleapplication Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/6b710155b047df8a6aef5f4cd4e3c905c544c9
/usr/lib/libQtSolutions_SingleApplication-2.6.so.1
/usr/lib/libQtSolutions_SingleApplication-2.6.so.1.0
/usr/lib/libQtSolutions_SingleApplication-2.6.so.1.0.0
/usr/share/doc/qtsingleapplication
/usr/share/doc/qtsingleapplication/README.TXT
/usr/share/licenses/qtsingleapplication
/usr/share/licenses/qtsingleapplication/LGPL_EXCEPTION
/usr/share/licenses/qtsingleapplication/LICENSE.GPL3
/usr/share/licenses/qtsingleapplication/LICENSE.LGPL
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/cd44076d15b4709bf56fe22659647576e0c539
/usr/lib64/libQtSolutions_SingleApplication-2.6.so.1
/usr/lib64/libQtSolutions_SingleApplication-2.6.so.1.0
/usr/lib64/libQtSolutions_SingleApplication-2.6.so.1.0.0
/usr/share/doc/qtsingleapplication
/usr/share/doc/qtsingleapplication/README.TXT
/usr/share/licenses/qtsingleapplication
/usr/share/licenses/qtsingleapplication/LGPL_EXCEPTION
/usr/share/licenses/qtsingleapplication/LICENSE.GPL3
/usr/share/licenses/qtsingleapplication/LICENSE.LGPL
References
- [qtsingleapplication website](http://doc.qt.digia.com/solutions/4/qtsingleapplication/qtsingleapplication.html http://doc.qt.digia.com/solutions/4/qtsingleapplication/qtsingleapplication.html)
Summary
In this tutorial we learn how to install qtsingleapplication
on Fedora 34 using yum and dnf.