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

Last updated: May 06,2024

1. Install "cobra" package

Please follow the instructions below to install cobra on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

Please follow the guidelines below to uninstall cobra on Ubuntu 21.04 (Hirsute Hippo):

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

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

Package: cobra
Architecture: amd64
Version: 1.1.1-2
Built-Using: go-md2man-v2 (= 2.0.0+ds-5), golang-1.15 (= 1.15.4-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.4.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~git20201223.0d417f6-1), golang-golang-x-text (= 0.3.4-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: 6672
Depends: libc6 (>= 2.32)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_1.1.1-2_amd64.deb
Size: 2025392
MD5sum: 7b5c53fc6b4c47df4b15db26a9c60a23
SHA1: 2a847fa3147976b5e61472f352db41f970c54496
SHA256: e1d3dd911cedf73c8ca5be3fcbf677070b7c1e6c86626dd5ab85e8598b5ab1f2
SHA512: 1cb977e9338dab068578e4f2f079a7cfddc7b7d3562012479c5d2452be7cfcb57ec03ec851c0f16edafcbd1fb9b93c1e1f669435e848870350d421459840e748
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