Haskell platform confusing to me

Hi all, I have 2 questions regarding Haskell platform. 1. If I would like to install the newest Haskell platform on say Ubuntu Precise which is in the making I could proceed like follows: - install all dep packges from http://packages.ubuntu.com/precise/haskell-platform which means I would manually have to download all debs and install them thereafter. Is this true? 2. I have Ubuntu Lucid and like to install the newest Haskell platform. Do I have to build it from source? I didn't find any (big picture) documentation telling me how the installation pathes possibly are. As can be seen I'm pretty confused how to proceed. -- Manfred

On Tue, Jan 03, 2012 at 08:00:17PM +0100, Manfred Lotz wrote:
Hi all, I have 2 questions regarding Haskell platform.
1. If I would like to install the newest Haskell platform on say Ubuntu Precise which is in the making I could proceed like follows: - install all dep packges from http://packages.ubuntu.com/precise/haskell-platform which means I would manually have to download all debs and install them thereafter.
Is this true?
2. I have Ubuntu Lucid and like to install the newest Haskell platform. Do I have to build it from source?
I didn't find any (big picture) documentation telling me how the installation pathes possibly are. As can be seen I'm pretty confused how to proceed.
I don't have a Ubuntu Precise system to try this on, and it was a while since I stopped using Debian-based distros, but don't you just have to turn on the universe repo and then use apt-get? /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay

I think this will depend a lot on what you mean by "newest." If you really
want an up-to-the-minute system, you'll of course have to compile it from
yourself, out of the version control system. You might be able to install
the build dependencies easily using apt-get build-deps.
Of course, if you're happy with the debs in the repository, you can just
install those through apt-get normally. If you're trying to backport newer
debs to an older version of Ubuntu, that can be done, but will require some
work, and may not be very easy if the new versions have dependencies on new
versions of other packages.
On Tue, Jan 3, 2012 at 2:00 PM, Manfred Lotz
Hi all, I have 2 questions regarding Haskell platform.
1. If I would like to install the newest Haskell platform on say Ubuntu Precise which is in the making I could proceed like follows: - install all dep packges from http://packages.ubuntu.com/precise/haskell-platform which means I would manually have to download all debs and install them thereafter.
Is this true?
2. I have Ubuntu Lucid and like to install the newest Haskell platform. Do I have to build it from source?
I didn't find any (big picture) documentation telling me how the installation pathes possibly are. As can be seen I'm pretty confused how to proceed.
-- Manfred
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
-- Alec Story Cornell University Biological Sciences, Computer Science 2012

On Tue, 3 Jan 2012 14:24:18 -0500
Alec Story
I think this will depend a lot on what you mean by "newest." If you really want an up-to-the-minute system, you'll of course have to compile it from yourself, out of the version control system. You might be able to install the build dependencies easily using apt-get build-deps.
Let's say I'd like to have a ghc 7.0x on Ubuntu Lucid. It seems that Lucid has ghc6 by default.
Of course, if you're happy with the debs in the repository, you can just install those through apt-get normally. If you're trying to backport newer debs to an older version of Ubuntu, that can be done, but will require some work, and may not be very easy if the new versions have dependencies on new versions of other packages.
You mean I would need to backport the ghc for Lucid if I like to have a ghc 7.0x with Lucid? -- Manfred

For Lucid, there's various ppas. This one looks like it'll give you
ghc7 on Lucid:
https://launchpad.net/~mbeloborodiy/+archive/ppa
For the latest Ubuntu, you can just pull from the standard repos
arthur@jumpjet:/etc/apt$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
arthur@jumpjet:/etc/apt$ apt-cache search haskell-platform
haskell-platform - Standard Haskell libraries and tools
haskell-platform-doc - Standard Haskell libraries and tools; documentaion
haskell-platform-prof - Standard Haskell libraries and tools;
profiling libraries
arthur@jumpjet:/etc/apt$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.3
--
Arthur Clune arthur@clune.org
On Tue, Jan 3, 2012 at 7:39 PM, Manfred Lotz
Let's say I'd like to have a ghc 7.0x on Ubuntu Lucid. It seems that Lucid has ghc6 by default.

On Tue, 3 Jan 2012 20:15:51 +0000
Arthur Clune
For Lucid, there's various ppas. This one looks like it'll give you ghc7 on Lucid:
https://launchpad.net/~mbeloborodiy/+archive/ppa
For the latest Ubuntu, you can just pull from the standard repos
Thanks a lot, that did the job nicely. -- Manfred
participants (4)
-
Alec Story
-
Arthur Clune
-
Magnus Therning
-
Manfred Lotz