How To Install libptytty on Fedora 36

In this tutorial we learn how to install libptytty in Fedora 36. libptytty is OS independent and secure pty/tty and utmp/wtmp/lastlog handling

Introduction

In this tutorial we learn how to install libptytty on Fedora 36.

What is libptytty

libptytty is a small library that offers pseudo-tty management in an OS-independent way. It also offers session database support (utmp and optional wtmp/lastlog updates for login shells) and supports fork’ing after startup and dropping privileges in the calling process. Libptytty is written in C++, but it also offers a C-only API.

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

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

sudo dnf -y install libptytty

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

sudo yum -y install libptytty

How To Uninstall libptytty on Fedora 36

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

sudo dnf remove libptytty

libptytty Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/33106be80667c62d65982152f5836730093d32
/usr/lib/libptytty.so.0
/usr/share/licenses/libptytty
/usr/share/licenses/libptytty/COPYING

References

Summary

In this tutorial we learn how to install libptytty on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libptytty on Fedora 36” linkTitle: “libptytty” type: “docs” description: “In this tutorial we learn how to install libptytty in Fedora 36. libptytty is OS independent and secure pty/tty and utmp/wtmp/lastlog handling” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libptytty-featured.png

Introduction

In this tutorial we learn how to install libptytty on Fedora 36.

What is libptytty

libptytty is a small library that offers pseudo-tty management in an OS-independent way. It also offers session database support (utmp and optional wtmp/lastlog updates for login shells) and supports fork’ing after startup and dropping privileges in the calling process. Libptytty is written in C++, but it also offers a C-only API.

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

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

sudo dnf -y install libptytty

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

sudo yum -y install libptytty

How To Uninstall libptytty on Fedora 36

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

sudo dnf remove libptytty

libptytty Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/3f3ae2eb78a21cc3f1c8f603ff98146f27c0bf
/usr/lib64/libptytty.so.0
/usr/share/licenses/libptytty
/usr/share/licenses/libptytty/COPYING

References

Summary

In this tutorial we learn how to install libptytty on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).