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

Last updated: April 28,2024

1. Install "cobra" package

Please follow the guidance below to install cobra on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

Please follow the guidelines below to uninstall cobra on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove cobra $ sudo apt autoclean && sudo apt autoremove

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

Package: cobra
Architecture: amd64
Version: 1.1.2-1
Built-Using: go-md2man-v2 (= 2.0.0+ds-5), golang-1.15 (= 1.15.8-1ubuntu1), golang-blackfriday-v2 (= 2.0.1-3), golang-fsnotify (= 1.4.9-2), golang-github-hashicorp-hcl (= 1.0.0-1.1), golang-github-magiconair-properties (= 1.8.4-1), golang-github-mitchellh-go-homedir (= 1.1.0-1), golang-github-mitchellh-mapstructure (= 1.3.3-1), golang-github-pelletier-go-toml (= 1.8.1-1), golang-github-shurcool-sanitized-anchor-name (= 1.0.0-1), golang-github-spf13-afero (= 1.5.1-1), golang-github-spf13-cast (= 1.3.1-1), golang-github-spf13-jwalterweatherman (= 1.1.0+really1.1.0-1), golang-github-spf13-pflag (= 1.0.5-2), golang-github-spf13-viper (= 1.7.1-1), golang-github-subosito-gotenv (= 1.2.0+git20190917.de67a66-2), golang-golang-x-sys (= 0.0~git20210124.22da62e-1), golang-golang-x-text (= 0.3.5-1), golang-gopkg-ini.v1 (= 1.57.0-1), golang-yaml.v2 (= 2.4.0-1)
Priority: optional
Section: universe/devel
Source: golang-github-spf13-cobra
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6677
Depends: libc6 (>= 2.32)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_1.1.2-1_amd64.deb
Size: 2027148
MD5sum: b1474c7f3995e78e5ed58258c504ef40
SHA1: 87b156c51072ad8bd14dc276049eed5476998bb1
SHA256: 7045e0002422902a08ada6f9030a6d14934f854fe7103bfa58fed0a2c3d12965
SHA512: 71444e7fedf49caf0d7eff945a8a36098cdee8e8eb3df5ebfa1b228fbc8e60d2d079e2ef762722c9b7961139d28fb8f41e2d1913f709c95252398d0adf0c25c0
Homepage: https://github.com/spf13/cobra
Description-en: Tool to generate Cobra-based modern Go CLI application
Cobra is a Go library providing a simple interface to create powerful
modern CLI interfaces similar to git & go tools.
.
Cobra has an exceptionally clean interface and simple design without
needless constructors or initialization methods.
.
This package contains the Cobra Generator as /usr/bin/cobra,
a tool that will generate your application scaffolding
to rapidly develop a Cobra-based application.
Description-md5: fbcf8ccfc0a3061ed7139da0143db05f