How To Install libnetplan0 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libnetplan0
on Ubuntu 20.04.
What is libnetplan0
libnetplan0 is:
netplan reads YAML network configuration files which are written by administrators, installers, cloud image instantiations, or other OS deployments. During early boot it then generates backend specific configuration files in /run to hand off control of devices to a particular networking daemon.
Currently supported backends are networkd and NetworkManager.
This package contains the necessary runtime library files. Task: minimal, ubuntu-core
Package: libnetplan0 Status: install ok installed Priority: important Section: net Installed-Size: 117 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: netplan.io Version: 0.101-0ubuntu3~20.04.2 Depends: libc6 (>= 2.27), libglib2.0-0 (>= 2.33.14), libyaml-0-2 Description-en: YAML network configuration abstraction runtime library netplan reads YAML network configuration files which are written by administrators, installers, cloud image instantiations, or other OS deployments. During early boot it then generates backend specific configuration files in /run to hand off control of devices to a particular networking daemon.
Currently supported backends are networkd and NetworkManager.
This package contains the necessary runtime library files. Homepage: https://netplan.io/ Original-Maintainer: Debian netplan Maintainers [email protected]
Package: libnetplan0 Architecture: amd64 Version: 0.99-0ubuntu1 Multi-Arch: same Priority: important Section: net Source: netplan.io Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian netplan Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 94 Depends: libc6 (>= 2.27), libyaml-0-2 Filename: pool/main/n/netplan.io/libnetplan0_0.99-0ubuntu1_amd64.deb Size: 22936 MD5sum: fd5d971e66a9e7b0d30628197c380483 SHA1: d188add738831a5b9ad48ed966056019be1494a8 SHA256: 7093ef28a80853f158e3ba41ce7aa903a33303fb6d188fef4222d9ad66926da1 Homepage: https://netplan.io/ Description-en: YAML network configuration abstraction runtime library netplan reads YAML network configuration files which are written by administrators, installers, cloud image instantiations, or other OS deployments. During early boot it then generates backend specific configuration files in /run to hand off control of devices to a particular networking daemon.
Currently supported backends are networkd and NetworkManager.
This package contains the necessary runtime library files. Task: minimal, ubuntu-core
There are three methods to install libnetplan0
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libnetplan0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libnetplan0
using apt-get
by running the following command:
sudo apt-get -y install libnetplan0
Install libnetplan0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnetplan0
using apt
by running the following command:
sudo apt -y install libnetplan0
Install libnetplan0 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libnetplan0
using aptitude
by running the following command:
sudo aptitude -y install libnetplan0
How To Uninstall libnetplan0 on Ubuntu 20.04
To uninstall only the libnetplan0
package we can use the following command:
sudo apt-get remove libnetplan0
Uninstall libnetplan0 And Its Dependencies
To uninstall libnetplan0
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libnetplan0
Remove libnetplan0 Configurations and Data
To remove libnetplan0
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libnetplan0
Remove libnetplan0 configuration, data, and all of its dependencies
We can use the following command to remove libnetplan0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnetplan0
References
Summary
In this tutorial we learn how to install libnetplan0
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.