From: Thomas Gazagnaire <thomas@gazagnaire.org>
To: David MENTRE <dmentre@linux-france.org>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Remove unneeded files in opam
Date: Thu, 2 Jul 2015 09:49:18 +0100 [thread overview]
Message-ID: <1E3C4950-B307-4911-A026-65A87DD95D89@gazagnaire.org> (raw)
In-Reply-To: <5593E62C.9010106@linux-france.org>
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
prev parent reply other threads:[~2015-07-02 8:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-01 13:07 David MENTRE
2015-07-02 8:49 ` Thomas Gazagnaire [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1E3C4950-B307-4911-A026-65A87DD95D89@gazagnaire.org \
--to=thomas@gazagnaire.org \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox