Questions tagged [haskell]
Haskell is a lazily evaluated functional programming language featuring partial function application and static type checking. It is notable for addressing traditionally imperative tasks with "Monads" to avoid violating pure lazy functional evaluation as in some other languages.
46
questions
1
vote
1
answer
6k
views
Package 'libtinfo5' has no installation candidate
I am trying to install a libtinfo5 on Ubuntu. So that I can install GHCUP and program with Haskell/Plutus
Does anyone know how to resolve this error?
ubuntu@ubuntu:~$ sudo apt-get update
Ign:1 cdrom://...
2
votes
1
answer
1k
views
Lots of trouble installing cabal on 16.04 [duplicate]
Recently switched back to Ubuntu 16.04 and had an unprecedented amount of trouble getting cabal to work. Cabal 1.22 is currently installed and "working"...
I tried installing a package that I wrote ...
0
votes
2
answers
1k
views
how to upgrade haskell-stack on ubuntu 16.04?
I am trying to upgrade my haskell installation as, as far as I understand, it is a very old version.
This is what I have tried:
lpuggini@lpuggini-T3420:~$ lsb_release -a
No LSB modules are available....
0
votes
1
answer
673
views
How to execute cabal?
I installed stack via binary package on stack's site.
Now I want to use cabal to install packages.
cabal install something
but it outputs:
cabal: The program 'ghc' version >=6.4 is required but ...
0
votes
1
answer
1k
views
Installing the latest version of GHC
I am running Ubuntu 14.04.5 and I have some troubles installing the latest version of GHC (Haskell compiler), which should be 8.0.2.
My apt-get installs 7.6.3.
I tried
sudo apt-get update
sudo apt-...
3
votes
1
answer
10k
views
How can I upgrade GHC installed using haskell-platform to the latest version in Ubuntu 14.04?
I have installed Haskell Platform in Ubuntu 14.04 using
sudo apt-get install haskell-platform
following the instructions from the official website.
The version of GHC installed as a result is 7.6.3....
0
votes
1
answer
135
views
Is Haskell a Linux Dependency
I just thought to make the situation simple & attempt to figure out if Linux depends on Haskell. I don't use Haskell, & it seems that most of the columns published talk about how to install ...
5
votes
1
answer
952
views
How to Update Cabal for Haskell IDE (Leksah) on Ubuntu 16.04?
I want to install Leksah so I can learn how to code in Haskell. So I've installed the latest version of ghc (correctly I hope). But I lack the latest version of Cabal for Leksah. I cannot seem to ...
0
votes
0
answers
735
views
How to install ghc 7.6.3 on Ubuntu 16.04.1?
Okay, so I'm trying to learn how to code in haskell because it's delicious compared to C. My problem is that I've no idea how to set it up after downloading it from the official GHC site: https://www....
6
votes
1
answer
2k
views
Running a program installed from cabal
I want to run this program hosted on Cabal, the official repository of Haskell apps.
First I installed Cabal:
sudo apt-get install cabal-install
cabal update
Second I installed the program itself:
...
0
votes
2
answers
5k
views
Error while installing haskell
i am installing haskell code is as follow
git clone git://github.com/ghc/ghc.git && cd ghc && ./sync-all get
cd ghc && ./sync-all get cd ghc && ./boot && ./...
3
votes
1
answer
1k
views
Can't install haskell platform because of libgl1-mesa
When trying to install haskell platform using sudo apt-get install haskell-platform I get the following error message:
The following packages have unmet dependencies:
haskell-platform : Depends: ...
1
vote
1
answer
263
views
How to install ghc on Ubuntu Touch
I'm now struggling to install GHC on my favourite toy Aquaris E5 Ubuntu Edition. Does someone know how to compile GHC on this machine or cross-compile on OS X?
I do have some experience and ...
2
votes
1
answer
1k
views
Cabal always out of memory
When I try to use the version of cabal from the repositories every command gives an out of memory error.
$ cabal install hedis
cabal: out of memory (requested 2097152 bytes)
$ cabal update
...
1
vote
2
answers
184
views
Looping through csv, removing patterns
I have a question similar to my earlier question, but a bit different
say you have 10 columns on each line, and 100000 lines, I want to check if each row for the following patterns:
If a row looks ...
0
votes
1
answer
2k
views
How to run Haskell Platform after build
I built the haskell platform as stated on the haskell package site.
After make install I was told the files were installed to /usr/local/bin
How do I run the haskell platform after this step?
7
votes
2
answers
9k
views
Haskell platform on 14.04
Is it right that 14.04 does not have the haskell platform avaible by the software center.
Do I need to compile it by source or is there anothe way to make this work ?
Roelof
4
votes
1
answer
2k
views
Installing GHC 7.8.2 on Ubuntu 13.04
First: Yes, I really do mean to install install just GHC, and not the Haskell Platform. I am installing in a VM made just for this purpose, I have the platform installed elsewhere.
So the standard ...
0
votes
1
answer
293
views
Link all haskell commands to different version
I recently installed ghc 7.8, but now I want to go back to ghc 7.4
I installed ghc 7.8 via a binary package, but I didn't uninstall it correctly. When I run ghc, ghci or runhaskell, I get
/usr/local/...
1
vote
1
answer
563
views
How to install haskell for Ubuntu 13.10? [duplicate]
I am trying to do sudo apt-get install haskell-platform but get only package not found message. What do I actually need to do?
0
votes
1
answer
298
views
ppa for GHC 7.6
I was wondering if there is some decently trusted PPA of GHC 7.6? Preferably the newest.
I want a decently recent Haskell platform without having to build from source. I am not experienced enough ...
2
votes
1
answer
19k
views
What is the bootstrap.sh script?
I am trying to install cabal-install. Readme says I should use bootstrap.sh to download and install the dependencies. It says I should use this script like below
$ ./bootstrap.sh
But I couldn't find ...
0
votes
1
answer
280
views
yesod on ubuntu 13.10
using Ubuntu 13.10 on a Lenovo E135, I've installed the Haskell package and the yesod helper package via Ubuntu Software Center. Installation was success. But if I want to create an Yesod project with ...
2
votes
1
answer
898
views
Installing Haskell Platform from source on Ubuntu 13.04: Can't find OpenGL
I'm attempting to install Haskell Platform 2013.2.0.0 on a fairly fresh Ubuntu 13.04, using the instructions here: How to install Haskell Platform for Ubuntu 13.04?
I've installed the extra packages ...
1
vote
2
answers
299
views
Building ghc 7.6.3 on Ubuntu 13.04 leads to error in DynFlags.hs
I'm trying to build ghc following the directions here: How to install Haskell Platform for Ubuntu 13.04?
I keep getting:
HC [stage 1] compiler/stage2/build/DynFlags.p_o Killed make[1]: ***
[compiler/...
0
votes
1
answer
590
views
Libgmp3 not present
I need libgmp.so.3 to install GHC. However, installing libgmp-dev only installs libgmp.so and libgmpxx.so according to the installed files list. I have seen elsewhere people using symlinks, but this ...
2
votes
1
answer
726
views
Cannot compile Glasgow Haskell Compiler
./configure
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for ghc... no
configure: error: GHC is required unless bootstrapping from .hc files.
...
2
votes
1
answer
327
views
How to update Twidge 1.0.8 form repositories to 1.1.0 from GitHub?
I would like to install Twidge 1.1.0, but only 1.0.8 is available in repositories and this version is not compatible with new Twitter API and it's not usable anymore. 1.1.0 is available in Debian sid, ...
2
votes
1
answer
768
views
How do I ":set prompt" by default for a particular program?
I'm new to Linux. I installed Haskell and was going through a tutorial, which showed me I can :set prompt "ghci> " to change the prompt. I like the way this looks. How can I make it so that ...
0
votes
0
answers
34
views
How to install Haskell Platform 2013.2.0.0 on Ubuntu 13.04? [duplicate]
I want to use Haskell Platform 2013.2.0.0 on Ubuntu 13.04.
Because there is no binary package provided, I have to compile it manually. However, there is a problem. Ubuntu repo provides GHC 7.6.2, ...
1
vote
1
answer
5k
views
"cannot determine current directory" while building Haskell in 13.04
I'm trying to install the Haskell Platform on Raring. Since there's no apt package, I've downloaded the GHC 7.4.2 binary x86_64 distribution (which is a prerequisite), and I am trying to run ./...
38
votes
5
answers
45k
views
How to install Haskell Platform for Ubuntu 13.04?
How to install Haskell Platform for Ubuntu 13.04? I get the following error when I type sudo apt-get install haskell-platform:
E: Unable to locate package haskell-platform error
4
votes
1
answer
2k
views
Trying to install pandoc via cabal install fails
Since the pandoc package in the repository is outdated, I would like to install it via cabal-install.
I ran cabal update, and then cabal install pandoc which fails with:
cabal: Couldn't read cabal ...
12
votes
3
answers
9k
views
"cannot determine current directory" while building haskell
I'm trying to install haskell on ubuntu 11.10 and I'm following the instructions on this website: https://gist.github.com/1524859
But when I type ./configure I get an error message saying:
checking ...
2
votes
2
answers
3k
views
How can I install haskell-hunit?
I'm running 11.10 (amd64). I see there's this package:
http://packages.ubuntu.com/source/oneiric/haskell-hunit
However:
$ sudo apt-get install haskell-hunit
Reading package lists... Done
Building ...
3
votes
2
answers
359
views
Why can't I install FreePascal and the Gold linker at the same time?
I develop in Haskell privatly, but for school I have to use Delphi (I am allowed to use Lazarus though). To speed up linking in GHC (The compiler for Haskell) I installed binutilus-gold. But now, when ...
4
votes
1
answer
272
views
Combine cabal and checkinstall
Suppose I have a program which I can install via cabal, for example
cabal install pandoc
Is it possible to use checkinstall to make a .deb package out of this and install it in a second step via ...
6
votes
6
answers
9k
views
How can I install haskell-platform?
Haskell-platform currently has unmet dependencies on Ubuntu 11.04. This is a known bug, but I'd like to get it installed sooner rather than later.
Can anyone recommend a way to install haskell-...
6
votes
2
answers
681
views
When installing Haskell, dependency is not satisfiable: ghc6 (< 6.12.1+)
What does that mean, can I not install haskell? I just upgraded to Natty, is that the reason?
As you can see in the screenshot I get this problem in the Software Centre:
The following packages have ...
1
vote
1
answer
524
views
Problem installing Cabal-1.8.0.2
I am running Ubuntu 10.10, ghc 6.12.1, gcc 4.4.5.
I am trying to install Nikki And The Robots.
When I do cabal install it fails to install Cabal-1.8.0.2.
Cabal-1.8.0.2 already exists in ~/.cabal/lib....
0
votes
1
answer
2k
views
cabal install readline ask readline not found error
How to cabal install readline in ubuntu 10
Resolving dependencies...
Configuring readline-1.0.1.0...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether ...
1
vote
1
answer
4k
views
How do I use Haskell (hugs)?
Hey!
I have installed hugs on Ubuntu 10.10
But now I have the problem how to run it.
Before, I mean in later versions of Ubuntu I typed just sudo run hugs and it worked. Now it doesnt work.
How ...
3
votes
1
answer
2k
views
Install Haskell (hugs) - Package not found
I have problems with installing haskell (hugs) on Ubuntu 10.10. I had the latest version before and I wrote just sudo apt-get install hugs and everything worked. But now with Ubuntu 10.10 It tells me ...
3
votes
1
answer
1k
views
Best way to set up a haskell development platform
I've been developing in Haskell for a while. My question is: what's the easiest way to set up a reasonable development system for Haskell? I installed the official packages, but IMO it's not working ...
3
votes
3
answers
3k
views
How do I install the Glasgow Haskell Compiler?
How can I install ghc in Ubuntu 10.10?
9
votes
2
answers
1k
views
Will Haskell Platform be available in 10.10?
I've been waiting for a couple years to be able to do an
apt-get install haskell-platform
on Ubuntu. Will a haskell platform-package be available on Ubuntu 10.10?