How To Install tinc on Rocky Linux 8

In this tutorial we learn how to install tinc on Rocky Linux 8. tinc is A virtual private network daemon

Introduction

In this tutorial we learn how to install tinc on Rocky Linux 8.

What is tinc

tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and encryption to create a secure private network between hosts on the Internet. Because the tunnel appears to the IP level network code as a normal network device, there is no need to adapt any existing software. This tunnelling allows VPN sites to share information with each other over the Internet without exposing any information to others.

We can use yum or dnf to install tinc on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install tinc.

Install tinc on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install tinc

Install tinc on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install tinc

How To Uninstall tinc on Rocky Linux 8

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

sudo dnf remove tinc

tinc Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/f0a564e8d20e169bed52480a235992928751ed
/usr/lib/systemd/system/tinc.service
/usr/lib/systemd/system/[email protected]
/usr/sbin/tincd
/usr/share/doc/tinc
/usr/share/doc/tinc/AUTHORS
/usr/share/doc/tinc/COPYING.README
/usr/share/doc/tinc/NEWS
/usr/share/doc/tinc/README
/usr/share/doc/tinc/THANKS
/usr/share/doc/tinc/sample-config
/usr/share/doc/tinc/sample-config/hosts
/usr/share/doc/tinc/sample-config/hosts/alpha
/usr/share/doc/tinc/sample-config/hosts/beta
/usr/share/doc/tinc/sample-config/rsa_key.priv
/usr/share/doc/tinc/sample-config/tinc-down
/usr/share/doc/tinc/sample-config/tinc-up
/usr/share/doc/tinc/sample-config/tinc.conf
/usr/share/doc/tinc/texinfo.tex
/usr/share/info/tinc.info.gz
/usr/share/licenses/tinc
/usr/share/licenses/tinc/COPYING
/usr/share/man/man5/tinc.conf.5.gz
/usr/share/man/man8/tincd.8.gz

References

Summary

In this tutorial we learn how to install tinc on Rocky Linux 8 using yum and dnf.