Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can one distribute Haskell programs to non-technical end users?

Tags:

I am just starting to learn Haskell so please forgive me if this question has an obvious answer. I'm interested in writing programs to distribute to end users who might know how to use their Terminal application but not necessarily how to program or install Haskell and Haskell libraries on their system.

How would one go about packaging up a Haskell program (e.g. a command line tool or a more complex application) and distributing it to this sort of userbase?

like image 519
dan Avatar asked Feb 15 '11 14:02

dan


1 Answers

ghc -o hello hello.hs 

compiles the .hs as a frozen binary, so for windows the user would just double click the hello.exe, and for linux it's ./hello .

like image 123
VoronoiPotato Avatar answered Sep 22 '22 13:09

VoronoiPotato