How to find NetworkManager version on Linux

How do I check or find NetworkManager version on Linux distribution?

We can use the nmcli command line for controlling NetworkManager and reporting network status. Another option is to use the NetworkManager to print the version on Linux.

Finding NetworkManager version on Linux using nmcli command

Open the terminal application and then type the following command to show nmcli version on screen:
nmcli --version
OR
nmcli -v
Here is what we see on Ubuntu Linux 20.04 LTS:

nmcli tool, version 1.22.10

Checking NetworkManager version using NetworkManager

The NetworkManager daemon attempts to make networking configuration and operation as painless and automatic as possible by managing the primary network connection and other network interfaces, like Ethernet, Wi-Fi, and Mobile Broadband devices. To print the NetworkManager software version and exit, run:
NetworkManager --version
## OR ##
NetworkManager -V

How to find NetworkManager version on Linux

How can I find out what version of network manager installed using the apt command

Open the terminal application and then run the following command:
apt info network-manager
Sample outputs:

Package: network-manager
Version: 1.22.10-1ubuntu2.2
Priority: optional
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 7,651 kB
Depends: libaudit1 (>= 1:2.2.1), libbluetooth3 (>= 4.91), libc6 (>= 2.26), libcurl3-gnutls (>= 7.24.0), libglib2.0-0 (>= 2.43.2), libgnutls30 (>= 3.6.12), libjansson4 (>= 2.0.1), libmm-glib0 (>= 1.0.0), libndp0 (>= 1.2), libnewt0.52 (>= 0.52.21), libnm0 (= 1.22.10-1ubuntu2.2), libpolkit-agent-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.104), libpsl5 (>= 0.13.0), libreadline8 (>= 6.0), libselinux1 (>= 1.32), libsystemd0 (>= 221), libteamdctl0 (>= 1.9), libudev1 (>= 183), libuuid1 (>= 2.16), wpasupplicant, dbus, udev, adduser, libpam-systemd, policykit-1
Recommends: ppp, dnsmasq-base, iptables, modemmanager, network-manager-pptp, crda
Suggests: avahi-autoipd, libteam-utils, isc-dhcp-client
Breaks: ppp (>= 2.4.7-3~), ppp (<< 2.4.7-2+~)
Homepage: https://wiki.gnome.org/Projects/NetworkManager
Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Download-Size: 1,855 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
Description: network management framework (daemon and userspace tools)
 NetworkManager is a system network service that manages your network devices
 and connections, attempting to keep active network connectivity when
 available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE
 devices, and provides VPN integration with a variety of different VPN
 services.
 .
 This package provides the userspace daemons and a command line interface to
 interact with NetworkManager.
 .
 Optional dependencies:
  * avahi-autoipd: Used for IPv4LL, a protocol for automatic Link-Local IP
    address configuration.
  * ppp: Required for establishing dial-up connections (e.g. via GSM).
  * dnsmasq-base/iptables: Required for creating Ad-hoc connections and
    connection sharing.
  * libteam-utils: Network Team driver allows multiple network interfaces to be
    teamed together and act like a single one. This process is called "ethernet
    bonding", "channel teaming" or "link aggregation".
 
N: There is 1 additional record. Please use the '-a' switch to see it

How to check all possible NetworkManager versions on Ubuntu or Debian Linux

We can remotely query the Debian archive database about packages. We will see package version as per architecture/component/suite and more. Type the following commnad:
rmadison network-manager
How to check NetworkManager version on Ubuntu
Only show info for amd64 architecture:
rmadison -a amd64 network-manager

 network-manager | 0.9.4.0-0ubuntu3       | precise         | amd64
 network-manager | 0.9.4.0-0ubuntu4.4.1   | precise-updates | amd64
 network-manager | 0.9.8.8-0ubuntu7       | trusty          | amd64
 network-manager | 0.9.8.8-0ubuntu7.1     | trusty-security | amd64
 network-manager | 0.9.8.8-0ubuntu7.3     | trusty-updates  | amd64
 network-manager | 1.1.93-0ubuntu4        | xenial          | amd64
 network-manager | 1.2.6-0ubuntu0.16.04.3 | xenial-security | amd64
 network-manager | 1.2.6-0ubuntu0.16.04.3 | xenial-updates  | amd64
 network-manager | 1.2.6-0ubuntu0.16.04.4 | xenial-proposed | amd64
 network-manager | 1.10.6-2ubuntu1        | bionic          | amd64
 network-manager | 1.10.6-2ubuntu1.1      | bionic-security | amd64
 network-manager | 1.10.6-2ubuntu1.4      | bionic-updates  | amd64
 network-manager | 1.10.6-2ubuntu1.5      | bionic-proposed | amd64
 network-manager | 1.22.10-1ubuntu1       | focal           | amd64
 network-manager | 1.22.10-1ubuntu2.2     | focal-updates   | amd64
 network-manager | 1.26.2-1ubuntu1        | groovy          | amd64
 network-manager | 1.30.0-1ubuntu1        | hirsute         | amd64

