How to Install and Uninstall shfmt Package on openSUSE Leap

Last updated: November 10,2024

1. Install "shfmt" package

Please follow the guidance below to install shfmt on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install shfmt

2. Uninstall "shfmt" package

Please follow the guidance below to uninstall shfmt on openSUSE Leap:

$ sudo zypper remove shfmt

3. Information about the shfmt package on openSUSE Leap

Information for package shfmt:
------------------------------
Repository : Main Repository
Name : shfmt
Version : 3.5.1-bp155.1.29
Arch : x86_64
Vendor : openSUSE
Installed Size : 2.9 MiB
Installed : No
Status : not installed
Source package : shfmt-3.5.1-bp155.1.29.src
Upstream URL : https://github.com/mvdan/sh
Summary : A shell parser, formatter, and interpreter with bash support; includes shfmt
Description :
A shell parser, formatter, and interpreter. Supports POSIX Shell, Bash, and mksh.