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

Re: creating links



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

Attachment: signature.asc
Description: PGP signature


Reply to: