How to Install and Uninstall gojq Package on Debian 12 (Bookworm)

Last updated: May 20,2024

1. Install "gojq" package

This tutorial shows how to install gojq on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install gojq

2. Uninstall "gojq" package

This tutorial shows how to uninstall gojq on Debian 12 (Bookworm):

$ sudo apt remove gojq $ sudo apt autoclean && sudo apt autoremove

3. Information about the gojq package on Debian 12 (Bookworm)

Package: gojq
Version: 0.12.11-1
Installed-Size: 3780
Maintainer: Debian Go Packaging Team
Architecture: amd64
Description: pure Go implementation of jq (program)
Description-md5: 6e4b2be88d5712f7940589e69618cfc7
Homepage: https://github.com/itchyny/gojq
Static-Built-Using: golang-1.19 (= 1.19.5-1), golang-github-itchyny-timefmt-go (= 0.1.3-2), golang-github-mattn-go-isatty (= 0.0.17-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-rivo-uniseg (= 0.4.2-1), golang-golang-x-sys (= 0.3.0-1), golang-gopkg-yaml.v3 (= 3.0.1-3)
Section: golang
Priority: optional
Filename: pool/main/g/gojq/gojq_0.12.11-1_amd64.deb
Size: 1237468
MD5sum: 556e81317aa481a0c3cf3818205a15da
SHA256: b4ee1378cad1acf7ca7698eb81c3c9f5f6a10a07052d060beadac85f36a81cc6