How to Install and Uninstall cobra Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 28,2024

1. Install "cobra" package

Please follow the guidance below to install cobra on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

Please follow the guidelines below to uninstall cobra on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the cobra package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: cobra
Architecture: amd64
Version: 0.0.1-1.1
Built-Using: go-md2man (= 1.0.6+git20170603.6.23709d0+ds-1), golang-1.9 (= 1.9.3-1ubuntu1), golang-blackfriday (= 1.5-1), golang-fsnotify (= 1.4.2-1), golang-github-hashicorp-hcl (= 0.0~git20170509.0.392dba7-1), golang-github-magiconair-properties (= 1.7.3-1), golang-github-mitchellh-go-homedir (= 0.0~git20161203.0.b8bc1bf-1), golang-github-mitchellh-mapstructure (= 0.0~git20170523.0.d0303fe-1), golang-github-pelletier-go-toml (= 1.0.1-1), golang-github-spf13-afero (= 1.0.0-1), golang-github-spf13-cast (= 1.1.0-1), golang-github-spf13-jwalterweatherman (= 0.0~git20170901.12bd96e-1), golang-github-spf13-pflag (= 0.0~git20170508.0.e57e3ee-1), golang-github-spf13-viper (= 1.0.0+git20171109.4dddf7c-1), golang-golang-x-sys (= 0.0~git20180126.0.ff2a66f-1), golang-x-text (= 0.0~git20170627.0.6353ef0-1ubuntu2), golang-yaml.v2 (= 0.0+git20170407.0.cd8b52f-1ubuntu2)
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: 6784
Depends: libc6 (>= 2.4)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_0.0.1-1.1_amd64.deb
Size: 1916736
MD5sum: da1306dc4763e7694ed4214618655ec8
SHA1: de1c98175ba2d83c55a5a726f8d80b96107a8484
SHA256: c654249a06666c378cb541baa21f98ad8e32f2657798696803b1565728cfad81
Homepage: https://github.com/spf13/cobra
Description: Tool to generate Cobra-based modern Go CLI application
Description-md5: fbcf8ccfc0a3061ed7139da0143db05f