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

Last updated: December 26,2024

1. Install "ghc-ghc-byteorder" package

Please follow the step by step instructions below to install ghc-ghc-byteorder on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-ghc-byteorder

2. Uninstall "ghc-ghc-byteorder" package

This tutorial shows how to uninstall ghc-ghc-byteorder on openSUSE Leap:

$ sudo zypper remove ghc-ghc-byteorder

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

Information for package ghc-ghc-byteorder:
------------------------------------------
Repository : Main Repository
Name : ghc-ghc-byteorder
Version : 4.11.0.0.10-bp155.3.12
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.5 KiB
Installed : No
Status : not installed
Source package : ghc-ghc-byteorder-4.11.0.0.10-bp155.3.12.src
Upstream URL : https://hackage.haskell.org/package/ghc-byteorder
Summary : "GHC.ByteOrder" API Compatibility Layer
Description :
This package transparently supplies the "GHC.ByteOrder" API as provided in
'base-4.11.0.0' for legacy GHC releases which didn't provide it yet (i.e.
GHC 7.0 through GHC 8.2).
This release reexports [GHC.ByteOrder from
base](https://hackage.haskell.org/package/base-4.11.1.0/docs/GHC-ByteOrder.html)
via Cabal's 'reexported-modules' mechanism. For GHC 8.2 and earlier a different
release of 'ghc-byteorder' (with the same minor version) is eligible by the
Cabal solver with a backported "GHC.ByteOrder" module.
In order to use this compatibility layer, simply declare a dependency on
'ghc-byteorder' in your '.cabal' package description like so
> build-depends: ghc-byteorder ^>= 4.11.0.0
And your code will be able to access this respective API version of the module
via the usual
> import GHC.ByteOrder
mechanism.

5. The same packages on other Linux Distributions