Download jhalfs
Obtain jhalfs
jhalfs is maintained as a rolling release. It can be obtained from the git repository:
git clone https://git.linuxfromscratch.org/jhalfs.git
Packages required for jhalfs
Before it can parse the LFS book for commands, jhalfs needs to have a local copy of the book's XML source. Currently, jhalfs relies on git to ensure that it has the most up-to-date version of the LFS Book. There are build instructions in BLFS.
To extract the commands from the LFS book, jhalfs relies on xsltproc from the libxslt package and its dependencies. There are build instructions in BLFS.
The DocBook XML DTD and DocBook XSL stylesheets are now needed for profiling the book. There are build instructions for DocBook XML DTD and DocBook XSL stylesheets in BLFS.
If you want jhalfs to automatically download the source packages LFS uses, you'll need to have wget installed. There are build instructions in BLFS.
Last but not least, jhalfs relies on sudo for running privileged instructions. Again, build instructions can be found in BLFS. The README file has some advice on how to configure /etc/sudoers.