How To Install megatools on CentOS 7

In this tutorial we learn how to install megatools on CentOS 7. megatools is Command line client for MEGA

Introduction

In this tutorial we learn how to install megatools on CentOS 7.

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 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install megatools.

Install megatools on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install megatools

Install megatools on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install megatools

How To Uninstall megatools on CentOS 7

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

sudo dnf remove megatools

References

Summary

In this tutorial we learn how to install megatools on CentOS 7 using yum and dnf.