How to Install and Uninstall golang-github-nightlyone-lockfile-dev Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 18,2024

1. Install "golang-github-nightlyone-lockfile-dev" package

Please follow the steps below to install golang-github-nightlyone-lockfile-dev on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install golang-github-nightlyone-lockfile-dev

2. Uninstall "golang-github-nightlyone-lockfile-dev" package

Please follow the instructions below to uninstall golang-github-nightlyone-lockfile-dev on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove golang-github-nightlyone-lockfile-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-nightlyone-lockfile-dev package on Ubuntu 21.04 (Hirsute Hippo)

Package: golang-github-nightlyone-lockfile-dev
Architecture: all
Version: 0.0~git20170804.6a197d5-1.1
Priority: extra
Section: universe/devel
Source: golang-github-nightlyone-lockfile
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Filename: pool/universe/g/golang-github-nightlyone-lockfile/golang-github-nightlyone-lockfile-dev_0.0~git20170804.6a197d5-1.1_all.deb
Size: 6420
MD5sum: 1598ba763e49e21871807d8e5f8e36b7
SHA1: 395f6173ae96409e14d2b7a16a13da82f9b6e037
SHA256: 74aa028fe30c6626d3220006341a9a6386a9e6d103a5b74ad244959f673e3daf
SHA512: cea30ccf4d72971facf6fbaf293a923cc761d8c17e6ddbce58787f379c09c764b70621778a20db7bf6049c9a8995138476efa43cb8d76c92459e39dd8b7786e1
Homepage: https://github.com/nightlyone/lockfile
Description-en: Golang library to handle locking via pid files
Package lockfile handles pid file based locking.
.
While a sync.Mutex helps against concurrency issues within a single process,
this package is designed to help against concurrency issues between
cooperating processes or serializing multiple invocations of the same process.
You can also combine sync.Mutex with Lockfile in order to serialize an action
between different goroutines in a single program and also multiple invocations
of this program.
Description-md5: b439a6d70e9d1663f310bea11991c3aa