< Home - < Back

ghc


Information about the package, ghc, which is shipped with common Linux distributions. The ghc package is designed for, Glasgow Haskell Compiler.


Package Name:

ghc

Summary:

Glasgow Haskell Compiler

Description:

GHC is a state-of-the-art, open source, compiler and interactive environment for the functional language Haskell. Highlights: - GHC supports the entire Haskell 2010 language plus various extensions. - GHC has particularly good support for concurrency and parallelism, including support for Software Transactional Memory (STM). - GHC generates fast code, particularly for concurrent programs (check the results on the "Computer Language Benchmarks Game"). - GHC works on several platforms including Windows, Mac, Linux, most varieties of Unix, and several different processor architectures. - GHC has extensive optimisation capabilities, including inter-module optimisation. - GHC compiles Haskell code either directly to native code or using LLVM as a back-end. GHC can also generate C code as an intermediate target for porting to new platforms. The interactive environment compiles Haskell to bytecode, and supports execution of mixed bytecode/compiled programs. - Profiling is supported, both by time/allocation and heap profiling. - GHC comes with core libraries, and thousands more are available on Hackage.

Architecture:

x86_64

Version:

7.0.4

Release:

46.el6

Size:

31 k

Repository:

epel

From Repository:

Licence:

BSD and HaskellReport



Handy Yum Commands for ghc


Control the ghc package with the following handy commands outlined below.


Command

Description of Command

yum install ghc

This command will install ghc on the server.

yum remove ghc

This command will un-install ghc on the server. When you run this command, you will be asked if you are sure that you want to remove ghc, so you have to manually confirm that you want to do this.

yum -y remove ghc

This command will un-install ghc on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ghc when using the -y flag.

yum update ghc

This command will update ghc to the latest version. When you run this command, you will be asked if you are sure that you want to remove ghc, so you have to manually confirm that you want to do this.

yum -y update ghc

This command will update ghc to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove ghc when using the -y flag.

yum info ghc

This command will show you core information about the ghc package.

yum deplist ghc

This command will show you the dependencies for ghc. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update ghc

This command will check if there is an update waiting on ghc. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.