The fish package provides a friendly interactive shell.
Sphinx (to build documentation)
Install fish by executing the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_SYSCONFDIR=/etc \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_SKIP_INSTALL_RPATH=ON \
-D FISH_USE_SYSTEM_PCRE2=ON \
-D WITH_MESSAGE_LOCALIZATION=ON \
-D CMAKE_INSTALL_DOCDIR=/usr/share/doc/fish-4.8.0 \
-G Ninja .. &&
ninja
Now as the root user:
ninja install
As the root user, update /etc/shells to include
the fish shell:
grep -qxF /usr/bin/fish /etc/shells ||
cat >> /etc/shells << "EOF"
/usr/bin/fish
EOF-D CMAKE_SKIP_INSTALL_RPATH=ON:
This switch makes cmake remove hardcoded library search
paths (rpath) when installing a binary executable file or a shared library.
This package does not need rpath once it's installed into the standard
location, and rpath may sometimes cause unwanted effects or even security
issues.
-D CMAKE_INSTALL_DOCDIR=/usr/share/doc/fish-4.8.0:
This parameter installs documentation in a versioned directory, consistent
with other packages.
-D FISH_USE_SYSTEM_PCRE2=ON: This parameter tells
fish to link against the pcre2 installed in LFS.
-D WITH_MESSAGE_LOCALIZATION=ON: This parameter enables
translations.