FedoraHow Tolinuxupdate

How To: APFS write support for Fedora

Please note this is an experimental third party driver.

Note: This guide is based on the guide made by the developer available at https://github.com/sgan81/apfs-fuse, but that guide is for Ubuntu.

Download dependencies:

sudo dnf install fuse fuse-devel libicu-devel bzip2 bzip2-devel cmake clang git zlib-devel

Clone from Github:

git clone https://github.com/sgan81/apfs-fuse.git
cd apfs-fuse
git submodule init
git submodule update

Then build:

mkdir build
cd build
cmake ..

If you have a 64 bit computer and don’t want to use the 32-bit version of FUSE run the command below:

ccmake .

Use the arrow keys to move the cursor down to the USE_FUSE3 item, and press the Enter key to change the option from ON to OFF, then press the c key to configure, and finally press the g key to generate.

Finally run make to build the software.

make

To mount a drive, use

apfs-fuse /dev/<device> <mount-directory>

To mount a drive as root (to allow other users to access it):

apfs-fuse -o uid=<uid>,gid=<gid>,allow_other /dev/<device> <mount-path>

For more flags, see the guide from the developer here: https://github.com/sgan81/apfs-fuse

Jonathan Procter

Linux, Unix, and Windows server sysadmin.

Related Articles

Back to top button