How To Install rwho on Fedora 34

rwho is Displays who is logged in to local network machines

Introduction

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

What is rwho

The rwho command displays output similar to the output of the who command (it shows who is logged in) for all machines on the local network running the rwho daemon. Install the rwho command if you need to keep track of the users who are logged in to your local network.

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

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

sudo dnf -y install rwho

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

sudo yum -y install rwho

How To Uninstall rwho on Fedora 34

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

sudo dnf remove rwho

rwho Package Contents on Fedora 34

/usr/bin/ruptime
/usr/bin/rwho
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/ef1be4a752843607889765ece85ea67ea29a03
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/412bd59e84bddca3b2cb941225ac3fa904a78d
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/7f94c82cfb99f8a6bf64fe6a23e0fd98768f2b
/usr/lib/systemd/system/rwhod.service
/usr/sbin/rwhod
/usr/share/doc/rwho
/usr/share/doc/rwho/README
/usr/share/man/man1/ruptime.1.gz
/usr/share/man/man1/rwho.1.gz
/usr/share/man/man8/rwhod.8.gz
/var/spool/rwho

References

Summary

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