How To Install argtable on Fedora 34
Introduction
In this tutorial we learn how to install argtable
on Fedora 34.
What is argtable
Argtable is an ANSI C library for parsing GNU style command line arguments. It enables a program’s command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, –verbose, –foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic. argtable 2.13 20.fc34 x86_64 37 k argtable-2.13-20.fc34.src.rpm fedora Cross platform C library for parsing GNU style command line arguments http LGPLv2+ Argtable is an ANSI C library for parsing GNU style command line arguments. It enables a program’s command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, –verbose, –foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic.
We can use yum
or dnf
to install argtable
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install argtable.
Install argtable 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 argtable
using dnf
by running the following command:
sudo dnf -y install argtable
Install argtable 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 argtable
using yum
by running the following command:
sudo yum -y install argtable
How To Uninstall argtable on Fedora 34
To uninstall only the argtable
package we can use the following command:
sudo dnf remove argtable
argtable Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/ffaa1ba5a79740bb808495f0ea0e8988db0023
/usr/lib64/libargtable2.so.0
/usr/lib64/libargtable2.so.0.1.8
/usr/share/doc/argtable
/usr/share/doc/argtable/AUTHORS
/usr/share/doc/argtable/COPYING
/usr/share/doc/argtable/ChangeLog
/usr/share/doc/argtable/README
/usr/lib/.build-id
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/66922668d4d65b926226eb666ac464c0cec753
/usr/lib/libargtable2.so.0
/usr/lib/libargtable2.so.0.1.8
/usr/share/doc/argtable
/usr/share/doc/argtable/AUTHORS
/usr/share/doc/argtable/COPYING
/usr/share/doc/argtable/ChangeLog
/usr/share/doc/argtable/README
References
- [argtable website](http://argtable.sourceforge.net/ http://argtable.sourceforge.net/)
Summary
In this tutorial we learn how to install argtable
on Fedora 34 using yum and dnf.