Install SSHFS on CentOS 5.2

Many of you probably tried to install sshfs on a centos operating system but had no luck with yum or build from source cause of strange message saying that

checking for SSHFS… configure: error: The pkg-config script could not be found or is too old.  Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.

The simple and quick method is the following. Please chech the versions for future releases. Run everything as root

# cd ~

# wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.1/fuse-2.8.1.tar.gz?use_mirror=garr

# wget http://downloads.sourceforge.net/project/fuse/sshfs-fuse/2.2/sshfs-fuse-2.2.tar.gz?use_mirror=garr

# yum install gcc glib2-devel

# tar zxf fuse-2.8.1.tar.gz && cd fuse-2.8.1

#./configure && make && make install

# tar zxf sshfs-fuse-2.2.tar.gz && cd sshfs-fuse-2.2

#./configure && make && make install

One more step to be able to use fuse

# echo “/usr/local/lib” >> /etc/ld.so.conf

# ldconfig

and you are done!

Enjoy!

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.


Bookmark and Share

Biznet Infoservices Ltd

291 Comments »