I think many people are familiar with Mega Cloud Service.
MEGA (a recursive acronym standing for MEGA Encrypted Global Access)[2] is a cloud storage and file hosting service offered by MEGA Limited, a company based in Auckland, New Zealand.[3]
The service is offered through web-based apps. MEGA mobile apps are also available for Android and iOS. MEGA is known for the largest fully featured free cloud storage in the world with 20 GB[4] storage allocation for free accounts.
The website and service was launched on 19 January 2013, by Kim Dotcom, together with chief technical officer, director, and co-founder Mathias Ortmann, chief marketing officer Finn Batato, and Bram van der Kolk.
—— From Wikipedia
Simply put, MEGA is a cloud service and allow we upload or download files share by others.
I want to record how to install a Mega download tool that can be started using command line on my computer: megatools.
Use APT Command to Install (Ubuntu/Debian)
This is a simple method but the download may not be the latest version.
sudo apt-get update
sudo apt-get install megatools
And we can use the following command to download file.
megadl 'URL'
Remember, if you can not download any files, it's probably because the version megatools is not the latest. You can consider using the source code provided by the official website to compile.
Use Source Code to Install
First we go to the official website: https://megatools.megous.com/
We can download the latest version directly.
Go to the download path of the latest version and use the following command to decompress:
tar -zxvf megatools-1.10.3.tar.gz
After unzipping, you should see the folder "megatools-1.10.3" under the current directory.
Before we start the installation, install the relevant packages:
sudo apt-get install \
libtool \
libglib2.0-dev \
gobject-introspection \
libgmp3-dev \
nettle-dev \
asciidoc \
glib-networking \
openssl \
libcurl4-openssl-dev \
libssl-dev
After installing the relevant packages, let's make our megatools.
cd megatools-1.10.3/
./configure make
sudo make install
At this point, our megatools has been installed successfully. The usage is the same as above:
megadl 'URL'
I hope everyone can download the required files smoothly!
References
- https://megatools.megous.com/
- https://github.com/megous/megatools
- https://dotlayer.com/how-to-install-megatools-the-mega-nz-cloud-storage-cli-on-ubuntu/