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

Last updated: April 27,2024

1. Install "doas" package

This guide let you learn how to install doas on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install doas

2. Uninstall "doas" package

Please follow the instructions below to uninstall doas on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove doas $ sudo apt autoclean && sudo apt autoremove

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

Package: doas
Architecture: amd64
Version: 6.8.1-2
Multi-Arch: foreign
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Scupake
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 68
Depends: libc6 (>= 2.33), libpam0g (>= 0.99.7.1)
Filename: pool/universe/d/doas/doas_6.8.1-2_amd64.deb
Size: 21272
MD5sum: 1315529f216cc5d69975594197437fc6
SHA1: 3ca13a2747b2fe34fbce9cea04a65229cbc5ceff
SHA256: e363448fdab7ca0e06d259a740670eda3a641ab84cc37cb06d7157dd179b0b9c
SHA512: 0be9ea26104df105c646d8244504ed8877f6fbfaf89e71aec281f3c6c31689055c0dc0d1c9c17a826b25540500fdeeb6e916ffd17c678519513197f5dcf76f97
Homepage: https://github.com/Duncaen/OpenDoas
Description-en: minimal replacement for sudo
OpenDoas: a portable version of OpenBSD's doas command
doas is a minimal replacement for the venerable sudo. It was initially written
by Ted Unangst of the OpenBSD project to provide 95% of the features of sudo
with a fraction of the codebase.
Description-md5: 1d8cd98356ace952f8e4f33902cd9821