I downloaded a binary file of Lilypond. How do I get it installed?
Announcement
Collapse
No announcement yet.
How do I compile/unpack a .sh file
Collapse
This topic is closed.
X
X
-
Re: How do I compile/unpack a .sh file
Not needed. A '.sh' file is a shell executable. If you go to the commandline and type
Code:sh lilypond...(whatever).sh
(You have to 'cd' to the directory you downloaded the .sh file, first.)
- Top
- Bottom
-
Re: How do I compile/unpack a .sh file
ok, here's a more step-by-step version:
1. Download the file to somewhere safe, like your home directory or the desktop.
2. Open a shell window (konsole).
3. Type 'ls'. Is your file there? If not, type 'cd Desktop' (see 3a)
3a. Type 'ls'. Is your file there? Good. Continue as below.
4. If you see your lilypond file, you can type 'sh', space, the letters 'lily' and then hit tab. Bash is smart; it autocompletes obvious filenames to save you all those typos.
5. Hit enter. You're on the road, now.
After the install, you can get rid of the .sh file.
- Top
- Bottom
Comment
-
Re: How do I compile/unpack a .sh file
Originally posted by blackjack72Sorry, one more question. Where did the file unpack to. I can't find it and when I try the run command, nothing happens. Should a shell file like this actually run?
The lilypond installer cleans up after itself. It installs the binaries in /usr/local/bin and the libraries also in /usr/local/lib. Note this is under /usr/local not the more general /usr -- avoids package management collisions. There is a chance if you tried to install this as a normal user that you can't write to /usr/local -- maybe you need to run the command as "sudo sh lilypond-...(whatever).sh" to have the power to send the files there. Lilypond does NOT leave the files unpacked and lying around the directory, unlike say unpacking a .tar.gz file.
Hope this helps. If not, what messages do you see when it runs?
- Top
- Bottom
Comment
-
Re: How do I compile/unpack a .sh file
Ah! I get it. By default, it doesn't work like its Windows counterpart. There's no icon.
Lilypond, as packaged, is a command line utility. If you have a .ly file, you can compile it by going to the command line and running
Code:lilypond filename.ly
Code:lilypond --version
Code:lilypond --help
Code:lilypond --help | less
If you want the quick path to enlightenment, try command sequences like these:
Code:man lilypond info lilypond
Code:lilypond whatever.ly kpdf whatever.pdf &
- Top
- Bottom
Comment
-
Re: How do I compile/unpack a .sh file
Originally posted by blackjack72Thanks. I'm beginning to get it......
Heh heh, let me also say, Lilypond can produce .midi files that can be played through Timidity++, but that's another command line story for another day.
- Top
- Bottom
Comment
Comment