How to Install and Uninstall ghc-network-uri Package on openSuSE Tumbleweed

Last updated: May 14,2024

1. Install "ghc-network-uri" package

This tutorial shows how to install ghc-network-uri on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install ghc-network-uri

2. Uninstall "ghc-network-uri" package

Please follow the guidelines below to uninstall ghc-network-uri on openSuSE Tumbleweed:

$ sudo zypper remove ghc-network-uri

3. Information about the ghc-network-uri package on openSuSE Tumbleweed

Information for package ghc-network-uri:
----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-network-uri
Version : 2.6.4.2-3.4
Arch : x86_64
Vendor : openSUSE
Installed Size : 534.0 KiB
Installed : No
Status : not installed
Source package : ghc-network-uri-2.6.4.2-3.4.src
Upstream URL : https://hackage.haskell.org/package/network-uri
Summary : URI manipulation
Description :
This package provides facilities for parsing and unparsing URIs, and creating
and resolving relative URI references, closely following the URI spec,
.
== Backward-compatibility
In 'network-2.6' the "Network.URI" module was split off from the 'network'
package into this package. If you're using the "Network.URI" module you can be
backward compatible and automatically get it from the right package by using
the in your
'.cabal' file's build-depends (along with dependencies for both 'network-uri'
and 'network'):
> build-depends: > network-uri-flag == 0.1.*
Or you can do the same manually by adding this boilerplate to your '.cabal'
file:
> flag network-uri > description: Get Network.URI from the network-uri package
> default: True > > library > -- ... > if flag(network-uri) > build-depends:
network-uri >= 2.6, network >= 2.6 > else > build-depends: network-uri < 2.6,
network < 2.6
That is, get the module from either 'network < 2.6' or from 'network-uri >=
2.6'.

5. The same packages on other Linux Distributions