How to Install and Uninstall cobra Package on Debian 11 (Bullseye)

Last updated: May 05,2024

1. Install "cobra" package

This guide covers the steps necessary to install cobra on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

Learn how to uninstall cobra on Debian 11 (Bullseye):

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

3. Information about the cobra package on Debian 11 (Bullseye)

Package: cobra
Source: golang-github-spf13-cobra (1.1.2-1)
Version: 1.1.2-1+b5
Installed-Size: 6679
Maintainer: Debian Go Packaging Team
Architecture: amd64
Depends: libc6 (>= 2.4)
Description: Tool to generate Cobra-based modern Go CLI application
Description-md5: fbcf8ccfc0a3061ed7139da0143db05f
Homepage: https://github.com/spf13/cobra
Built-Using: go-md2man-v2 (= 2.0.0+ds-5), golang-1.15 (= 1.15.9-6), 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.6-1), golang-gopkg-ini.v1 (= 1.57.0-1), golang-yaml.v2 (= 2.4.0-1)
Section: devel
Priority: optional
Filename: pool/main/g/golang-github-spf13-cobra/cobra_1.1.2-1+b5_amd64.deb
Size: 2030392
MD5sum: 7719ebcd99c5a9a6f7ecd24e7e7d6f22
SHA256: f2e0866d1324f69a2ea30ea5039cf600766b090949cefc1593576e90dff000ba