Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get a Haskell setup on Windows without an installation? (Copy + paste)

I am programming on a school-given computer. I need to have a Haskell setup that does no installation (one I can drop on a flash drive and copy on to the C drive or just use from the flash drive perhaps).

I already have Eclipse up and running, so if I could get it on Eclipse without leaving any impact on the system past the Eclipse directory, that would be very good as well.

By no installation, I mean I have to be able to easily remove the program and roughly all traces without any uninstaller tool. All uninstaller tools are likely blocked.

What are my options?

like image 330
Eric Thoma Avatar asked Jan 16 '13 01:01

Eric Thoma


People also ask

How do I get Haskell on Windows?

To set up Haskell environment on your Windows computer, go to their official website https://www.haskell.org/platform/windows.html and download the Installer according to your customizable architecture. Check out your system's architecture and download the corresponding setup file and run it.

How do I run a Haskell program?

Open a command window and navigate to the directory where you want to keep your Haskell source files. Run Haskell by typing ghci or ghci MyFile. hs. (The "i" in "GHCi" stands for "interactive", as opposed to compiling and producing an executable file.)


1 Answers

Haskell Platform's Windows installer (of which I'm the maintainer) has a "portable install" option that just extracts the files to the given location and does not touch the registry or any system settings. You can use it to install Haskell Platform to your flash drive, but you'll need to add GHC's location to the PATH manually.

like image 100
Mikhail Glushenkov Avatar answered Oct 17 '22 06:10

Mikhail Glushenkov