• Re: creating links

    From tomas@3:633/10 to All on Sunday, January 18, 2026 08:20:01
    On Sat, Jan 17, 2026 at 11:42:05PM -0700, Paul Scott wrote:
    Hi all.

    My path is:

    /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

    whereis lilypond gives

    lilypond: /usr/bin/lilypond /usr/lib/x86_64-linux-gnu/lilypond /usr/local/bin/lilypond /usr/share/lilypond
    /usr/share/man/man1/lilypond.1.gz /usr/share/info/lilypond

    What is wrong with following command which causes lilypond -v to execute the stable version of lilypond which is also installed?

    sudo ln -s /usr/local/bin/lilypond ~/Lilypond/lilypond2.25.32/bin/lilypond /usr/local/bin/lilypond
    I'm having difficulties in keeping apart what are shell commands and what
    is text "in between" (tip: some kind of markup, say indentation, would help), but if your "real" lilypond is in ~/Lilypond/..., don't you rather want
    sudo ln -s ~/Lilypond/lilypond2.25.32/bin/lilypond /usr/local/bin/lilypond
    ?
    (Mnemonics: ln is like copy, but doesn't move stuff around).
    Cheers
    --
    t


    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From tomas@3:633/10 to All on Sunday, January 18, 2026 09:50:01
    On Sun, Jan 18, 2026 at 12:56:09AM -0700, Paul Scott wrote:

    On 1/18/26 12:17 AM, tomas@tuxteam.de wrote:
    On Sat, Jan 17, 2026 at 11:42:05PM -0700, Paul Scott wrote:
    [...]
    I'm having difficulties in keeping apart what are shell commands and what is text [...]
    Thank you and sorry for some of the noise!
    No need to be sorry. I'm glad I got the right interpretation :)
    You are totally correct but I had actually already been doing what you suggest. I wrote the email badly!

    So, it turns out that Helga is correct and things are working now.
    Aha. Glad your problem is solved. Yes, the shell command cache
    makes things faster, but can be treacherous at times. Once a
    year, it trips me up.
    Have a wonderful year,
    Same wishes to you.
    Cheers
    --
    t

    Paul



    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Jeffrey Walton@3:633/10 to All on Sunday, January 18, 2026 10:40:02
    On Sun, Jan 18, 2026 at 3:41?AM Paul Scott <waterhorsemusic@aol.com
    wrote:

    My path is:

    /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

    whereis lilypond gives

    lilypond: /usr/bin/lilypond /usr/lib/x86_64-linux-gnu/lilypond /usr/local/bin/lilypond /usr/share/lilypond
    /usr/share/man/man1/lilypond.1.gz /usr/share/info/lilypond

    What is wrong with following command which causes lilypond -v to execute
    the stable version of lilypond which is also installed?

    sudo ln -s /usr/local/bin/lilypond
    ~/Lilypond/lilypond2.25.32/bin/lilypond /usr/local/bin/lilypond

    The binary I want to execute is at /home/paul/Lilypond/lilypond-2.25.32/bin/lilypond

    60 or 70% of the time that I upgrade I get this link correct. This is a
    time that it is failing and I haven't been to figure out the correct synt
    ax.

    How is it failing? Please provide the exact error message.

    Jeff

    --- PyGate Linux v1.5.2
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)