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

Last updated: May 17,2024

1. Install "shfmt" package

Please follow the step by step instructions below to install shfmt on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install shfmt

2. Uninstall "shfmt" package

In this section, we are going to explain the necessary steps to uninstall shfmt on Ubuntu 24.04 LTS (Noble Numbat):

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

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

Package: shfmt
Architecture: amd64
Version: 3.8.0-1
Built-Using: golang-1.21 (= 1.21.6-1), golang-github-google-renameio (= 2.0.0-2), golang-github-pkg-diff (= 0.0~git20210226.20ebb0f-1), golang-golang-x-sync (= 0.6.0-1), golang-golang-x-sys (= 0.16.0-1), golang-golang-x-term (= 0.16.0-1), golang-mvdan-editorconfig (= 0.2.0+git20231228.1925077-1)
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: 2967
Enhances: bash, dash, mksh
Filename: pool/universe/g/golang-mvdan-sh/shfmt_3.8.0-1_amd64.deb
Size: 1130630
MD5sum: 17ab618961dbcc251904c24a999804c4
SHA1: e717d418a52f958a8e272364e40ee89a11c1d274
SHA256: f57e6b3cbcbd001d7ab078a1cc53240be1eeab448eaa1a4cac6b2747784d6f9e
SHA512: e3bb0b8eaf131a6b0d3c197196c6cc67ffe0b449daa10306ac9255acd380deb9014401a2b3ee60f8c8f9713fb9942a6b9ec20f10e34a500e90bc78e211ca2a8e
Homepage: https://github.com/mvdan/sh
Description: format shell programs
Description-md5: c837009d07c29d753e21e40b3c31b95e