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

Last updated: May 16,2024

1. Install "golang-github-containers-psgo-dev" package

Please follow the guidelines below to install golang-github-containers-psgo-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install golang-github-containers-psgo-dev

2. Uninstall "golang-github-containers-psgo-dev" package

Learn how to uninstall golang-github-containers-psgo-dev on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove golang-github-containers-psgo-dev $ sudo apt autoclean && sudo apt autoremove

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

Package: golang-github-containers-psgo-dev
Architecture: all
Version: 1.5.2-1
Priority: optional
Section: universe/devel
Source: golang-github-containers-psgo
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 122
Depends: golang-github-opencontainers-runc-dev, golang-github-pkg-errors-dev, golang-github-sirupsen-logrus-dev, golang-github-stretchr-testify-dev, golang-golang-x-sys-dev
Filename: pool/universe/g/golang-github-containers-psgo/golang-github-containers-psgo-dev_1.5.2-1_all.deb
Size: 21900
MD5sum: c5e163b275148561b6634d89e6e3a964
SHA1: 8cafd11667003ef7a894b3e5ed2200ef00719dd7
SHA256: 47061a86d36d610effe809deadd2e73b99f2aebceea5dac8caabb471befa0a0e
SHA512: d60f03e1ac5adb1306dedd7440ead6ad42ebe626dd56307fc9faac989a58b887b44409fbf2b2aa752711bcb1717458d2e9218064f37e7fdc963cb3119ec24dc0
Homepage: https://github.com/containers/psgo
Description-en: ps(1) AIX-format compatible Golang library
Psgo is a ps(1) AIX-format compatible golang library extended with various
descriptors useful for displaying container-related data.
.
The idea behind the library is to provide an easy to use way of extracting
process-related data, just as ps(1) does. The problem when using ps(1) is that
the ps format strings split columns with whitespaces, making the output nearly
impossible to parse. Using fork and execute ps also adds some jitter, either
in the container or filter the output afterwards, further limiting
applicability.
.
This library aims to make things a bit more comfortable, especially for
container runtimes, as the API allows one to join the mount namespace of a
given process and will parse /proc and /dev/ from there.
Description-md5: 7df906bc4f66ec10f8ff3f00abbc0491