* [Caml-list] Remove unneeded files in opam
@ 2015-07-01 13:07 David MENTRE
2015-07-02 8:49 ` Thomas Gazagnaire
0 siblings, 1 reply; 2+ messages in thread
From: David MENTRE @ 2015-07-01 13:07 UTC (permalink / raw)
To: caml-list
Hello,
I'm using opam to configure a Linux virtual machine with some OCaml
programs.
After correct opam configuration, I would like to remove all unneeded
files that opam might keep on disk (cache, .tar.gz of downloaded files,
eventually some remaining compilation tree, ...). Which opam magic
command should I apply?
I've done a bit of googling and looked at the FAQ but found nothing.
Best regards,
david
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Remove unneeded files in opam
2015-07-01 13:07 [Caml-list] Remove unneeded files in opam David MENTRE
@ 2015-07-02 8:49 ` Thomas Gazagnaire
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gazagnaire @ 2015-07-02 8:49 UTC (permalink / raw)
To: David MENTRE; +Cc: caml-list
Hi,
> After correct opam configuration, I would like to remove all unneeded files that opam might keep on disk (cache, .tar.gz of downloaded files, eventually some remaining compilation tree, ...). Which opam magic command should I apply?
Normally all the build files should already be cleaned-up, but it that's not the case the files live in ~/.opam/<switch>/build
The globally cached archive are stored in ~/.opam/archives
The repository archives are stored in ~/.opam/repo/<repo-name>/archives
If you have local pins, you could find some of the archives in ~/.opam/<switch>/packages.dev/<pkg-name>
> I've done a bit of googling and looked at the FAQ but found nothing.
Would make sense to add a command in opam to clean the archives, this is now tracked by https://github.com/ocaml/opam/issues/2235
Best,
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-02 8:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-01 13:07 [Caml-list] Remove unneeded files in opam David MENTRE
2015-07-02 8:49 ` Thomas Gazagnaire
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox