How To Install dnsmasq-base-lua on Ubuntu 20.04
Introduction
In this tutorial we learn how to install dnsmasq-base-lua
on Ubuntu 20.04.
What is dnsmasq-base-lua
dnsmasq-base-lua is:
This package contains the dnsmasq executable and documentation, but not the infrastructure required to run it as a system daemon. For that, install the dnsmasq package. This package is an alternative to dnsmasq-base which includes the LUA interpreter.
Package: dnsmasq-base-lua Architecture: amd64 Version: 2.80-1.1ubuntu1 Priority: optional Section: universe/net Source: dnsmasq Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Simon Kelley [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 804 Provides: dnsmasq-base Depends: adduser, libc6 (>= 2.28), libdbus-1-3 (>= 1.9.14), libgmp10, libhogweed5, libidn11 (>= 1.13), liblua5.2-0, libnetfilter-conntrack3 (>= 1.0.7), libnettle7 Recommends: dns-root-data Conflicts: dnsmasq-base Breaks: dnsmasq (« 2.63-1~) Replaces: dnsmasq (« 2.63-1~), dnsmasq-base Filename: pool/universe/d/dnsmasq/dnsmasq-base-lua_2.80-1.1ubuntu1_amd64.deb Size: 398616 MD5sum: 4fbc5bc649819b3d2996a9d4f7ce584e SHA1: 3342be881a3c879de220a3855ea6ef414012c95d SHA256: 66200f5cc149c2a84e1badc17897d8096f952cf4e28abdf9462b6c249d8f9c93 Homepage: http://www.thekelleys.org.uk/dnsmasq/doc.html Description-en: Small caching DNS proxy and DHCP/TFTP server This package contains the dnsmasq executable and documentation, but not the infrastructure required to run it as a system daemon. For that, install the dnsmasq package. This package is an alternative to dnsmasq-base which includes the LUA interpreter.
There are three methods to install dnsmasq-base-lua
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 dnsmasq-base-lua Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dnsmasq-base-lua
using apt-get
by running the following command:
sudo apt-get -y install dnsmasq-base-lua
Install dnsmasq-base-lua Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dnsmasq-base-lua
using apt
by running the following command:
sudo apt -y install dnsmasq-base-lua
Install dnsmasq-base-lua 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 dnsmasq-base-lua
using aptitude
by running the following command:
sudo aptitude -y install dnsmasq-base-lua
How To Uninstall dnsmasq-base-lua on Ubuntu 20.04
To uninstall only the dnsmasq-base-lua
package we can use the following command:
sudo apt-get remove dnsmasq-base-lua
Uninstall dnsmasq-base-lua And Its Dependencies
To uninstall dnsmasq-base-lua
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove dnsmasq-base-lua
Remove dnsmasq-base-lua Configurations and Data
To remove dnsmasq-base-lua
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge dnsmasq-base-lua
Remove dnsmasq-base-lua configuration, data, and all of its dependencies
We can use the following command to remove dnsmasq-base-lua
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dnsmasq-base-lua
References
Summary
In this tutorial we learn how to install dnsmasq-base-lua
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.