How to Install and Uninstall ghc-cabal-doctest Package on openSUSE Leap

Last updated: June 18,2024

1. Install "ghc-cabal-doctest" package

In this section, we are going to explain the necessary steps to install ghc-cabal-doctest on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-cabal-doctest

2. Uninstall "ghc-cabal-doctest" package

Here is a brief guide to show you how to uninstall ghc-cabal-doctest on openSUSE Leap:

$ sudo zypper remove ghc-cabal-doctest

3. Information about the ghc-cabal-doctest package on openSUSE Leap

Information for package ghc-cabal-doctest:
------------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : ghc-cabal-doctest
Version : 1.0.9-150500.3.3.1
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 123.2 KiB
Installed : No
Status : not installed
Source package : ghc-cabal-doctest-1.0.9-150500.3.3.1.src
Upstream URL : https://hackage.haskell.org/package/cabal-doctest
Summary : A Setup.hs helper for running doctests
Description :
As of now (end of 2021), there isn't 'cabal doctest' command. Yet, to properly
work, 'doctest' needs plenty of configuration. This library provides the common
bits for writing a custom 'Setup.hs'.

5. The same packages on other Linux Distributions