How to Install and Uninstall ghc-async.x86_64 Package on Red Hat Enterprise Linux 8 (RHEL 8)

Last updated: November 16,2024

1. Install "ghc-async.x86_64" package

In this section, we are going to explain the necessary steps to install ghc-async.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

$ sudo dnf update $ sudo dnf install ghc-async.x86_64

2. Uninstall "ghc-async.x86_64" package

This tutorial shows how to uninstall ghc-async.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

$ sudo dnf remove ghc-async.x86_64 $ sudo dnf autoremove

3. Information about the ghc-async.x86_64 package on Red Hat Enterprise Linux 8 (RHEL 8)

Last metadata expiration check: 0:04:39 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : ghc-async
Version : 2.1.1.1
Release : 4.el8
Architecture : x86_64
Size : 33 k
Source : ghc-async-2.1.1.1-4.el8.src.rpm
Repository : epel
Summary : Run IO operations asynchronously and wait for their results
URL : https://hackage.haskell.org/package/async
License : BSD
Description : This package provides a higher-level interface over threads, in which an
: 'Async a' is a concurrent thread that will eventually deliver a value of
: type 'a'. The package provides ways to create "Async" computations,
: wait for their results, and cancel them.
:
: Using 'Async' is safer than using threads in two ways:
:
: * When waiting for a thread to return a result, if the thread dies with an
: exception then the caller must either re-throw the exception ('wait') or handle
: it ('waitCatch'); the exception cannot be ignored.
:
: * The API makes it possible to build a tree of threads that are automatically
: killed when their parent dies (see 'withAsync').