caml-list - the Caml user's mailing list
 help / Atom feed
From: Hendrik Boom <hendrik@topoi.pooq.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Opam: using both 1.2 and 2.0
Date: Mon, 7 Jan 2019 10:50:06 -0500
Message-ID: <20190107155006.3wlsogzukeypmreo@topoi.pooq.com> (raw)
In-Reply-To: <20190107092510.GA5550@prajna.paris.inria.fr>

On Mon, Jan 07, 2019 at 10:25:10AM +0100, Sébastien Hinderer wrote:
> Daniel Bünzli (2019/01/07 10:22 +0100):
> > On 7 January 2019 at 09:12:12, Sébastien Hinderer (sebastien.hinderer@inria.fr) wrote:
> > 
> > > Is there a suggested way to achieve this?
> > 
> > I guess the easiest would be to make a wrapper shell script for opam
> > v1.2 that sets OPAMROOT to a place where it can operate without
> > disturbing your opam v2 install. 
> 
> Will try that! Thanks! But still have to figure out how to install opam
> 1 I guess, because it will probably not be possible to install it
> through the distribution's package manager.

You could try dowloading the .deb from an older Deboan release and using dpkg.
That's if the package depedencies haven't changed much.

Or you could try edit /etc/apt/sources.lst,
    apt-get update, 
    apt-get-install opam
and then put sources.lst back the way it was and
    apt-get update
again.

That requires the old dependencies not to conflict with the new ones.  

And in any case you'd probably have to move the old opam binary before 
you reinstall the new one.

-- hendrik

> 
> Best wishes,
> 
> Sébastien.
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list
> Forum: https://discuss.ocaml.org/
> Bug reports: http://caml.inria.fr/bin/caml-bugs

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list https://inbox.ocaml.org/caml-list
Forum: https://discuss.ocaml.org/
Bug reports: http://caml.inria.fr/bin/caml-bugs

  parent reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-07  8:12 Sébastien Hinderer
2019-01-07  9:23 ` Daniel Bünzli
2019-01-07  9:25   ` Sébastien Hinderer
2019-01-07  9:52     ` Daniel Bünzli
2019-01-07 23:25       ` Jacques Garrigue
2019-01-21 14:54       ` Sébastien Hinderer
2019-01-21 16:09         ` Anil Madhavapeddy
2019-01-07 15:50     ` Hendrik Boom [this message]
2019-01-07 21:11       ` Sébastien Hinderer

Reply instructions:

You may reply publically 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=20190107155006.3wlsogzukeypmreo@topoi.pooq.com \
    --to=hendrik@topoi.pooq.com \
    --cc=caml-list@inria.fr \
    /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

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror https://inbox.ocaml.org/caml-list

AGPL code for this site: git clone https://public-inbox.org/ public-inbox