How to Install and Uninstall ghc-mintty Package on openSUSE Leap
Last updated: November 08,2024
1. Install "ghc-mintty" package
Please follow the steps below to install ghc-mintty on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-mintty
Copied
2. Uninstall "ghc-mintty" package
This tutorial shows how to uninstall ghc-mintty on openSUSE Leap:
$
sudo zypper remove
ghc-mintty
Copied
3. Information about the ghc-mintty package on openSUSE Leap
Information for package ghc-mintty:
-----------------------------------
Repository : Main Repository
Name : ghc-mintty
Version : 0.1.3-bp155.2.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 11.3 KiB
Installed : No
Status : not installed
Source package : ghc-mintty-0.1.3-bp155.2.13.src
Upstream URL : https://hackage.haskell.org/package/mintty
Summary : A reliable way to detect the presence of a MinTTY console on Windows
Description :
MinTTY is a Windows-specific terminal emulator for the widely used Cygwin and
MSYS projects, which provide Unix-like environments for Windows.
MinTTY consoles behave differently from native Windows consoles (such as
'cmd.exe' or PowerShell) in many ways, and in some cases, these differences
make it necessary to treat MinTTY consoles differently in code.
The 'mintty' library provides a simple way to detect if your code in running in
a MinTTY console on Windows. It exports 'isMinTTY', which does the right thing
90% of the time (by checking if standard error is attached to MinTTY), and it
also exports 'isMinTTYHandle' for the other 10% of the time (when you want to
check is some arbitrary handle is attached to MinTTY). As you might expect,
both of these functions will simply return 'False' on any non-Windows operating
system.
-----------------------------------
Repository : Main Repository
Name : ghc-mintty
Version : 0.1.3-bp155.2.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 11.3 KiB
Installed : No
Status : not installed
Source package : ghc-mintty-0.1.3-bp155.2.13.src
Upstream URL : https://hackage.haskell.org/package/mintty
Summary : A reliable way to detect the presence of a MinTTY console on Windows
Description :
MinTTY is a Windows-specific terminal emulator for the widely used Cygwin and
MSYS projects, which provide Unix-like environments for Windows.
MinTTY consoles behave differently from native Windows consoles (such as
'cmd.exe' or PowerShell) in many ways, and in some cases, these differences
make it necessary to treat MinTTY consoles differently in code.
The 'mintty' library provides a simple way to detect if your code in running in
a MinTTY console on Windows. It exports 'isMinTTY', which does the right thing
90% of the time (by checking if standard error is attached to MinTTY), and it
also exports 'isMinTTYHandle' for the other 10% of the time (when you want to
check is some arbitrary handle is attached to MinTTY). As you might expect,
both of these functions will simply return 'False' on any non-Windows operating
system.