How to Install and Uninstall golang-github-ngaut-go-zookeeper-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 07,2024

1. Install "golang-github-ngaut-go-zookeeper-dev" package

This tutorial shows how to install golang-github-ngaut-go-zookeeper-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-ngaut-go-zookeeper-dev

2. Uninstall "golang-github-ngaut-go-zookeeper-dev" package

Here is a brief guide to show you how to uninstall golang-github-ngaut-go-zookeeper-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-ngaut-go-zookeeper-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-ngaut-go-zookeeper-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-ngaut-go-zookeeper-dev
Architecture: all
Version: 0.0~git20150813.0.9c3719e-6
Priority: extra
Section: universe/devel
Source: golang-github-ngaut-go-zookeeper
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian QA Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 91
Depends: golang-github-samuel-go-zookeeper-dev
Filename: pool/universe/g/golang-github-ngaut-go-zookeeper/golang-github-ngaut-go-zookeeper-dev_0.0~git20150813.0.9c3719e-6_all.deb
Size: 18652
MD5sum: 51041e38a3073eb12875c1377e80f503
SHA1: 709c0efad833f782669f919c6b6587a2d44835d2
SHA256: b3a3c878e96339d2a07b5d88a45185f20af100039d9120a14d6ff4b70c9d79f7
SHA512: 2046a9f86410be19612589932e8fbd8230ec295d377524e9601abade37ec5e1097be9906d8b521d1aa665120a767e0434647edc93e87810eba10b88ad85f0329
Homepage: https://github.com/ngaut/go-zookeeper
Description-en: Native ZooKeeper client for Go
This package provides a native ZooKeeper (client) library for
communicating with ZooKeeper servers.
.
Example:
func main() {
c, _, err := zk.Connect([]string{"127.0.0.1"}, time.Second) //*10)
if err != nil {
panic(err)
}
children, stat, ch, err := c.ChildrenW("/")
if err != nil {
panic(err)
}
fmt.Printf("%+v %+v\n", children, stat)
e := <-ch
fmt.Printf("%+v\n", e)
}
.
See also: https://godoc.org/github.com/samuel/go-zookeeper/zk
Description-md5: c539e0098b2a898cfc0aeecc92a25b87