How to Install and Uninstall golang-github-svent-go-flags-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 18,2024

1. Install "golang-github-svent-go-flags-dev" package

In this section, we are going to explain the necessary steps to install golang-github-svent-go-flags-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-github-svent-go-flags-dev

2. Uninstall "golang-github-svent-go-flags-dev" package

Please follow the instructions below to uninstall golang-github-svent-go-flags-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-github-svent-go-flags-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-svent-go-flags-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-github-svent-go-flags-dev
Architecture: all
Version: 1-2
Multi-Arch: foreign
Priority: extra
Section: universe/devel
Source: golang-github-svent-go-flags
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 98
Filename: pool/universe/g/golang-github-svent-go-flags/golang-github-svent-go-flags-dev_1-2_all.deb
Size: 21504
MD5sum: 64e36c2ce0f99b2cb2624839c568aeb2
SHA1: c82e719319b755e384a280f87ed851f94d6ec631
SHA256: 9b78a9673e742c42ee61cfdf9827921fd3eade59c1cfd2c6f42b2eb408135b0d
SHA512: e5ce2dad63bf7c7dc70e7e32c642ac82ad6a816b5d21b56b2ea94351a5b3e435e7a33610f64d3921a60a6051fe99ada7480f8b1da7724d6c94f23430f48a4e95
Homepage: https://github.com/svent/go-flags
Description-en: go library for parsing command line arguments
This library provides similar functionality to the builtin flag library
of go, but provides much more functionality and nicer formatting.
Supported features are:
.
* Options with short names (-v)
* Options with long names (--verbose)
* Options with and without arguments (bool v.s. other type)
* Options with optional arguments and default values
* Multiple option groups each containing a set of options
* Generate and print well-formatted help message
* Passing remaining command line arguments after -- (optional)
* Ignoring unknown command line options (optional)
* Supports -I/usr/include -I=/usr/include -I /usr/include option
argument specification
* Supports multiple short options -aux
* Supports all primitive go types (string, int{8..64}, uint{8..64},
float)
* Supports same option multiple times (can store in slice or last option
counts)
* Supports maps
* Supports function callbacks
* Supports namespaces for (nested) option groups
Description-md5: 06646165156fc2e9bd085be642637a27
Go-Import-Path: github.com/svent/go-flags