How To Install liblxi on CentOS 7

In this tutorial we learn how to install liblxi on CentOS 7. liblxi is Library with simple API for communication with LXI devices

Introduction

In this tutorial we learn how to install liblxi on CentOS 7.

What is liblxi

The LXI library (liblxi) is an open source software library for GNU/Linux systems which offers a simple API for communicating with LXI enabled instruments. The API allows applications to easily discover instruments on networks and communicate SCPI commands.

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

Install liblxi on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install liblxi using yum by running the following command:

sudo yum -y install liblxi

Install liblxi on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install liblxi using dnf by running the following command:

sudo dnf -y install liblxi

How To Uninstall liblxi on CentOS 7

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

sudo dnf remove liblxi

References

Summary

In this tutorial we learn how to install liblxi on CentOS 7 using yum and dnf.