How To Install s3cmd on Fedora 34

s3cmd is Tool for accessing Amazon Simple Storage Service

Introduction

In this tutorial we learn how to install s3cmd on Fedora 34.

What is s3cmd

S3cmd lets you copy files from/to Amazon S3 (Simple Storage Service) using a simple to use command line client.

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

Install s3cmd on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install s3cmd

Install s3cmd on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install s3cmd

How To Uninstall s3cmd on Fedora 34

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

sudo dnf remove s3cmd

s3cmd Package Contents on Fedora 34

/usr/bin/s3cmd
/usr/lib/python3.9/site-packages/S3
/usr/lib/python3.9/site-packages/S3/ACL.py
/usr/lib/python3.9/site-packages/S3/AccessLog.py
/usr/lib/python3.9/site-packages/S3/BidirMap.py
/usr/lib/python3.9/site-packages/S3/CloudFront.py
/usr/lib/python3.9/site-packages/S3/Config.py
/usr/lib/python3.9/site-packages/S3/ConnMan.py
/usr/lib/python3.9/site-packages/S3/Crypto.py
/usr/lib/python3.9/site-packages/S3/Custom_httplib27.py
/usr/lib/python3.9/site-packages/S3/Custom_httplib3x.py
/usr/lib/python3.9/site-packages/S3/Exceptions.py
/usr/lib/python3.9/site-packages/S3/ExitCodes.py
/usr/lib/python3.9/site-packages/S3/FileDict.py
/usr/lib/python3.9/site-packages/S3/FileLists.py
/usr/lib/python3.9/site-packages/S3/HashCache.py
/usr/lib/python3.9/site-packages/S3/MultiPart.py
/usr/lib/python3.9/site-packages/S3/PkgInfo.py
/usr/lib/python3.9/site-packages/S3/Progress.py
/usr/lib/python3.9/site-packages/S3/S3.py
/usr/lib/python3.9/site-packages/S3/S3Uri.py
/usr/lib/python3.9/site-packages/S3/SortedDict.py
/usr/lib/python3.9/site-packages/S3/Utils.py
/usr/lib/python3.9/site-packages/S3/__init__.py
/usr/lib/python3.9/site-packages/S3/__pycache__
/usr/lib/python3.9/site-packages/S3/__pycache__/ACL.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/ACL.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/AccessLog.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/AccessLog.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/BidirMap.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/BidirMap.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/CloudFront.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/CloudFront.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Config.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/ConnMan.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/ConnMan.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Crypto.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Crypto.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Custom_httplib27.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Custom_httplib27.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Custom_httplib3x.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Custom_httplib3x.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Exceptions.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Exceptions.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/ExitCodes.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/ExitCodes.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/FileDict.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/FileDict.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/FileLists.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/FileLists.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/HashCache.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/HashCache.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/MultiPart.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/MultiPart.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/PkgInfo.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/PkgInfo.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Progress.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Progress.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/S3.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/S3.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/S3Uri.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/S3Uri.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/SortedDict.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/SortedDict.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Utils.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/Utils.cpython-39.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/S3/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/s3cmd-2.1.0-py3.9.egg-info
/usr/lib/python3.9/site-packages/s3cmd-2.1.0-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/s3cmd-2.1.0-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/s3cmd-2.1.0-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/s3cmd-2.1.0-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/s3cmd-2.1.0-py3.9.egg-info/top_level.txt
/usr/share/doc/s3cmd
/usr/share/doc/s3cmd/NEWS
/usr/share/doc/s3cmd/README.md
/usr/share/licenses/s3cmd
/usr/share/licenses/s3cmd/LICENSE
/usr/share/man/man1/s3cmd.1.gz

References

Summary

In this tutorial we learn how to install s3cmd on Fedora 34 using yum and dnf.