How to Install and Uninstall golang-github-client9-reopen-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 15,2024

1. Install "golang-github-client9-reopen-dev" package

This guide let you learn how to install golang-github-client9-reopen-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-github-client9-reopen-dev

2. Uninstall "golang-github-client9-reopen-dev" package

Please follow the guidance below to uninstall golang-github-client9-reopen-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-github-client9-reopen-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-client9-reopen-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-github-client9-reopen-dev
Architecture: all
Version: 1.0.0-2
Priority: optional
Section: universe/devel
Source: golang-github-client9-reopen
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Filename: pool/universe/g/golang-github-client9-reopen/golang-github-client9-reopen-dev_1.0.0-2_all.deb
Size: 5788
MD5sum: d8ca6e03c86e658c9b92c51c1d7a78ea
SHA1: ea24dec76fe03ddaf2c3bb0c23bf49f97d69fa3a
SHA256: 2e3343f1db9fb9f2d88f7d6a0b546f1063db0cd35cea002b2639c2a09b514f91
SHA512: 7d412757cc6ef1c8b279b91e2498119e740a9d7366f88a9f3f3af691dac6cd3031108ad1a8bf489260ee1186dfe02536c224a0eb0526fe0011b9698d90973bf8
Homepage: https://github.com/client9/reopen
Description-en: freopen functionality for golang's io.Writers (library)
Makes a standard os.File a "reopenable writer" and allows SIGHUP signals to
reopen log files, as needed by logrotated. This is inspired by the C/Posix
freopen.
.
The simple version reopen.NewFileWriter does unbuffered writing. A call
to .Reopen closes the existing file handle, and then re-opens it using
the original filename.
.
The more advanced version reopen.NewBufferedFileWriter buffers input and
flushes when the internal buffer is full (with care) or if 30 seconds
has elapsed.
Description-md5: 19218cd76e80bc6e774bc6e7104263bc