Install Haskell packages using cabal without internet connection

kjit123

I have a machine that doesn't have internet access at all.
I installed the Haskell Platform on it using the installer which I got from another machine through a pendrive.

Now I want to install the package repa on my home machine which has no internet access. How should I do that?

My home machine is running Linux (Debian) and my office machine is Windows 7.

MasterMastic

From a machine you can access the internet you can either:

  • Run cabal get pkg-name where pkg-name is the package you want.
  • Go to the package's page on Hackage and on the Downloads section there's a .tar.gz file you can download.

After you get it, transfer it to your other machine, extract it anywhere you'd like (a sandbox if you want it just in a sandbox). Then from that directory (where there's a .cabal file) run cabal install.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

haskell cabal sandbox how to install packages?

From Dev

Install packages in CentOS from DVD without connection to internet

From Dev

How to install packages without internet

From Dev

How to install [ gcc ] without internet connection?

From Dev

How to install BBB without a (direct) Internet connection?

From Dev

how to install sbt without internet connection

From Dev

Install package without internet: error in install.packages: no such file or directory

From Dev

Install package without internet: error in install.packages: no such file or directory

From Dev

Haskell cabal-install errors

From Dev

Haskell - Cabal Install parsec errors

From Dev

How to install docker-engine using docker binary without internet connection

From Dev

How to install packages onto Linux Mint without Internet?

From Dev

Using AngularJS in an embedded system without an internet connection

From Dev

Is it possible to install python packages without a direct outbound network connection?

From Dev

Remove Stack/Cabal packages and install older versions

From Dev

How to install NodeJS project locally without internet connection?

From Dev

how can I install "pip wheel" on a machine without internet connection?

From Dev

Install B43 drivers without internet connection

From Dev

Install B43 drivers without internet connection

From Dev

How do I do a minimal install without an internet connection?

From Dev

How to install R in a RedHat server without internet connection

From Dev

Install GNOME/KDE on RedHat without direct internet connection

From Dev

How do I install 'Make' without internet connection?

From Dev

Checking Internet Connection without URL test connection using java

From Dev

Haskell cabal install: missing C library iw

From Dev

Haskell cabal install: missing C library iw

From Dev

I cannot install packages via the terminal "connection failed", but can browse internet

From Dev

Using HTTPS in client browsers on a local network without internet connection

From Dev

Is there a way to use Cabal to keep Haskell packages up-to-date?

Related Related

  1. 1

    haskell cabal sandbox how to install packages?

  2. 2

    Install packages in CentOS from DVD without connection to internet

  3. 3

    How to install packages without internet

  4. 4

    How to install [ gcc ] without internet connection?

  5. 5

    How to install BBB without a (direct) Internet connection?

  6. 6

    how to install sbt without internet connection

  7. 7

    Install package without internet: error in install.packages: no such file or directory

  8. 8

    Install package without internet: error in install.packages: no such file or directory

  9. 9

    Haskell cabal-install errors

  10. 10

    Haskell - Cabal Install parsec errors

  11. 11

    How to install docker-engine using docker binary without internet connection

  12. 12

    How to install packages onto Linux Mint without Internet?

  13. 13

    Using AngularJS in an embedded system without an internet connection

  14. 14

    Is it possible to install python packages without a direct outbound network connection?

  15. 15

    Remove Stack/Cabal packages and install older versions

  16. 16

    How to install NodeJS project locally without internet connection?

  17. 17

    how can I install "pip wheel" on a machine without internet connection?

  18. 18

    Install B43 drivers without internet connection

  19. 19

    Install B43 drivers without internet connection

  20. 20

    How do I do a minimal install without an internet connection?

  21. 21

    How to install R in a RedHat server without internet connection

  22. 22

    Install GNOME/KDE on RedHat without direct internet connection

  23. 23

    How do I install 'Make' without internet connection?

  24. 24

    Checking Internet Connection without URL test connection using java

  25. 25

    Haskell cabal install: missing C library iw

  26. 26

    Haskell cabal install: missing C library iw

  27. 27

    I cannot install packages via the terminal "connection failed", but can browse internet

  28. 28

    Using HTTPS in client browsers on a local network without internet connection

  29. 29

    Is there a way to use Cabal to keep Haskell packages up-to-date?

HotTag

Archive