How To Install libserialport on Fedora 36
Introduction
In this tutorial we learn how to install libserialport
on Fedora 36.
What is libserialport
libserialport is a minimal library written in C that is intended to take care of the OS-specific details when writing software that uses serial ports. By writing your serial code to use libserialport, you enable it to work transparently on any platform supported by the library. The operations that are supported are - Port enumeration (obtaining a list of serial ports on the system). - Opening and closing ports. - Setting port parameters (baud rate, parity, etc). - Reading, writing and flushing data. - Obtaining error information.
We can use yum
or dnf
to install libserialport
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libserialport.
Install libserialport on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libserialport
using dnf
by running the following command:
sudo dnf -y install libserialport
Install libserialport on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libserialport
using yum
by running the following command:
sudo yum -y install libserialport
How To Uninstall libserialport on Fedora 36
To uninstall only the libserialport
package we can use the following command:
sudo dnf remove libserialport
libserialport Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/6bc33ff10a4af876cbe05f95f8bb9e2238008b
/usr/lib64/libserialport.so.0
/usr/lib64/libserialport.so.0.1.0
/usr/share/doc/libserialport
/usr/share/doc/libserialport/COPYING
/usr/share/doc/libserialport/README
References
Summary
In this tutorial we learn how to install libserialport
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install libserialport on Fedora 36” linkTitle: “libserialport” type: “docs” description: “In this tutorial we learn how to install libserialport in Fedora 36. libserialport is Library for accessing serial ports” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libserialport-featured.png
Introduction
In this tutorial we learn how to install libserialport
on Fedora 36.
What is libserialport
libserialport is a minimal library written in C that is intended to take care of the OS-specific details when writing software that uses serial ports. By writing your serial code to use libserialport, you enable it to work transparently on any platform supported by the library. The operations that are supported are - Port enumeration (obtaining a list of serial ports on the system). - Opening and closing ports. - Setting port parameters (baud rate, parity, etc). - Reading, writing and flushing data. - Obtaining error information.
We can use yum
or dnf
to install libserialport
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libserialport.
Install libserialport on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install libserialport
using dnf
by running the following command:
sudo dnf -y install libserialport
Install libserialport on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libserialport
using yum
by running the following command:
sudo yum -y install libserialport
How To Uninstall libserialport on Fedora 36
To uninstall only the libserialport
package we can use the following command:
sudo dnf remove libserialport
libserialport Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/a3867325904692bc8350568c25e1003c12acb3
/usr/lib/libserialport.so.0
/usr/lib/libserialport.so.0.1.0
/usr/share/doc/libserialport
/usr/share/doc/libserialport/COPYING
/usr/share/doc/libserialport/README
References
Summary
In this tutorial we learn how to install libserialport
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).