How to Install and Uninstall cabal-rpm.x86_64 Package on AlmaLinux 9

Last updated: December 12,2024

1. Install "cabal-rpm.x86_64" package

In this section, we are going to explain the necessary steps to install cabal-rpm.x86_64 on AlmaLinux 9

$ sudo dnf update $ sudo dnf install cabal-rpm.x86_64

2. Uninstall "cabal-rpm.x86_64" package

Please follow the steps below to uninstall cabal-rpm.x86_64 on AlmaLinux 9:

$ sudo dnf remove cabal-rpm.x86_64 $ sudo dnf autoremove

3. Information about the cabal-rpm.x86_64 package on AlmaLinux 9

Last metadata expiration check: 1:49:12 ago on Wed Mar 13 07:41:12 2024.
Available Packages
Name : cabal-rpm
Version : 2.0.11
Release : 1.el9
Architecture : x86_64
Size : 2.5 M
Source : cabal-rpm-2.0.11-1.el9.src.rpm
Repository : epel
Summary : RPM packaging tool for Haskell Cabal-based packages
URL : https://hackage.haskell.org/package/cabal-rpm
License : GPLv3+
Description : This package provides a RPM packaging tool for Haskell Cabal-based packages.
:
: cabal-rpm has commands to generate a RPM spec file and srpm for a package.
: It can rpmbuild packages, yum/dnf install their dependencies, prep packages,
: and install them. There are commands to list package dependencies and missing
: dependencies. The diff command compares the current spec file with a freshly
: generated one, the update command updates the spec file to latest version from
: Stackage or Hackage, and the refresh command updates the spec file to the
: current cabal-rpm packaging. It also handles Hackage revisions of packages.
: Standalone packages can also be made, built with cabal-install.