linux之手动安装sshfs

如果直接安装不行:sudo apt-get install sshfs -y,在尝试使用手动安装

 

0. 参考网站:https://github.com/libfuse/sshfs

1. 下载sshfs源码:https://github.com/libfuse/sshfs/releases

2. 解压

3.  dnf install python3-docutils fuse3 fuse3-devel或者yum install python3-docutils fuse3 fuse3-devel glib2-devel -y 

3.1  pip install meson

    下载Ninja: https://github.com/ninja-build/ninja/releases

     解压Ninja

     chmod +x /path/to/downloaded/ninja

     sudo mv /path/to/downloaded/ninja /usr/local/bin/

4. mkdir build && cd build

5. meson ..

6. ninja

7. sudo ninja install

posted @ 2023-08-21 21:17  Shiyu_Huang  阅读(477)  评论(0编辑  收藏  举报