libfuse Installation Guide
This section uses libfuse 2.9.7 as an example target version to describe how to update libfuse on CentOS 7, SUSE 12, and Ubuntu 16.
Prerequisites
The source code of libfuse has been downloaded and then compiled to generate libfuse.so.2.9.7.
Download address of libfuse: https://github.com/libfuse/libfuse/releases/tag/fuse-2.9.7
tar -zxvf fuse-2.9.7.tar.gz cd fuse-2.9.7/ && ./configure && make && make install echo -e '\n/usr/local/lib' >> /etc/ld.so.conf ldconfig
Installing libfuse on CentOS 7
libfuse.so.2.9.2 is installed on CentOS 7 by default.
Ensure that you have downloaded the libfuse source code and generated libfuse.so.2.9.7 after compilation as described in Prerequisites. Then perform the following steps.
- Run the following command to locate the links of the libfuse.so.2.9.2 library:
find / -name libfuse.so*
- Run the following command to copy libfuse.so.2.9.7 to the directory where the libfuse.so.2.9.2 library resides.
cp /usr/local/lib/libfuse.so.2.9.7 /usr/lib64/
- Run the following command to remove all links of the libfuse.so library of the earlier version:
rm -f /usr/lib64/libfuse.so rm -f /usr/lib64/libfuse.so.2
- Run the following command to create links of libfuse.so.2.9.7 library similar to the deleted ones of the libfuse.so library of the earlier version:
ln -s /usr/lib64/libfuse.so.2.9.7 /usr/lib64/libfuse.so ln -s /usr/lib64/libfuse.so.2.9.7 /usr/lib64/libfuse.so.2
Installing libfuse on SUSE 12
libfuse.so.2.9.3 is installed on SUSE 12 by default.
Ensure that you have downloaded the libfuse source code and generated libfuse.so.2.9.7 after compilation as described in Prerequisites. Then perform the following steps.
- Run the following command to locate the links of the libfuse.so.2.9.3 library:
find / -name libfuse.so*
- Run the following command to copy libfuse.so.2.9.7 to the directory where the libfuse.so.2.9.3 library resides.
cp /usr/local/lib/libfuse.so.2.9.7 /usr/lib64/
- Run the following command to remove all links of the libfuse.so library of the earlier version:
rm -f /usr/lib64/libfuse.so.2 rm -f /lib64/libfuse.so.2.9.3
- Run the following command to create links of libfuse.so.2.9.7 library similar to the deleted ones of the libfuse.so library of the earlier version:
ln -s /usr/lib64/libfuse.so.2 /usr/lib64/libfuse.so.2.9.7 ln -s /usr/lib64/libfuse.so.2.9.7 /lib64/libfuse.so.2.9.7
Installing libfuse on Ubuntu 16
libfuse.so.2.9.4 is installed on Ubuntu 16 by default.
Ensure that you have downloaded the libfuse source code and generated libfuse.so.2.9.7 after compilation as described in Prerequisites. Then perform the following steps.
- Run the following command to locate the links of the libfuse.so.2.9.4 library:
find / -name libfuse.so*
- Run the following command to copy libfuse.so.2.9.7 to the directory where the libfuse.so.2.9.4 library resides.
cp /usr/local/lib/libfuse.so.2.9.7 /lib/x86_64-linux-gnu/
- Run the following command to remove all links of the libfuse.so library of the earlier version:
rm -f /lib/x86_64-linux-gnu/libfuse.so.2
- Run the following command to create links of libfuse.so.2.9.7 library similar to the deleted ones of the libfuse.so library of the earlier version:
ln -s /lib/x86_64-linux-gnu/libfuse.so.2.9.7 /lib/x86_64-linux-gnu/libfuse.so.2
Last Article: Related Operations
Next Article: Change History
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.