How to Install and Uninstall ghc-atomic-primops Package on openSuSE Tumbleweed

Last updated: December 24,2024

1. Install "ghc-atomic-primops" package

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

$ sudo zypper refresh $ sudo zypper install ghc-atomic-primops

2. Uninstall "ghc-atomic-primops" package

Please follow the step by step instructions below to uninstall ghc-atomic-primops on openSuSE Tumbleweed:

$ sudo zypper remove ghc-atomic-primops

3. Information about the ghc-atomic-primops package on openSuSE Tumbleweed

Information for package ghc-atomic-primops:
-------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-atomic-primops
Version : 0.8.4-2.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 53,1 KiB
Installed : No
Status : not installed
Source package : ghc-atomic-primops-0.8.4-2.14.src
Summary : A safe approach to CAS and other atomic ops in Haskell
Description :
After GHC 7.4 a new `casMutVar#` primop became available, but it's difficult to
use safely, because pointer equality is a highly unstable property in Haskell.
This library provides a safer method based on the concept of "Tickets".
Also, this library uses the "foreign primop" capability of GHC to add access to
other variants that may be of interest, specifically, compare and swap inside
an array.
Note that as of GHC 7.8, the relevant primops have been included in GHC itself.
This library is engineered to work pre- and post-GHC-7.8, while exposing the
same interface.

5. The same packages on other Linux Distributions