How to Install and Uninstall cobra Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 24,2024

1. Install "cobra" package

In this section, we are going to explain the necessary steps to install cobra on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

Please follow the step by step instructions below to uninstall cobra on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the cobra package on Ubuntu 20.10 (Groovy Gorilla)

Package: cobra
Architecture: amd64
Version: 0.0.7-1
Built-Using: go-md2man (= 1.0.10+ds-1), golang-1.14 (= 1.14.4-1ubuntu2), golang-blackfriday (= 1.5.2+git20200218.41c5fcc-1), golang-fsnotify (= 1.4.9-2), golang-github-hashicorp-hcl (= 1.0.0-1), golang-github-magiconair-properties (= 1.8.1+really1.8.1-1), golang-github-mitchellh-go-homedir (= 1.1.0-1), golang-github-mitchellh-mapstructure (= 1.3.2-1), golang-github-pelletier-go-toml (= 1.6.0-1), golang-github-spf13-afero (= 1.2.2+really1.2.2-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-1), golang-github-spf13-viper (= 1.7.0-1), golang-github-subosito-gotenv (= 1.2.0+git20190917.de67a66-2), golang-golang-x-sys (= 0.0~git20200523.0598657-1), golang-golang-x-text (= 0.3.3-1), golang-gopkg-ini.v1 (= 1.57.0-1), golang-yaml.v2 (= 2.3.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: 9206
Depends: libc6 (>= 2.4)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_0.0.7-1_amd64.deb
Size: 2872856
MD5sum: 16a1c10264ad9602bf774bd9f8624184
SHA1: 44ad9502ebd6a1743d34e3874a3f8707952e5529
SHA256: d033d51b0c19eba2a13db1d5e03ddd6bf92a8c8030c936afe570da51f002cbd5
SHA512: f9287fede5f509e4ae091809b742327a668e8719daa0760d0e447fd7f7802fdef0b75a7a1fe0d31417920a239384eec9e0a665dd290fd18566118acf090b8944
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