all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How do I get the "locale" command?
@ 2021-04-04  2:56 Luis Felipe
  2021-04-04  7:40 ` Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Luis Felipe @ 2021-04-04  2:56 UTC (permalink / raw)
  To: help guix

Hi,

The GNU C library documentation mentions this "locale" program that I'd like to use (https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112), but I can't seem to find the package [output] that provides it...


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I get the "locale" command?
  2021-04-04  2:56 How do I get the "locale" command? Luis Felipe
@ 2021-04-04  7:40 ` Guillaume Le Vaillant
  2021-04-04 13:38   ` Luis Felipe
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-04-04  7:40 UTC (permalink / raw)
  To: Luis Felipe; +Cc: help-guix

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

Luis Felipe <luis.felipe.la@protonmail.com> skribis:

> Hi,
>
> The GNU C library documentation mentions this "locale" program that I'd like to use (https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112), but I can't seem to find the package [output] that provides it...
>
>
> ---
> Luis Felipe López Acevedo
> https://luis-felipe.gitlab.io/

Hi,

There's a "locale" program in the glibc package.

--8<---------------cut here---------------start------------->8---
$ guix build glibc
/gnu/store/k3dv964sg3n9ls8h28js1q93m6k2p25v-glibc-2.31-debug
/gnu/store/gkz044xyi5gmknn5pcdhcviq153w90lf-glibc-2.31
/gnu/store/hjgmcx7pxiwv62f1hv4cfqsajy7cqs54-glibc-2.31-static

$ ls -l /gnu/store/gkz044xyi5gmknn5pcdhcviq153w90lf-glibc-2.31/bin/
total 676
-r-xr-xr-x 2 root root   3401 1970-01-01 01:00 catchsegv
-r-xr-xr-x 2 root root  31864 1970-01-01 01:00 gencat
-r-xr-xr-x 5 root root  29856 1970-01-01 01:00 getconf
-r-xr-xr-x 2 root root  40000 1970-01-01 01:00 getent
-r-xr-xr-x 2 root root  65856 1970-01-01 01:00 iconv
-r-xr-xr-x 2 root root   5714 1970-01-01 01:00 ldd
-r-xr-xr-x 2 root root  55240 1970-01-01 01:00 locale
-r-xr-xr-x 2 root root 296432 1970-01-01 01:00 localedef
-r-xr-xr-x 2 root root  28480 1970-01-01 01:00 makedb
-r-xr-xr-x 3 root root   6441 1970-01-01 01:00 mtrace
-r-xr-xr-x 2 root root  17792 1970-01-01 01:00 pcprofiledump
-r-xr-xr-x 2 root root  22880 1970-01-01 01:00 pldd
-r-xr-xr-x 2 root root   4440 1970-01-01 01:00 sotruss
-r-xr-xr-x 2 root root  32456 1970-01-01 01:00 sprof
-r-xr-xr-x 2 root root  15460 1970-01-01 01:00 tzselect
-r-xr-xr-x 2 root root   5458 1970-01-01 01:00 xtrace
--8<---------------cut here---------------end--------------->8---

I think the gcc-toolchain package also includes links to these programs.
So installing glibc or gcc-toolchain should make the "locale" program
available.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I get the "locale" command?
  2021-04-04  7:40 ` Guillaume Le Vaillant
@ 2021-04-04 13:38   ` Luis Felipe
  2021-04-04 15:27     ` Julien Lepiller
  0 siblings, 1 reply; 4+ messages in thread
From: Luis Felipe @ 2021-04-04 13:38 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: help-guix@gnu.org

On Sunday, April 4, 2021 7:40 AM, Guillaume Le Vaillant <glv@posteo.net> wrote:

> Luis Felipe luis.felipe.la@protonmail.com skribis:
>
> > Hi,
> > The GNU C library documentation mentions this "locale" program that I'd like to use (https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112), but I can't seem to find the package [output] that provides it...

[...]

> So installing glibc or gcc-toolchain should make the "locale" program
> available.

Thanks, Guillaume, I went with gcc-toolchain, and it works now.

I didn't tried glibc because I use Guix System and, from the description of the package, I assumed it should be already installed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How do I get the "locale" command?
  2021-04-04 13:38   ` Luis Felipe
@ 2021-04-04 15:27     ` Julien Lepiller
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Lepiller @ 2021-04-04 15:27 UTC (permalink / raw)
  To: Luis Felipe, Guillaume Le Vaillant; +Cc: help-guix@gnu.org

It's "installed" in the sense that it's used by almost every package, but it's not explicitely part of your profile. Dependencies are installed to the store, but not explicitely accessible unless you install them to your profile.

I hope it makes sense, and glad you found a solution!

Le 4 avril 2021 09:38:41 GMT-04:00, Luis Felipe <luis.felipe.la@protonmail.com> a écrit :
>On Sunday, April 4, 2021 7:40 AM, Guillaume Le Vaillant
><glv@posteo.net> wrote:
>
>> Luis Felipe luis.felipe.la@protonmail.com skribis:
>>
>> > Hi,
>> > The GNU C library documentation mentions this "locale" program that
>I'd like to use
>(https://ftp.gnu.org/old-gnu/Manuals/glibc-2.2.3/html_chapter/libc_toc.html#TOC112),
>but I can't seem to find the package [output] that provides it...
>
>[...]
>
>> So installing glibc or gcc-toolchain should make the "locale" program
>> available.
>
>Thanks, Guillaume, I went with gcc-toolchain, and it works now.
>
>I didn't tried glibc because I use Guix System and, from the
>description of the package, I assumed it should be already installed.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-04 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04  2:56 How do I get the "locale" command? Luis Felipe
2021-04-04  7:40 ` Guillaume Le Vaillant
2021-04-04 13:38   ` Luis Felipe
2021-04-04 15:27     ` Julien Lepiller

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.