How to Install and Uninstall cobra Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 13,2024

1. Install "cobra" package

This is a short guide on how to install cobra on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

Learn how to uninstall cobra on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the cobra package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: cobra
Architecture: amd64
Version: 1.3.0-1ubuntu0.2
Built-Using: go-md2man-v2 (= 2.0.1+ds1-1), golang-1.18 (= 1.18.1-1ubuntu1.1), golang-blackfriday-v2 (= 2.1.0-1), golang-fsnotify (= 1.5.1-1), golang-github-hashicorp-hcl (= 1.0.0-1.1), golang-github-magiconair-properties (= 1.8.5-1), golang-github-mitchellh-mapstructure (= 1.4.3-1), golang-github-pelletier-go-toml (= 1.9.4-1), golang-github-spf13-afero (= 1.6.0-1), golang-github-spf13-cast (= 1.4.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.10.1-1), golang-github-subosito-gotenv (= 1.2.0+git20190917.de67a66-2), golang-golang-x-sys (= 0.0~git20211216.1d35b9e-1), golang-golang-x-text (= 0.3.7-1ubuntu0.20.04.1), golang-gopkg-ini.v1 (= 1.66.2-1), golang-yaml.v2 (= 2.4.0-2)
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: 5841
Depends: libc6 (>= 2.34)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_1.3.0-1ubuntu0.2_amd64.deb
Size: 2069556
MD5sum: db7f0daa21477e096a3be893a62a9438
SHA1: 3f98513c7b6a52ac94932963648cfa0dafe631b0
SHA256: ae4c6e2743f8048c1d6a3133e290ed7fd2fdcb0bb120d1d5c1fb255122e76501
SHA512: ac6fad9dc074ead3bbd145938731718225e24228a2b871398f229dc64146d2c8f092ed78ea19f44fdf6507dcd3db31d75e5387a7887f0138b77caa5c014c1766
Homepage: https://github.com/spf13/cobra
Description: Tool to generate Cobra-based modern Go CLI application
Description-md5: fbcf8ccfc0a3061ed7139da0143db05f

Package: cobra
Architecture: amd64
Version: 1.3.0-1
Built-Using: go-md2man-v2 (= 2.0.1+ds1-1), golang-1.17 (= 1.17.3-1ubuntu1), golang-blackfriday-v2 (= 2.1.0-1), golang-fsnotify (= 1.5.1-1), golang-github-hashicorp-hcl (= 1.0.0-1.1), golang-github-magiconair-properties (= 1.8.5-1), golang-github-mitchellh-mapstructure (= 1.4.3-1), golang-github-pelletier-go-toml (= 1.9.4-1), golang-github-spf13-afero (= 1.6.0-1), golang-github-spf13-cast (= 1.4.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.10.1-1), golang-github-subosito-gotenv (= 1.2.0+git20190917.de67a66-2), golang-golang-x-sys (= 0.0~git20211216.1d35b9e-1), golang-golang-x-text (= 0.3.7-1), golang-gopkg-ini.v1 (= 1.66.2-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: 5707
Depends: libc6 (>= 2.34)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_1.3.0-1_amd64.deb
Size: 1949810
MD5sum: dfeef2ecd9138ced1e03488398d04393
SHA1: 50bc09356cbcdae257e88d6e29aeba06ff24f5d6
SHA256: 464ef2b04964923a02f6d23013500292d34454f6689b2558955af4bced5f3004
SHA512: 5fc3e1408a3c6055893af1046b757539653c51a65a7c8f4e650df390e44e3acdadb6af40b967c42d31babf3630fc2e6f26948a0476beb938a2989acaadcdfaf9
Homepage: https://github.com/spf13/cobra
Description: Tool to generate Cobra-based modern Go CLI application
Description-md5: fbcf8ccfc0a3061ed7139da0143db05f