How to Install and Uninstall dnsmasq Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 21,2024

1. Install "dnsmasq" package

Please follow the step by step instructions below to install dnsmasq on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install dnsmasq

2. Uninstall "dnsmasq" package

Please follow the guidance below to uninstall dnsmasq on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove dnsmasq $ sudo apt autoclean && sudo apt autoremove

3. Information about the dnsmasq package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: dnsmasq
Architecture: all
Version: 2.79-1ubuntu0.6
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Simon Kelley
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 72
Depends: netbase, dnsmasq-base, init-system-helpers (>= 1.18~), lsb-base (>= 3.0-6)
Suggests: resolvconf
Conflicts: resolvconf (<< 1.15)
Filename: pool/universe/d/dnsmasq/dnsmasq_2.79-1ubuntu0.6_all.deb
Size: 16176
MD5sum: 1e3d8f1fcf104f1513f1ea0695288e32
SHA1: f6ce151f8802263f93ae2b16b62995d31665a064
SHA256: f9ab850a5d1c6972d79ee4bd2cb01939df80608dbeb8e4acbc37dc443b57bdf4
SHA512: 1f8eed83fdfee27e2472e22945be29742411b5048cc349a36622e14dfa3c943fcbb08294dd9a7d9613541f32a1799e899c7d784ea2f8b21792a6160908cd3b4f
Homepage: http://www.thekelleys.org.uk/dnsmasq/doc.html
Description: Small caching DNS proxy and DHCP/TFTP server
Description-md5: d4d0c88134cc703150a59b83cb68304c

Package: dnsmasq
Architecture: all
Version: 2.79-1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Simon Kelley
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 72
Depends: netbase, dnsmasq-base, init-system-helpers (>= 1.18~), lsb-base (>= 3.0-6)
Suggests: resolvconf
Conflicts: resolvconf (<< 1.15)
Filename: pool/universe/d/dnsmasq/dnsmasq_2.79-1_all.deb
Size: 16160
MD5sum: 614d544554f708475fce380f19d1b534
SHA1: 522a0c377cece648aefbf6f1a87cb225714c16d3
SHA256: dec808a6f26a3b2ef51465d15acd65011a965816f6df72160a051bbde57d9807
Homepage: http://www.thekelleys.org.uk/dnsmasq/doc.html
Description: Small caching DNS proxy and DHCP/TFTP server
Description-md5: d4d0c88134cc703150a59b83cb68304c