Public Git Repositories

Git repositories of nilfs-related packages are available at GitHub.

Getting Source Code Using Git

You can get the source code of NILFS utilities with git clone command:

 $ git clone https://github.com/nilfs-dev/nilfs-utils.git

Some standalone kernel modules of NILFS2 are also obtainable in the same manner. For instance, the latest source code of kernel module for RHEL 10 clones and CentOS Stream 10 can be downloaded as follows:

 $ git clone https://github.com/nilfs-dev/nilfs2-kmod10.git

These repositories can be updated with git pull command. Please see https://git-scm.com/ for further information.

Preparations To Build nilfs-utils

Since nilfs-utils repository doesn't include any intermediate files, you need to run autogen.sh first.

 $ cd nilfs-utils
 $ ./autogen.sh

This may require libtool, autoconf (-2.6 or later), and automake packages.

Then, you will be able to build & install utilities in the usual manner:

 $ ./configure
 $ make
 $ sudo make install

You may need or want to tweak build options. Starting from nilfs-utils 2.2.13, the library architecture is automatically detected. Therefore, you generally do not need to specify the --libdir option unless you are creating a distribution package, cross-compiling, or building an older version.

If you need to specify the installation directory for libraries manually (e.g., for v2.2.12 or earlier), pass the --libdir option to the configure script.

On 64-bit RHEL clones, Fedora, and other distributions that use /usr/lib64 for 64-bit libraries, use:

 $ ./configure --libdir=/usr/lib64

On Debian, Ubuntu, and their derivatives that follow the Multiarch specification (e.g., using /usr/lib/x86_64-linux-gnu), use:

 $ ./configure --libdir=/usr/lib/x86_64-linux-gnu

For details on build options, please see the README file contained in nilfs-utils.

Good luck!

  • follow NILFS in RSS
  • follow NILFS in feedly
  • follow NILFS in inoReader