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

Last updated: December 25,2024

1. Install "ghc-magic" package

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

$ sudo zypper refresh $ sudo zypper install ghc-magic

2. Uninstall "ghc-magic" package

This guide covers the steps necessary to uninstall ghc-magic on openSUSE Leap:

$ sudo zypper remove ghc-magic

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

Information for package ghc-magic:
----------------------------------
Repository : Main Repository
Name : ghc-magic
Version : 1.1-bp155.2.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 79.8 KiB
Installed : No
Status : not installed
Source package : ghc-magic-1.1-bp155.2.14.src
Upstream URL : https://hackage.haskell.org/package/magic
Summary : Interface to C file/magic library
Description :
This package provides a Haskell interface to the C libmagic library.
With it, you can determine the type of a file by examining its contents rather
than its name. The Haskell interface provides a full-featured binding.

5. The same packages on other Linux Distributions