How to Install and Uninstall opt Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "opt" package

This guide covers the steps necessary to install opt on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install opt

2. Uninstall "opt" package

Learn how to uninstall opt on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove opt $ sudo apt autoclean && sudo apt autoremove

3. Information about the opt package on Ubuntu 21.10 (Impish Indri)

Package: opt
Architecture: amd64
Version: 3.19-1.3build1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Patrick Ouellette
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 209
Filename: pool/universe/o/opt/opt_3.19-1.3build1_amd64.deb
Size: 36274
MD5sum: b92fe510774969523f12c92c49044e73
SHA1: 63c4f1030636dd38b4d74bc2e1657f0692f982fa
SHA256: 0088c3c4f7d4ddce8e0f14f44d8d4baa928aa6975132e441bae4383bd6eac0b9
SHA512: 80c899ba8528af860917a79c558d2fb2b6e55f717c667353deb5984929b84263a3ec473b4e1df7cf763e1efaf5614bd3455677ccff64f2c25607237f6b6a9584
Description-en: Options Parsing Tool library
opt is a subroutine library which facilitates the convenient input
of parameters to a C program. Parameters are parsed from a command
line, with further facilities for reading options from files, from
environment strings, or from an interactive environment. The aim of
the opt package is to permit programs to be both user- and
programmer- friendly. The package attempts to on the one hand
provide a direct and relatively full-featured input interface to the
ultimate user of the program, and at the same time impose a minimal
amount of work on the programmer to "attach" the package to his or
her software. It is similar to GNU's (and AT&T's old) getopts
package, but with a different interface that might be easier to use.
Description-md5: 2febe217b921608e897447070314bbcf