How To Install rwho.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rwho.x86_64 in Amazon Linux 2. rwho.x86_64 is Displays who is logged in to local network machines

Introduction

In this tutorial we learn how to install rwho.x86_64 on Amazon Linux 2.

What is rwho.x86_64

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 to install rwho.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rwho.x86_64.

Install rwho.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rwho.x86_64 using yum by running the following command:

sudo yum -y install rwho.x86_64

How To Uninstall rwho.x86_64 on Amazon Linux 2

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

sudo yum remove rwho.x86_64

rwho.x86_64 Package Contents on Amazon Linux 2

/usr/bin/ruptime
/usr/bin/rwho
/usr/lib/systemd/system/rwhod.service
/usr/sbin/rwhod
/usr/share/doc/rwho-0.17
/usr/share/doc/rwho-0.17/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.x86_64 on Amazon Linux 2 using yum.