How to Install and Uninstall cobra Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: April 29,2024

1. Install "cobra" package

Learn how to install cobra on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install cobra

2. Uninstall "cobra" package

This guide covers the steps necessary to uninstall cobra on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the cobra package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: cobra
Priority: optional
Section: universe/devel
Installed-Size: 5086
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Architecture: amd64
Source: golang-github-spf13-cobra
Version: 0.0~git20160117.0.8e91712-1
Depends: libc6 (>= 2.4)
Filename: pool/universe/g/golang-github-spf13-cobra/cobra_0.0~git20160117.0.8e91712-1_amd64.deb
Size: 1157544
MD5sum: d13ff6f0e667fa56069a8a500090f5b1
SHA1: 263ad4b2905799835cbdc4b0c9cc6a660ba2dbb0
SHA256: b8aed96ad9d27e50850810a7c3f16f94f2b278402f0843ea7d73da58c5057ecf
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
Built-Using: go-md2man (= 1.0.5-1), golang (= 2:1.6~beta2-0ubuntu1), golang-github-spf13-pflag (= 0.0~git20151218.0.7f60f83-2), golang-github-spf13-viper (= 0.0~git20160111.0.a212099-1)
Homepage: https://github.com/spf13/cobra
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu