all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Philippe Veber <philippe.veber@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: List available versions of package.
Date: Mon, 10 Jun 2019 23:31:18 +0200	[thread overview]
Message-ID: <87ftohqg9l.fsf@nckx> (raw)
In-Reply-To: <CAOOOohTJRE+W5zg1xX274KjaKrO32WyvHZP2KWX_JQpVJD+dgA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

Philippe,

Philippe Veber wrote:
> I'm getting started with guix, and so far it's been just fine.

Welcome!

> I would like to see all available versions for a given package.
> Is there a command that would help me with that?

There is:

  $ guix package --list-available=^glibc$
  glibc	2.25	out,debug,static 
  gnu/packages/base.scm:921:2
  glibc	2.22	out,debug,static 
  gnu/packages/base.scm:980:2
  …

For easier interactive use, you can use the short option ‘-A’.

Note that this option takes a regular expression as argument. 
That makes it powerful, but means you'll have to enclose the name 
in ‘^…$’ if you want to match one specific package.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2019-06-10 21:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 18:27 List available versions of package Philippe Veber
2019-06-10 21:31 ` Tobias Geerinckx-Rice [this message]
2019-06-11  7:43   ` Philippe Veber
2019-06-22 11:26     ` Philippe Veber
2019-06-22 19:08       ` Tobias Geerinckx-Rice
2019-06-26 18:32         ` Philippe Veber
2019-06-22 22:46       ` Ricardo Wurmus
2019-06-26 18:43         ` Philippe Veber
2019-06-26 20:25           ` Ricardo Wurmus
2019-06-30 11:50             ` Philippe Veber
2019-07-02 15:48         ` Leo Famulari

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=87ftohqg9l.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=philippe.veber@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.