How To Install rclone on CentOS 8

rclone is Rsync for cloud storage

Introduction

In this tutorial we learn how to install rclone on CentOS 8.

What is rclone

Rclone is a command line program to sync files and directories to and from various cloud services.

We can use yum or dnf to install rclone on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rclone.

Install rclone on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install rclone using dnf by running the following command:

sudo dnf -y install rclone

Install rclone on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install rclone using yum by running the following command:

sudo yum -y install rclone

How To Uninstall rclone on CentOS 8

To uninstall only the rclone package we can use the following command:

sudo dnf remove rclone

rclone Package Contents on CentOS 8

/usr/bin/rclone
/usr/lib/.build-id
/usr/lib/.build-id/77
/usr/lib/.build-id/77/9631fda08b12fa5afd2ffc9725996878efb44e
/usr/share/doc/rclone
/usr/share/doc/rclone/CONTRIBUTING.md
/usr/share/doc/rclone/MAINTAINERS.md
/usr/share/doc/rclone/MANUAL.html
/usr/share/doc/rclone/MANUAL.md
/usr/share/doc/rclone/README.md
/usr/share/doc/rclone/RELEASE.md
/usr/share/doc/rclone/docs
/usr/share/doc/rclone/docs/README.md
/usr/share/doc/rclone/docs/config.json
/usr/share/doc/rclone/docs/content
/usr/share/doc/rclone/docs/content/_index.md
/usr/share/doc/rclone/docs/content/alias.md
/usr/share/doc/rclone/docs/content/amazonclouddrive.md
/usr/share/doc/rclone/docs/content/authors.md
/usr/share/doc/rclone/docs/content/azureblob.md
/usr/share/doc/rclone/docs/content/b2.md
/usr/share/doc/rclone/docs/content/box.md
/usr/share/doc/rclone/docs/content/bugs.md
/usr/share/doc/rclone/docs/content/cache.md
/usr/share/doc/rclone/docs/content/changelog.md
/usr/share/doc/rclone/docs/content/chunker.md
/usr/share/doc/rclone/docs/content/commands
/usr/share/doc/rclone/docs/content/commands/rclone.md
/usr/share/doc/rclone/docs/content/commands/rclone_about.md
/usr/share/doc/rclone/docs/content/commands/rclone_authorize.md
/usr/share/doc/rclone/docs/content/commands/rclone_backend.md
/usr/share/doc/rclone/docs/content/commands/rclone_cat.md
/usr/share/doc/rclone/docs/content/commands/rclone_check.md
/usr/share/doc/rclone/docs/content/commands/rclone_cleanup.md
/usr/share/doc/rclone/docs/content/commands/rclone_config.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_create.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_delete.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_disconnect.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_dump.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_edit.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_file.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_password.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_providers.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_reconnect.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_show.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_update.md
/usr/share/doc/rclone/docs/content/commands/rclone_config_userinfo.md
/usr/share/doc/rclone/docs/content/commands/rclone_copy.md
/usr/share/doc/rclone/docs/content/commands/rclone_copyto.md
/usr/share/doc/rclone/docs/content/commands/rclone_copyurl.md
/usr/share/doc/rclone/docs/content/commands/rclone_cryptcheck.md
/usr/share/doc/rclone/docs/content/commands/rclone_cryptdecode.md
/usr/share/doc/rclone/docs/content/commands/rclone_dedupe.md
/usr/share/doc/rclone/docs/content/commands/rclone_delete.md
/usr/share/doc/rclone/docs/content/commands/rclone_deletefile.md
/usr/share/doc/rclone/docs/content/commands/rclone_genautocomplete.md
/usr/share/doc/rclone/docs/content/commands/rclone_genautocomplete_bash.md
/usr/share/doc/rclone/docs/content/commands/rclone_genautocomplete_fish.md
/usr/share/doc/rclone/docs/content/commands/rclone_genautocomplete_zsh.md
/usr/share/doc/rclone/docs/content/commands/rclone_gendocs.md
/usr/share/doc/rclone/docs/content/commands/rclone_hashsum.md
/usr/share/doc/rclone/docs/content/commands/rclone_link.md
/usr/share/doc/rclone/docs/content/commands/rclone_listremotes.md
/usr/share/doc/rclone/docs/content/commands/rclone_ls.md
/usr/share/doc/rclone/docs/content/commands/rclone_lsd.md
/usr/share/doc/rclone/docs/content/commands/rclone_lsf.md
/usr/share/doc/rclone/docs/content/commands/rclone_lsjson.md
/usr/share/doc/rclone/docs/content/commands/rclone_lsl.md
/usr/share/doc/rclone/docs/content/commands/rclone_md5sum.md
/usr/share/doc/rclone/docs/content/commands/rclone_mkdir.md
/usr/share/doc/rclone/docs/content/commands/rclone_mount.md
/usr/share/doc/rclone/docs/content/commands/rclone_move.md
/usr/share/doc/rclone/docs/content/commands/rclone_moveto.md
/usr/share/doc/rclone/docs/content/commands/rclone_ncdu.md
/usr/share/doc/rclone/docs/content/commands/rclone_obscure.md
/usr/share/doc/rclone/docs/content/commands/rclone_purge.md
/usr/share/doc/rclone/docs/content/commands/rclone_rc.md
/usr/share/doc/rclone/docs/content/commands/rclone_rcat.md
/usr/share/doc/rclone/docs/content/commands/rclone_rcd.md
/usr/share/doc/rclone/docs/content/commands/rclone_rmdir.md
/usr/share/doc/rclone/docs/content/commands/rclone_rmdirs.md
/usr/share/doc/rclone/docs/content/commands/rclone_selfupdate.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve_dlna.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve_ftp.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve_http.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve_restic.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve_sftp.md
/usr/share/doc/rclone/docs/content/commands/rclone_serve_webdav.md
/usr/share/doc/rclone/docs/content/commands/rclone_settier.md
/usr/share/doc/rclone/docs/content/commands/rclone_sha1sum.md
/usr/share/doc/rclone/docs/content/commands/rclone_size.md
/usr/share/doc/rclone/docs/content/commands/rclone_sync.md
/usr/share/doc/rclone/docs/content/commands/rclone_test.md
/usr/share/doc/rclone/docs/content/commands/rclone_test_histogram.md
/usr/share/doc/rclone/docs/content/commands/rclone_test_info.md
/usr/share/doc/rclone/docs/content/commands/rclone_test_makefiles.md
/usr/share/doc/rclone/docs/content/commands/rclone_test_memory.md
/usr/share/doc/rclone/docs/content/commands/rclone_touch.md
/usr/share/doc/rclone/docs/content/commands/rclone_tree.md
/usr/share/doc/rclone/docs/content/commands/rclone_version.md
/usr/share/doc/rclone/docs/content/compress.md
/usr/share/doc/rclone/docs/content/contact.md
/usr/share/doc/rclone/docs/content/crypt.md
/usr/share/doc/rclone/docs/content/docs.md
/usr/share/doc/rclone/docs/content/donate.md
/usr/share/doc/rclone/docs/content/downloads.md
/usr/share/doc/rclone/docs/content/drive.md
/usr/share/doc/rclone/docs/content/dropbox.md
/usr/share/doc/rclone/docs/content/faq.md
/usr/share/doc/rclone/docs/content/fichier.md
/usr/share/doc/rclone/docs/content/filefabric.md
/usr/share/doc/rclone/docs/content/filtering.md
/usr/share/doc/rclone/docs/content/flags.md
/usr/share/doc/rclone/docs/content/ftp.md
/usr/share/doc/rclone/docs/content/googlecloudstorage.md
/usr/share/doc/rclone/docs/content/googlephotos.md
/usr/share/doc/rclone/docs/content/gui.md
/usr/share/doc/rclone/docs/content/hdfs.md
/usr/share/doc/rclone/docs/content/http.md
/usr/share/doc/rclone/docs/content/hubic.md
/usr/share/doc/rclone/docs/content/install.md
/usr/share/doc/rclone/docs/content/install.sh
/usr/share/doc/rclone/docs/content/jottacloud.md
/usr/share/doc/rclone/docs/content/koofr.md
/usr/share/doc/rclone/docs/content/licence.md
/usr/share/doc/rclone/docs/content/local.md
/usr/share/doc/rclone/docs/content/mailru.md
/usr/share/doc/rclone/docs/content/mega.md
/usr/share/doc/rclone/docs/content/memory.md
/usr/share/doc/rclone/docs/content/onedrive.md
/usr/share/doc/rclone/docs/content/opendrive.md
/usr/share/doc/rclone/docs/content/overview.md
/usr/share/doc/rclone/docs/content/pcloud.md
/usr/share/doc/rclone/docs/content/premiumizeme.md
/usr/share/doc/rclone/docs/content/privacy.md
/usr/share/doc/rclone/docs/content/putio.md
/usr/share/doc/rclone/docs/content/qingstor.md
/usr/share/doc/rclone/docs/content/rc.md
/usr/share/doc/rclone/docs/content/remote_setup.md
/usr/share/doc/rclone/docs/content/s3.md
/usr/share/doc/rclone/docs/content/seafile.md
/usr/share/doc/rclone/docs/content/sftp.md
/usr/share/doc/rclone/docs/content/sharefile.md
/usr/share/doc/rclone/docs/content/sugarsync.md
/usr/share/doc/rclone/docs/content/swift.md
/usr/share/doc/rclone/docs/content/tardigrade.md
/usr/share/doc/rclone/docs/content/union.md
/usr/share/doc/rclone/docs/content/webdav.md
/usr/share/doc/rclone/docs/content/yandex.md
/usr/share/doc/rclone/docs/content/zoho.md
/usr/share/doc/rclone/docs/i18n
/usr/share/doc/rclone/docs/i18n/en.toml
/usr/share/doc/rclone/docs/layouts
/usr/share/doc/rclone/docs/layouts/404.html
/usr/share/doc/rclone/docs/layouts/_default
/usr/share/doc/rclone/docs/layouts/_default/baseof.html
/usr/share/doc/rclone/docs/layouts/_default/single.html
/usr/share/doc/rclone/docs/layouts/chrome
/usr/share/doc/rclone/docs/layouts/chrome/menu.html
/usr/share/doc/rclone/docs/layouts/chrome/navbar.html
/usr/share/doc/rclone/docs/layouts/index.html
/usr/share/doc/rclone/docs/layouts/partials
/usr/share/doc/rclone/docs/layouts/partials/version.html
/usr/share/doc/rclone/docs/layouts/rss.xml
/usr/share/doc/rclone/docs/layouts/section
/usr/share/doc/rclone/docs/layouts/section/commands.html
/usr/share/doc/rclone/docs/layouts/shortcodes
/usr/share/doc/rclone/docs/layouts/shortcodes/asciinema.html
/usr/share/doc/rclone/docs/layouts/shortcodes/cdownload.html
/usr/share/doc/rclone/docs/layouts/shortcodes/color.html
/usr/share/doc/rclone/docs/layouts/shortcodes/download.html
/usr/share/doc/rclone/docs/layouts/shortcodes/icon.html
/usr/share/doc/rclone/docs/layouts/shortcodes/img.html
/usr/share/doc/rclone/docs/layouts/shortcodes/monthly_donations.html
/usr/share/doc/rclone/docs/layouts/shortcodes/nick.html
/usr/share/doc/rclone/docs/layouts/shortcodes/one_off_donations.html
/usr/share/doc/rclone/docs/layouts/shortcodes/provider.html
/usr/share/doc/rclone/docs/layouts/shortcodes/provider_list.html
/usr/share/doc/rclone/docs/layouts/shortcodes/rem.html
/usr/share/doc/rclone/docs/layouts/shortcodes/version.html
/usr/share/doc/rclone/docs/layouts/sitemap.xml
/usr/share/doc/rclone/docs/static
/usr/share/doc/rclone/docs/static/css
/usr/share/doc/rclone/docs/static/css/bootstrap.min.4.4.1.css
/usr/share/doc/rclone/docs/static/css/custom.css
/usr/share/doc/rclone/docs/static/css/font-awesome.min.5.10.2.css
/usr/share/doc/rclone/docs/static/img
/usr/share/doc/rclone/docs/static/img/logo_on_dark__horizontal_color.svg
/usr/share/doc/rclone/docs/static/img/logo_on_light__horizontal_color.svg
/usr/share/doc/rclone/docs/static/img/ncw-bitcoin-address.png
/usr/share/doc/rclone/docs/static/img/nick.svg
/usr/share/doc/rclone/docs/static/img/rclone-32x32.png
/usr/share/doc/rclone/docs/static/js
/usr/share/doc/rclone/docs/static/js/bootstrap.min.4.4.1.js
/usr/share/doc/rclone/docs/static/js/custom.js
/usr/share/doc/rclone/docs/static/js/jquery.min.3.5.1.js
/usr/share/doc/rclone/docs/static/js/popper.min.1.16.0.js
/usr/share/doc/rclone/docs/static/webfonts
/usr/share/doc/rclone/docs/static/webfonts/fa-brands-400.eot
/usr/share/doc/rclone/docs/static/webfonts/fa-brands-400.svg
/usr/share/doc/rclone/docs/static/webfonts/fa-brands-400.ttf
/usr/share/doc/rclone/docs/static/webfonts/fa-brands-400.woff
/usr/share/doc/rclone/docs/static/webfonts/fa-brands-400.woff2
/usr/share/doc/rclone/docs/static/webfonts/fa-regular-400.eot
/usr/share/doc/rclone/docs/static/webfonts/fa-regular-400.svg
/usr/share/doc/rclone/docs/static/webfonts/fa-regular-400.ttf
/usr/share/doc/rclone/docs/static/webfonts/fa-regular-400.woff
/usr/share/doc/rclone/docs/static/webfonts/fa-regular-400.woff2
/usr/share/doc/rclone/docs/static/webfonts/fa-solid-900.eot
/usr/share/doc/rclone/docs/static/webfonts/fa-solid-900.svg
/usr/share/doc/rclone/docs/static/webfonts/fa-solid-900.ttf
/usr/share/doc/rclone/docs/static/webfonts/fa-solid-900.woff
/usr/share/doc/rclone/docs/static/webfonts/fa-solid-900.woff2
/usr/share/licenses/rclone
/usr/share/licenses/rclone/COPYING
/usr/share/man/man1/rclone.1.gz

References

Summary

In this tutorial we learn how to install rclone on CentOS 8 using yum and dnf.