How To Install libcli on Fedora 34
Introduction
In this tutorial we learn how to install libcli
on Fedora 34.
What is libcli
Libcli provides a shared library for including a Cisco-like command-line interface into other software. It’s a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree. libcli 1.9.7 0.20160139gite60d4cc.fc34 x86_64 36 k libcli-1.9.7-0.20160139gite60d4cc.fc34.src.rpm fedora A shared library for a Cisco-like cli http LGPLv2+ Libcli provides a shared library for including a Cisco-like command-line interface into other software. It’s a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
We can use yum
or dnf
to install libcli
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libcli.
Install libcli 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 libcli
using dnf
by running the following command:
sudo dnf -y install libcli
Install libcli 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 libcli
using yum
by running the following command:
sudo yum -y install libcli
How To Uninstall libcli on Fedora 34
To uninstall only the libcli
package we can use the following command:
sudo dnf remove libcli
libcli Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/e544a6ca7091d893c3daec07868dccb31e9cc6
/usr/lib/libcli.so.1.9
/usr/lib/libcli.so.1.9.7
/usr/share/doc/libcli
/usr/share/doc/libcli/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/066c3a3e37bd27e032e4fe201b73927f2534a7
/usr/lib64/libcli.so.1.9
/usr/lib64/libcli.so.1.9.7
/usr/share/doc/libcli
/usr/share/doc/libcli/COPYING
References
- [libcli website](http://sites.dparrish.com/libcli http://sites.dparrish.com/libcli)
Summary
In this tutorial we learn how to install libcli
on Fedora 34 using yum and dnf.