How to Install and Uninstall shfmt Package on Ubuntu 22.10 (Kinetic Kudu)

Last updated: December 25,2024

1. Install "shfmt" package

This is a short guide on how to install shfmt on Ubuntu 22.10 (Kinetic Kudu)

$ sudo apt update $ sudo apt install shfmt

2. Uninstall "shfmt" package

Learn how to uninstall shfmt on Ubuntu 22.10 (Kinetic Kudu):

$ sudo apt remove shfmt $ sudo apt autoclean && sudo apt autoremove

3. Information about the shfmt package on Ubuntu 22.10 (Kinetic Kudu)

Package: shfmt
Architecture: amd64
Version: 3.5.1-1
Built-Using: golang-1.18 (= 1.18.2-2ubuntu2), golang-github-google-renameio (= 2.0.0-1), golang-github-pkg-diff (= 0.0~git20210226.20ebb0f-1), golang-golang-x-sync (= 0.0~git20210220.036812b-1), golang-golang-x-sys (= 0.0~git20220422.9388b58-1), golang-golang-x-term (= 0.0~git20210615.6886f2d-1), golang-mvdan-editorconfig (= 0.2.0-2)
Priority: optional
Section: universe/utils
Source: golang-mvdan-sh
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2611
Enhances: bash, dash, mksh
Filename: pool/universe/g/golang-mvdan-sh/shfmt_3.5.1-1_amd64.deb
Size: 998792
MD5sum: 1d1610418408cbe365195159732a6f4c
SHA1: a03e13f22cf2c26c55ee1be7f3d2215e6e1e5715
SHA256: fa7168f3f85ad18df69dd191c42c9e51d0127fed011cc64f9042faf7a7e9fe86
SHA512: 85a863169de801b50a6d1f7e61a29c32072ecb934269fadfc4192371d3947db71545fe7506d32c8cbd81d974441c7d1639184db8458121860c1198d0cad2e726
Homepage: https://github.com/mvdan/sh
Description: format shell programs
Description-md5: c837009d07c29d753e21e40b3c31b95e