How to Install and Uninstall ghc-gitrev Package on openSuSE Tumbleweed

Last updated: June 26,2024

1. Install "ghc-gitrev" package

In this section, we are going to explain the necessary steps to install ghc-gitrev on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install ghc-gitrev

2. Uninstall "ghc-gitrev" package

Please follow the steps below to uninstall ghc-gitrev on openSuSE Tumbleweed:

$ sudo zypper remove ghc-gitrev

3. Information about the ghc-gitrev package on openSuSE Tumbleweed

Information for package ghc-gitrev:
-----------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-gitrev
Version : 1.3.1-9.8
Arch : x86_64
Vendor : openSUSE
Installed Size : 63.2 KiB
Installed : No
Status : not installed
Source package : ghc-gitrev-1.3.1-9.8.src
Upstream URL : https://hackage.haskell.org/package/gitrev
Summary : Compile git revision info into Haskell projects
Description :
Some handy Template Haskell splices for including the current git hash and
branch in the code of your project. Useful for including in panic messages,
'--version' output, or diagnostic info for more informative bug reports.

5. The same packages on other Linux Distributions