How To Install NetworkManager-l2tp on Rocky Linux 8

In this tutorial we learn how to install NetworkManager-l2tp on Rocky Linux 8. NetworkManager-l2tp is NetworkManager VPN plugin for L2TP and L2TP/IPsec

Introduction

In this tutorial we learn how to install NetworkManager-l2tp on Rocky Linux 8.

What is NetworkManager-l2tp

This package contains software for integrating L2TP and L2TP over IPsec VPN support with the NetworkManager.

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

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

sudo dnf -y install NetworkManager-l2tp

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

sudo yum -y install NetworkManager-l2tp

How To Uninstall NetworkManager-l2tp on Rocky Linux 8

To uninstall only the NetworkManager-l2tp package we can use the following command:

sudo dnf remove NetworkManager-l2tp

NetworkManager-l2tp Package Contents on Rocky Linux 8

/etc/ipsec.d/ipsec.nm-l2tp.secrets
/etc/strongswan/ipsec.d/ipsec.nm-l2tp.secrets
/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/a315f96b93dea94a6197e6aea79979df65bb6b
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/f28a6b9df359021f1b9d4f1d6f983339e3a7a2
/usr/lib/.build-id/76
/usr/lib/.build-id/76/c285447e6674f12327c1eecfa96a7c2f40aa79
/usr/lib/NetworkManager/VPN/nm-l2tp-service.name
/usr/lib64/NetworkManager/libnm-vpn-plugin-l2tp.so
/usr/lib64/pppd/2.4.7/nm-l2tp-pppd-plugin.so
/usr/libexec/nm-l2tp-service
/usr/share/dbus-1/system.d/nm-l2tp-service.conf
/usr/share/doc/NetworkManager-l2tp
/usr/share/doc/NetworkManager-l2tp/AUTHORS
/usr/share/doc/NetworkManager-l2tp/NEWS
/usr/share/doc/NetworkManager-l2tp/README.md
/usr/share/licenses/NetworkManager-l2tp
/usr/share/licenses/NetworkManager-l2tp/COPYING
/usr/share/locale/ar/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/as/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/be/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/be@latin/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/bg/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/bn_IN/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/bs/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ca/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/cs/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/da/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/de/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/dz/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/el/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/en_GB/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/eo/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/es/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/et/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/eu/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/fa/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/fi/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/fr/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/fur/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/gl/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/gu/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/he/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/hr/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/hu/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/id/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/it/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ja/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ka/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/kn/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ko/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/lt/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/lv/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/mk/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/mr/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/nb/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/nl/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/oc/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/or/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/pa/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/pl/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ps/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/pt/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/pt_BR/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ro/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ru/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/sk/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/sl/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/sr/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/sr@latin/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/sv/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ta/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/te/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/th/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/tr/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/ug/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/uk/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/vi/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/zh_CN/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/zh_HK/LC_MESSAGES/NetworkManager-l2tp.mo
/usr/share/locale/zh_TW/LC_MESSAGES/NetworkManager-l2tp.mo

References

Summary

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