help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding the right path


From: gfp
Subject: Re: finding the right path
Date: Tue, 19 Nov 2024 21:04:40 +0000

Hi Felix,

thanks for help

I find gs installed in:

gfp@Tuxedo ~$ which gs
/home/gfp/.guix-profile/bin/gs

and in:

guix package --list-installed

ghostscript 9.56.1 out /gnu/store/1v8zfc3k0y9r24m0cjbsxhnggkllfmbc-ghostscript-9.56.1 gv 3.7.4 out /gnu/store/yhpm5azbp7l6llyl2w9nnh4iq1m3lj2q-gv-3.7.4


Is this the right way to write it:
(require 'printing)
    (setq pr-path-alist
            '((unix      "." "/home/gfp/.guix-profile/bin" ghostview mpage PATH)
              (ghostview "/home/gfp/.guix-profile/bin/gsview-dir")
              (mpage     "/home/gfp/.guix-profile/bin/mpage-dir")
              ))

this was the old way:

;;'((unix      "." "~/bin" ghostview mpage PATH)
;;  (ghostview "$HOME/bin/gsview-dir")
;;  (mpage     "$HOME/bin/mpage-dir")


I don´t find the file: "gsview-dir" and "mpage-dir"


thanks

Gottfried




Am 19.11.24 um 20:36 schrieb Felix Lechner:
Hi Gottfried,

On Tue, Nov 19 2024, gfp wrote:

It says, you do need to install ghostscript.

Most immediately, I think you can just use 'guix install gs'.  A list of
installed packages may be available via

     guix package --list-installed'

The functional way, however, is to "declare" your packages in a file.
For system packages, that's the system configuration.  The same idea
works for your personal packages; i's called a "home" configuration.

Here, the word "home" refers to your home folder.

What are the commands to find out where I installed a package?

The only way I know is `which gs` and then follow the symbolic links.

Kind regards
Felix

P.S. The symbolic links make Guix special among Linux distributions.  If
you understand how they work, you are a Guix expert!

P.P.S. Use "C-h R" in Emacs and use 'i' to search in the 'guix' manual.
It helps to have Vertico installed, or something comparable.

--
Mit freundlichen Grüßen

G. Preihs

Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]