How to Install and Uninstall golang-github-moby-locker-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "golang-github-moby-locker-dev" package

This tutorial shows how to install golang-github-moby-locker-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-github-moby-locker-dev

2. Uninstall "golang-github-moby-locker-dev" package

Please follow the instructions below to uninstall golang-github-moby-locker-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-github-moby-locker-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-moby-locker-dev package on Ubuntu 21.10 (Impish Indri)

Package: golang-github-moby-locker-dev
Architecture: all
Version: 1.0.1-2
Priority: optional
Section: universe/golang
Source: golang-github-moby-locker
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 21
Filename: pool/universe/g/golang-github-moby-locker/golang-github-moby-locker-dev_1.0.1-2_all.deb
Size: 4180
MD5sum: db967c120f947abe63fb4f3b658d202c
SHA1: e95b1dbf109f5981da1b7a72546acb3a748e069f
SHA256: 9d0169f416f7dcf6e7ab81580e24d6b62e3ea2f6c6aec71e2355cb17c62f3540
SHA512: 8368724592ed1a314a35ebb0be17070c84d06803dba2ced7614decf2154b2675075e12f9f3e455d8c798bbbcd4c47a1129bc1f9de72229875753c7e9c423c1a7
Homepage: https://github.com/moby/locker
Description-en: Go library for creating finer-grained locking
Locker provides a mechanism for creating finer-grained locking to help free up
more global locks to handle other tasks.
.
The implementation looks close to a sync.Mutex, however, the user must provide
a reference to use to refer to the underlying lock when locking and unlocking,
and unlock may generate an error.
.
If a lock with a given name does not exist when Lock is called, one is
created. Lock references are automatically cleaned up on Unlock if nothing
else is waiting for the lock.
Description-md5: f60dab3b9ea891ffb97839205994b6e6