How To Install NetworkManager-libreswan on Rocky Linux 8

In this tutorial we learn how to install NetworkManager-libreswan on Rocky Linux 8. NetworkManager-libreswan is NetworkManager VPN plug-in for IPsec VPN

Introduction

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

What is NetworkManager-libreswan

This package contains software for integrating the libreswan VPN software with NetworkManager and the GNOME desktop

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

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

sudo dnf -y install NetworkManager-libreswan

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

sudo yum -y install NetworkManager-libreswan

How To Uninstall NetworkManager-libreswan on Rocky Linux 8

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

sudo dnf remove NetworkManager-libreswan

NetworkManager-libreswan Package Contents on Rocky Linux 8

/etc/dbus-1/system.d/nm-libreswan-service.conf
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/d3cf429eb34d92899186fe391a07b503ba3941
/usr/lib/.build-id/73
/usr/lib/.build-id/73/e92bab85ff94607f50370bb1b077b01de43ff4
/usr/lib/.build-id/74
/usr/lib/.build-id/74/138a9e0e26b778c448f39d91a9aa48cc1d2da2
/usr/lib/NetworkManager/VPN/nm-libreswan-service.name
/usr/lib64/NetworkManager/libnm-vpn-plugin-libreswan.so
/usr/libexec/nm-libreswan-service
/usr/libexec/nm-libreswan-service-helper
/usr/share/doc/NetworkManager-libreswan
/usr/share/doc/NetworkManager-libreswan/AUTHORS
/usr/share/doc/NetworkManager-libreswan/ChangeLog
/usr/share/doc/NetworkManager-libreswan/NEWS
/usr/share/licenses/NetworkManager-libreswan
/usr/share/licenses/NetworkManager-libreswan/COPYING
/usr/share/locale/ar/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/bg/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/bs/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/ca/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/cs/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/da/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/de/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/dz/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/el/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/en_GB/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/es/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/et/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/eu/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/fi/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/fr/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/fur/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/gl/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/gu/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/hu/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/id/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/it/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/ja/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/ka/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/ko/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/lt/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/lv/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/mk/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/mr/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/nb/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/nl/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/oc/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/or/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/pa/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/pl/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/pt/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/pt_BR/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/ru/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/sl/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/sr/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/sr@latin/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/sv/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/ta/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/te/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/th/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/tr/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/uk/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/vi/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/zh_CN/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/zh_HK/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/locale/zh_TW/LC_MESSAGES/NetworkManager-libreswan.mo
/usr/share/man/man5/nm-settings-libreswan.5.gz

References

Summary

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