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

Last updated: June 29,2024

1. Install "ghc-moo" package

This is a short guide on how to install ghc-moo on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-moo

2. Uninstall "ghc-moo" package

Please follow the steps below to uninstall ghc-moo on openSUSE Leap:

$ sudo zypper remove ghc-moo

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

Information for package ghc-moo:
--------------------------------
Repository : Main Repository
Name : ghc-moo
Version : 1.2-bp155.2.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 413.3 KiB
Installed : No
Status : not installed
Source package : ghc-moo-1.2-bp155.2.14.src
Upstream URL : https://hackage.haskell.org/package/moo
Summary : Genetic algorithm library
Description :
Moo library provides building blocks to build custom genetic algorithms in
Haskell. They can be used to find solutions to optimization and search
problems.
Variants supported out of the box: binary (using bit-strings) and continuous
(real-coded). Potentially supported variants: permutation, tree, hybrid
encodings (require customizations).
Binary GAs: binary and Gray encoding; point mutation; one-point, two-point, and
uniform crossover. Continuous GAs: Gaussian mutation; BLX-α, UNDX, and SBX
crossover. Selection operators: roulette, tournament, and stochastic universal
sampling (SUS); with optional niching, ranking, and scaling.
Replacement strategies: generational with elitism and steady state.
Constrained optimization: random constrained initialization, death penalty,
constrained selection without a penalty function. Multi-objective optimization:
NSGA-II and constrained NSGA-II.

5. The same packages on other Linux Distributions