caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Offline opam
@ 2016-10-03 18:05 Arlen Cox
  2016-10-04  9:55 ` Anil Madhavapeddy
  0 siblings, 1 reply; 4+ messages in thread
From: Arlen Cox @ 2016-10-03 18:05 UTC (permalink / raw)
  To: caml-list

Hi all,

Is there good documentation anywhere on how to make an offline opam
repo?  I would like to be able to use the repo just like I would opam
with an internet connection.

I would like to be able to do the following:
  - Install any package: opam install package_x
  - Search for any package: opam search package_y
  - Switch the compiler (even if I have not yet installed that
compiler version): opam switch 4.02.0

Using opam-admin make, I can cause all packages to be downloaded, but
they're tagged with the compiler version that I used to fetch them.
This means that if I run a switch, the existing archives are no longer
valid (I presume).  Furthermore none of the ocaml compiler sources are
downloaded, so I cannot actually use opam switch with this install.

Thanks,
Arlen

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-04 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 18:05 [Caml-list] Offline opam Arlen Cox
2016-10-04  9:55 ` Anil Madhavapeddy
2016-10-04 16:09   ` Arlen Cox
2016-10-04 16:17     ` Anil Madhavapeddy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).