How to Install and Uninstall dnsmasq Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 13,2024

1. Install "dnsmasq" package

This guide let you learn how to install dnsmasq on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install dnsmasq

2. Uninstall "dnsmasq" package

Please follow the guidance below to uninstall dnsmasq on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the dnsmasq package on Ubuntu 20.04 LTS (Focal Fossa)

Package: dnsmasq
Architecture: all
Version: 2.80-1.1ubuntu1.7
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Simon Kelley
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 74
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.80-1.1ubuntu1.7_all.deb
Size: 16532
MD5sum: 738a3affbed5cda55f5ff61cc38cecad
SHA1: 26b4e86b5f271ddcf1c71f0eaf8bfe6f9b3e544a
SHA256: 50d6048358e1c2e6f24e02c346eac2928049bad200f410cfa659631863d5e0a7
SHA512: 1408317e7c7f58d6cdbe236ef3b12185846badee79362f3ca35dd3eb2147a3d3ffddaaa146e838d38a5f222cf38244e1e3ad5d67808edf0f8edba7b7db3222d2
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.80-1.1ubuntu1
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Simon Kelley
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 74
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.80-1.1ubuntu1_all.deb
Size: 16484
MD5sum: 4a68464242d83fab6f5cb238bfba2688
SHA1: 552f1bdb69756085c550a3d849dff9307212ece6
SHA256: 6982306f96ca298efa981c5e93989e9e4860371a0930d63a26a29b1f189397ab
Homepage: http://www.thekelleys.org.uk/dnsmasq/doc.html
Description: Small caching DNS proxy and DHCP/TFTP server
Description-md5: d4d0c88134cc703150a59b83cb68304c