How to Install and Uninstall gojq Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: September 28,2024

1. Install "gojq" package

Please follow the steps below to install gojq on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install gojq

2. Uninstall "gojq" package

Please follow the guidance below to uninstall gojq on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the gojq package on Ubuntu 24.04 LTS (Noble Numbat)

Package: gojq
Architecture: amd64
Version: 0.12.13-1
Priority: optional
Section: universe/golang
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3983
Filename: pool/universe/g/gojq/gojq_0.12.13-1_amd64.deb
Size: 1394282
MD5sum: 5bc53b911f2c302102b76eef1d383cc9
SHA1: 9da3a8ff74623cea43c1858f9e5c19364c01aa74
SHA256: 831eb5100f965cde13493efade35261fec8690bac3e7ce87319607a5eb84e966
SHA512: 69662a9db6856b49bf6291968b77a2718d72693ed948d18640f27cebd24dfbde8c5e20f985a3efd0f51f02ed0a679237be5599db161f84941f18967760b2bacf
Homepage: https://github.com/itchyny/gojq
Description: pure Go implementation of jq (program)
Description-md5: 6e4b2be88d5712f7940589e69618cfc7
Static-Built-Using: golang-1.21 (= 1.21.3-1), golang-github-itchyny-timefmt-go (= 0.1.5-1), golang-github-mattn-go-isatty (= 0.0.19-1), golang-github-mattn-go-runewidth (= 0.0.14-1), golang-github-rivo-uniseg (= 0.4.4-1), golang-golang-x-sys (= 0.12.0-1), golang-gopkg-yaml.v3 (= 3.0.1-3)