Install Haskell

Installing

Haskell is availible for many platforms, see this page.

However it was not obvious to me how to install Haskell (ghc) for opensuse 11.3. It is on the build service here:

https://build.opensuse.org/project/show?project=devel:languages:haskell#

but only for openSUSE_11.3 not openSUSE_Factory. On this page openSUSE_11.3 contained a lot of RPMs do I need to download and install all of them? It would be easier if I cold install from YAST but I have tried searching for Haskell or ghc in both software management and package search (webpin) and neither combination returns any results.

In the end I installed Haskell like this:

In openSUSE 42.3 I used the following repository: http://download.opensuse.org/repositories/devel:/languages:/haskell/openSUSE_Leap_42.3/

martin@suse113:~> su root
Password: 
suse113:/home/martin # zypper ar http://download.opensuse.org/repositories/devel:/languages:/haskell/openSUSE_11.3/ hasekell_repo
Adding repository 'hasekell_repo' [done]
Repository 'hasekell_repo' successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/repositories/devel:/languages:/haskell/openSUSE_11.3/

suse113:/home/martin # zypper in ghc

New repository or package signing key received:
Key ID: ????????????????
Key Name: devel:languages:haskell OBS Project 
Key Fingerprint: ??????????????????????
Key Created: Tue 22 Jan 2008 20:46:51 GMT
Key Expires: Thu 01 Apr 2010 21:46:51 BST (EXPIRED)
Repository: hasekell_repo

Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): t
Building repository 'hasekell_repo' cache [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
  ghc libedit0 libedit-devel 

3 new packages to install.
Overall download size: 26.8 MiB. After the operation, additional 278.9 MiB will be used.
Continue? [y/n/?] (y): y
Retrieving package libedit0-3.0.snap20100424-1.5.x86_64 (1/3), 94.0 KiB (259.0 KiB unpacked)
Retrieving: libedit0-3.0.snap20100424-1.5.x86_64.rpm [done (0 B/s)]
Installing: libedit0-3.0.snap20100424-1.5 [done]
Retrieving package libedit-devel-3.0.snap20100424-1.5.x86_64 (2/3), 20.0 KiB (23.0 KiB unpacked)                                                                                  
Retrieving: libedit-devel-3.0.snap20100424-1.5.x86_64.rpm [done]
Installing: libedit-devel-3.0.snap20100424-1.5 [done]
Retrieving package ghc-6.10.4-7.1.x86_64 (3/3), 26.7 MiB (278.6 MiB unpacked)            
Retrieving: ghc-6.10.4-7.1.x86_64.rpm [done (1.6 MiB/s)]
Installing: ghc-6.10.4-7.1 [done]
Additional rpm output:                                                                   
warning: /var/cache/zypp/packages/hasekell_repo/x86_64/ghc-6.10.4-7.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID c80748dc: NOKEY                                            
                                                                                         
                                                                                         
suse113:/home/martin #  

 


metadata block
see also:
Correspondence about this page

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2022 Martin John Baker - All rights reserved - privacy policy.