unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Guillaume Le Vaillant <glv@posteo.net>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: help-guix@gnu.org
Subject: Re: How do I get the "locale" command?
Date: Sun, 04 Apr 2021 09:40:42 +0200	[thread overview]
Message-ID: <87v992wl8l.fsf@yamatai> (raw)
In-Reply-To: <PA09K9aY3OUCv0Lc5t3vYVH4xTfJOiZbqlic4j5KKWoINdlJaral1N4XSTlbdnIfZmiD96OYTnVJdFQ4t182YzxWpp1dfCIJf_TwR38fN8U=@protonmail.com>

[-- 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 --]

  reply	other threads:[~2021-04-04  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04  2:56 How do I get the "locale" command? Luis Felipe
2021-04-04  7:40 ` Guillaume Le Vaillant [this message]
2021-04-04 13:38   ` Luis Felipe
2021-04-04 15:27     ` Julien Lepiller

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v992wl8l.fsf@yamatai \
    --to=glv@posteo.net \
    --cc=help-guix@gnu.org \
    --cc=luis.felipe.la@protonmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).