How to Install and Uninstall ghc-gitrev Package on openSUSE Leap

Last updated: June 29,2024

1. Install "ghc-gitrev" package

Please follow the guidelines below to install ghc-gitrev on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-gitrev

2. Uninstall "ghc-gitrev" package

Learn how to uninstall ghc-gitrev on openSUSE Leap:

$ sudo zypper remove ghc-gitrev

3. Information about the ghc-gitrev package on openSUSE Leap

Information for package ghc-gitrev:
-----------------------------------
Repository : Main Repository
Name : ghc-gitrev
Version : 1.3.1-bp155.3.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 58.9 KiB
Installed : No
Status : not installed
Source package : ghc-gitrev-1.3.1-bp155.3.13.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