How to Install and Uninstall ghc-time-units Package on openSUSE Leap

Last updated: December 24,2024

1. Install "ghc-time-units" package

This tutorial shows how to install ghc-time-units on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-time-units

2. Uninstall "ghc-time-units" package

Learn how to uninstall ghc-time-units on openSUSE Leap:

$ sudo zypper remove ghc-time-units

3. Information about the ghc-time-units package on openSUSE Leap

Information for package ghc-time-units:
---------------------------------------
Repository : Main Repository
Name : ghc-time-units
Version : 1.0.0-bp155.2.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 335.7 KiB
Installed : No
Status : not installed
Source package : ghc-time-units-1.0.0-bp155.2.13.src
Upstream URL : https://hackage.haskell.org/package/time-units
Summary : A basic library for defining units of time as types
Description :
In many cases, it is useful (either for error checking or documentation
reasons) to define input and output types as having a particular unit of time.
In addition, by creating a type class defining type units, this library should
make it easier to separate the units of time the developer wants to think in
versus the units of time the library author wants to think in.

5. The same packages on other Linux Distributions