How To Install qcommandline on Fedora 34

qcommandline is Command line parser for Qt programs Command line parser for Qt programs

Introduction

In this tutorial we learn how to install qcommandline on Fedora 34.

What is qcommandline

QCommandLine is a command line parsing library for Qt programs (like getopt). Features include options, switches, parameters and automatic –version/–help generation. qcommandline 0.3.0 25.fc34 x86_64 41 k qcommandline-0.3.0-25.fc34.src.rpm fedora Command line parser for Qt programs http LGPLv2+ QCommandLine is a command line parsing library for Qt programs (like getopt). Features include options, switches, parameters and automatic –version/–help generation.

We can use yum or dnf to install qcommandline on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install qcommandline.

Install qcommandline 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 qcommandline using dnf by running the following command:

sudo dnf -y install qcommandline

Install qcommandline 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 qcommandline using yum by running the following command:

sudo yum -y install qcommandline

How To Uninstall qcommandline on Fedora 34

To uninstall only the qcommandline package we can use the following command:

sudo dnf remove qcommandline

qcommandline Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/becae8f5bc44e95dd90c8835c37b923881ded0
/usr/lib/libqcommandline.so.0
/usr/lib/libqcommandline.so.0.3.0
/usr/share/doc/qcommandline
/usr/share/doc/qcommandline/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/07bdea8522191a647bb8c8c86ad3cf360691a4
/usr/lib64/libqcommandline.so.0
/usr/lib64/libqcommandline.so.0.3.0
/usr/share/doc/qcommandline
/usr/share/doc/qcommandline/COPYING

References

Summary

In this tutorial we learn how to install qcommandline on Fedora 34 using yum and dnf.