How to Install and Uninstall hostfiles Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 24,2024

1. Install "hostfiles" package

Please follow the guidance below to install hostfiles on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install hostfiles

2. Uninstall "hostfiles" package

This guide let you learn how to uninstall hostfiles on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove hostfiles $ sudo apt autoclean && sudo apt autoremove

3. Information about the hostfiles package on Ubuntu 21.04 (Hirsute Hippo)

Package: hostfiles
Architecture: all
Version: 0.09-1.1
Priority: optional
Section: universe/perl
Source: libhostfile-manager-perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18
Depends: libhostfile-manager-perl, libterm-clui-perl, perl:any
Filename: pool/universe/libh/libhostfile-manager-perl/hostfiles_0.09-1.1_all.deb
Size: 4688
MD5sum: f656165764da22f70347ae767fa7cfbc
SHA1: b2ededa2a4b9b0fabbddc67d8a55e1b6dd5d190c
SHA256: b499a67fba574fab17ec64bf28b1316a67ec37afdc004b81c3d94238ca5b9a6c
SHA512: 3655e34de97f011494de9a90c33257ac6fb93cf11f9025a2793df1d5f29659f72c7a27a1357003cb8c42639330191a55f8fb8cc2f2fa0a5da2788b86327f5574
Homepage: https://metacpan.org/release/Hostfile-Manager
Description-en: simple script to manage multiple sets of hostfiles
hostfiles is a command-line tool
which will read the hostfile fragments
specified to be enabled from /etc/hostfiles/
and add them to /etc/hosts.
.
It will remove any fragments from /etc/hosts
that are specified to be disabled.
Description-md5: dfe73f1a3607b4f54a0e43bff03f5210