How To Install lnst on Fedora 34

lnst is Common code for lnst-ctl and lnst-slave

Introduction

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

What is lnst

Linux Network Stack Test is a tool useful for developing and performing automated network tests. LNST focuses on maximum portability of the so-called recipes (descriptions of test cases and scenarios). This package contains the code that is common for both LNST controller and LNST slave.

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

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

sudo dnf -y install lnst

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

sudo yum -y install lnst

How To Uninstall lnst on Fedora 34

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

sudo dnf remove lnst

lnst Package Contents on Fedora 34

/usr/lib/python3.9/site-packages/lnst
/usr/lib/python3.9/site-packages/lnst-15-py3.9.egg-info
/usr/lib/python3.9/site-packages/lnst/Common
/usr/lib/python3.9/site-packages/lnst/Common/Colours.py
/usr/lib/python3.9/site-packages/lnst/Common/Config.py
/usr/lib/python3.9/site-packages/lnst/Common/ConnectionHandler.py
/usr/lib/python3.9/site-packages/lnst/Common/Consts.py
/usr/lib/python3.9/site-packages/lnst/Common/Daemon.py
/usr/lib/python3.9/site-packages/lnst/Common/ExecCmd.py
/usr/lib/python3.9/site-packages/lnst/Common/LoggingHandler.py
/usr/lib/python3.9/site-packages/lnst/Common/Logs.py
/usr/lib/python3.9/site-packages/lnst/Common/NetTestCommand.py
/usr/lib/python3.9/site-packages/lnst/Common/NetUtils.py
/usr/lib/python3.9/site-packages/lnst/Common/PacketCapture.py
/usr/lib/python3.9/site-packages/lnst/Common/Path.py
/usr/lib/python3.9/site-packages/lnst/Common/ProcessManager.py
/usr/lib/python3.9/site-packages/lnst/Common/ResourceCache.py
/usr/lib/python3.9/site-packages/lnst/Common/SecureSocket.py
/usr/lib/python3.9/site-packages/lnst/Common/ShellProcess.py
/usr/lib/python3.9/site-packages/lnst/Common/TestsCommon.py
/usr/lib/python3.9/site-packages/lnst/Common/Utils.py
/usr/lib/python3.9/site-packages/lnst/Common/Version.py
/usr/lib/python3.9/site-packages/lnst/Common/__init__.py
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Colours.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Colours.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Config.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ConnectionHandler.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ConnectionHandler.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Consts.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Consts.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Daemon.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Daemon.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ExecCmd.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ExecCmd.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/LoggingHandler.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/LoggingHandler.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Logs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Logs.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/NetTestCommand.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/NetTestCommand.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/NetUtils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/NetUtils.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/PacketCapture.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/PacketCapture.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Path.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Path.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ProcessManager.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ProcessManager.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ResourceCache.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ResourceCache.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/SecureSocket.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/SecureSocket.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ShellProcess.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/ShellProcess.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/TestsCommon.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/TestsCommon.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Version.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/Version.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/Common/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/lnst/__init__.py
/usr/lib/python3.9/site-packages/lnst/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/lnst/__pycache__/__init__.cpython-39.pyc
/usr/share/doc/lnst
/usr/share/doc/lnst/COPYING
/usr/share/doc/lnst/README.md

References

Summary

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