How to install sshfs on CentOS 7?

sshfs is a nice tool. But it seems there is no support to it in a newly installed CentOS 7 Linux system:

Not installed by default:

# sshfs
-bash: sshfs: command not found

Seems not available from the repositories

# yum install sshfs -y
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base                                                                                                                                                            | 3.6 kB  00:00:00     
extras                                                                                                                                                          | 3.4 kB  00:00:00     
updates                                                                                                                                                         | 3.4 kB  00:00:00     
(1/2): extras/7/x86_64/primary_db                                                                                                                               | 165 kB  00:00:00     
(2/2): updates/7/x86_64/primary_db                                                                                                                              | 7.8 MB  00:00:00     
Determining fastest mirrors
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
No package sshfs available.
Error: Nothing to do

And nothing found

# yum search sshfs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirrors.btte.net
Warning: No matches found for: sshfs
No matches found

How to install sshfs on CentOS 7?

The software package for sshfs is proved in EPEL.

To install sshfs, first, enable EPEL following instructions here.

Then, install sshfs by

# yum install fuse-sshfs

Similar Posts

  • Compress PNG Images on Linux

    PNG images already use DEFLATE data compression algorithm involving a combination of LZ77 and Huffman coding. But the PNG images can be further compressed by removing non-important metadata or using lossy compression to save storage space and/or data transfer bandwidth. In this post, we introduce 2 compression ways with tools available on Linux. Lossless compression…

  • Emacs highlighting part of lines that go over 80 chars

    How to make Emacs highlighting part of lines that go over 80 chars? I use the whitespace mode: ;; `lines-tail`, highlight the part that goes beyond the ;; limit of `whitespace-line-column` (require ‘whitespace) (setq whitespace-style ‘(face empty tabs lines-tail trailing)) (global-whitespace-mode t) More: https://github.com/zma/emacs-config/blob/master/.emacs Alternatively, you can run highlight-lines-matching-regexp with the expression .{81}. http://stackoverflow.com/questions/6344474/how-can-i-make-emacs-highlight-lines-that-go-over-80-chars Read…

  • How to convert flv to mp4 with ffmpeg?

    How to convert a video file in format as flv to mp4 with ffmpeg? You may use method from here: https://www.systutorials.com/3540/converting-video-files-for-ipod-iphone-ipad/ ffmpeg -i input.flv output.mp4 Or by specifying more details about how to handling the codecs: ffmpeg -i input.flv -vcodec copy -acodec copy output.mp4 You may also add more options as you like. For more,…

  • Linux Cluster Solutions

    Solutions to Linux cluster construction and management such as unified account management, NFS home directory, network configurations are summarised in this post. The post is keeping updating while new solutions is added to this site. ===Account and storage management=== [[unified-linux-login-and-home-directory-using-openldap-and-nfsautomount|Unified Linux Login and Home Directory Using OpenLDAP and NFS/automount]] [[backup-linux-home-directory-using-rsync|Backup Linux Home Directory Using rsync]]…

  • Java Calling Native Functions in .DLL on Windows

    How to call a function in .dll from Java on Windows is introduced in this post with an example. Platforms used: OS: Microsoft Windows XP [5.1.2600] C to .dll compiler: MS Visual Studio 2008 JDK: java -version java version “1.6.0_05” Java(TM) SE Runtime Environment (build 1.6.0_05-b13) Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)…

Leave a Reply

Your email address will not be published. Required fields are marked *