How To Install megatools on Fedora 34

megatools is Command line client for MEGA

Introduction

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

What is megatools

Megatools is a collection of programs for accessing Mega service from a command line of your desktop or server. Megatools allow you to copy individual files as well as entire directory trees to and from the cloud. You can also perform streaming downloads for example to preview videos and audio files, without needing to download the entire file. You can register an account using a “megareg” tool, with the benefit of having true control of your encryption keys. Megatools are robust and optimized for fast operation - as fast as Mega servers allow. Memory requirements and CPU utilization are kept at minimum.

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

Install megatools 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 megatools using dnf by running the following command:

sudo dnf -y install megatools

Install megatools 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 megatools using yum by running the following command:

sudo yum -y install megatools

How To Uninstall megatools on Fedora 34

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

sudo dnf remove megatools

megatools Package Contents on Fedora 34

/usr/bin/megacopy
/usr/bin/megadf
/usr/bin/megadl
/usr/bin/megaexport
/usr/bin/megaget
/usr/bin/megals
/usr/bin/megamkdir
/usr/bin/megaput
/usr/bin/megareg
/usr/bin/megarm
/usr/bin/megatest
/usr/bin/megatools
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/9a821ee51015540b5e8a9a8f55f3f7780b6c42
/usr/share/doc/megatools
/usr/share/doc/megatools/LICENSE
/usr/share/doc/megatools/NEWS
/usr/share/doc/megatools/README
/usr/share/doc/megatools/TODO
/usr/share/licenses/megatools
/usr/share/licenses/megatools/LICENSE
/usr/share/man/man1/megatools-copy.1.gz
/usr/share/man/man1/megatools-df.1.gz
/usr/share/man/man1/megatools-dl.1.gz
/usr/share/man/man1/megatools-export.1.gz
/usr/share/man/man1/megatools-get.1.gz
/usr/share/man/man1/megatools-ls.1.gz
/usr/share/man/man1/megatools-mkdir.1.gz
/usr/share/man/man1/megatools-put.1.gz
/usr/share/man/man1/megatools-reg.1.gz
/usr/share/man/man1/megatools-rm.1.gz
/usr/share/man/man1/megatools-test.1.gz
/usr/share/man/man1/megatools.1.gz
/usr/share/man/man5/megarc.5.gz

References

Summary

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