To check whether NetworkManager is running or not

Run the systemctl command:
systemctl status NetworkManager

 NetworkManager.service - Network Manager
     Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2021-02-24 17:55:10 IST; 1 weeks 0 days ago
       Docs: man:NetworkManager(8)
   Main PID: 1830 (NetworkManager)
      Tasks: 3 (limit: 37923)
     Memory: 14.7M
     CGroup: /system.slice/NetworkManager.service
             └─1830 /usr/sbin/NetworkManager --no-daemon

Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.1505] device (mum-wg0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.1509] device (mum-wg0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.1511] device (mum-wg0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.1526] device (mum-wg0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.1529] device (mum-wg0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.2308] device (mum-wg0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.2368] device (mum-wg0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.2560] device (mum-wg0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.2563] device (mum-wg0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Mar 03 22:55:03 nixcraft-wks01 NetworkManager[1830]:   [1614792303.2645] device (mum-wg0): Activation: successful, device activated.

How to search for NetworkManager VPN support packages

Use the apt command or apt-cache command on a Debian or Ubuntu Linux:
apt search network-manager-
apt-cache search network-manager-

We see various packages:

network-manager-config-connectivity-ubuntu - NetworkManager configuration to enable connectivity checking
network-manager-dev - network management framework (development files)
network-manager-gnome - network management framework (GNOME frontend)
network-manager-openvpn - network management framework (OpenVPN plugin core)
network-manager-openvpn-gnome - network management framework (OpenVPN plugin GNOME GUI)
network-manager-pptp - network management framework (PPTP plugin core)
network-manager-pptp-gnome - network management framework (PPTP plugin GNOME GUI)
budgie-network-manager-applet - Network Manager Applet for the budgie-desktop
network-manager-config-connectivity-debian - NetworkManager configuration to enable connectivity checking
network-manager-fortisslvpn - network management framework (Fortinet SSLVPN plugin core)
network-manager-fortisslvpn-gnome - network management framework (Fortinet SSLVPN plugin GNOME GUI)
network-manager-iodine - network management framework (iodine plugin core)
network-manager-iodine-gnome - network management framework (iodine plugin GNOME GUI)
network-manager-l2tp - network management framework (L2TP plugin core)
network-manager-l2tp-gnome - network management framework (L2TP plugin GNOME GUI)
network-manager-openconnect - network management framework (OpenConnect plugin core)
network-manager-openconnect-gnome - network management framework (OpenConnect plugin GNOME GUI)
network-manager-ssh - network management framework (SSH plugin core)
network-manager-ssh-gnome - network management framework (SSH plugin GNOME GUI)
network-manager-strongswan - network management framework (strongSwan plugin)
network-manager-vpnc - network management framework (VPNC plugin core)
network-manager-vpnc-gnome - network management framework (VPNC plugin GNOME GUI)
strongswan-nm - strongSwan plugin to interact with NetworkManager

For example, I can install strongswan VPN support as follows:
sudo apt install network-manager-strongswan
CentOS/RHEL/Fedora Linux user can type the following dnf command/yum command:
sudo yum search NetworkManager
## OR ##
sudo dnf search NetworkManager

Last metadata expiration check: 2:25:08 ago on Wed Mar  3 19:47:51 2021.
============================================================================================================ Name Exactly Matched: NetworkManager ============================================================================================================
NetworkManager.x86_64 : Network connection manager and user applications
=========================================================================================================== Name & Summary Matched: NetworkManager ===========================================================================================================
NetworkManager-adsl.x86_64 : ADSL device plugin for NetworkManager
NetworkManager-bluetooth.x86_64 : Bluetooth device plugin for NetworkManager
NetworkManager-cloud-setup.x86_64 : Automatically configure NetworkManager in cloud
NetworkManager-config-connectivity-redhat.noarch : NetworkManager config file for connectivity checking via Red Hat servers
NetworkManager-config-server.noarch : NetworkManager config file for "server-like" defaults
NetworkManager-dispatcher-routing-rules.noarch : NetworkManager dispatcher file for advanced routing rules
NetworkManager-fortisslvpn.x86_64 : NetworkManager VPN plugin for Fortinet compatible SSLVPN
NetworkManager-fortisslvpn-gnome.x86_64 : NetworkManager VPN plugin for SSLVPN - GNOME files
NetworkManager-l2tp.x86_64 : NetworkManager VPN plugin for L2TP and L2TP/IPsec
NetworkManager-l2tp-gnome.x86_64 : NetworkManager VPN plugin for L2TP and L2TP/IPsec - GNOME files
NetworkManager-libnm.x86_64 : Libraries for adding NetworkManager support to applications.
NetworkManager-libnm.i686 : Libraries for adding NetworkManager support to applications.
NetworkManager-libreswan.x86_64 : NetworkManager VPN plug-in for IPsec VPN
NetworkManager-libreswan-gnome.x86_64 : NetworkManager VPN plugin for libreswan - GNOME files
NetworkManager-openconnect.x86_64 : NetworkManager VPN plugin for openconnect
NetworkManager-openconnect-gnome.x86_64 : NetworkManager VPN plugin for OpenConnect - GNOME files
NetworkManager-openvpn.x86_64 : NetworkManager VPN plugin for OpenVPN
NetworkManager-openvpn-gnome.x86_64 : NetworkManager VPN plugin for OpenVPN - GNOME files
NetworkManager-ovs.x86_64 : Open vSwitch device plugin for NetworkManager
NetworkManager-ppp.x86_64 : PPP plugin for NetworkManager
NetworkManager-pptp.x86_64 : NetworkManager VPN plugin for PPTP
NetworkManager-pptp-gnome.x86_64 : NetworkManager VPN plugin for PPTP - GNOME files
NetworkManager-team.x86_64 : Team device plugin for NetworkManager
NetworkManager-tui.x86_64 : NetworkManager curses-based UI
NetworkManager-wifi.x86_64 : Wifi plugin for NetworkManager
NetworkManager-wwan.x86_64 : Mobile broadband device plugin for NetworkManager
kf5-networkmanager-qt.x86_64 : A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API
kf5-networkmanager-qt-devel.x86_64 : Development files for kf5-networkmanager-qt
libproxy-networkmanager.x86_64 : Plugin for libproxy and networkmanager
============================================================================================================== Summary Matched: NetworkManager ===============================================================================================================
libnma.i686 : NetworkManager GUI library
libnma.x86_64 : NetworkManager GUI library
network-manager-applet.x86_64 : A network control and status applet for NetworkManager
nm-connection-editor.x86_64 : A network connection configuration editor for NetworkManager
shorewall-init.noarch : Initialization functionality and NetworkManager integration for Shorewall
strongswan-charon-nm.x86_64 : NetworkManager plugin for Strongswan

And here is how to install OpenVPN support for the NetworkManger on RHEL/CentOS/Fedora Linux (turn on EPEL repo on RHEL or CentOS)
sudo dnf install NetworkManager-openvpn NetworkManager-openvpn-gnome

Summing up

We are finding the Network Manger version on Linux to identify support for various networking protocols and services. NetworkManager is installed by default on leading Linux distros such as Debian, Ubuntu, RHEL, SUSE, etc. More information about Network Manager is available on the Gnome project website. See the following man page:
man nmcli
man NetworkManager
man rmadison


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Sylvie Segal Mar 10, 2021 @ 7:36

    Was helpful for installing WireGuard version.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum