From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: List available versions of package. Date: Mon, 10 Jun 2019 23:31:18 +0200 Message-ID: <87ftohqg9l.fsf@nckx> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60619) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haRtH-0004qv-EF for help-guix@gnu.org; Mon, 10 Jun 2019 17:31:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haRtE-0002bA-7l for help-guix@gnu.org; Mon, 10 Jun 2019 17:31:42 -0400 Received: from tobias.gr ([2001:470:7405::1]:33760) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1haRtA-0002QV-DV for help-guix@gnu.org; Mon, 10 Jun 2019 17:31:37 -0400 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Philippe Veber Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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=3D^glibc$ glibc 2.25 out,debug,static=20 gnu/packages/base.scm:921:2 glibc 2.22 out,debug,static=20 gnu/packages/base.scm:980:2 =E2=80=A6 For easier interactive use, you can use the short option =E2=80=98-A=E2=80= =99. Note that this option takes a regular expression as argument.=20 That makes it powerful, but means you'll have to enclose the name=20 in =E2=80=98^=E2=80=A6$=E2=80=99 if you want to match one specific package. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXP7MJgAKCRANsP+IT1Vt eexJAQDzOTfPuFm+znrjCz7IuVLyO9mgoiXJzcn+9SiQmDMbBgD8ClpSZWVU2Ab3 PXq8xaWrWP6JocfcGJ7rWpayvGhcngk= =BlRC -----END PGP SIGNATURE----- --=-=-=--