Skip to content

Instantly share code, notes, and snippets.

@dapize
Created October 20, 2015 14:43
Show Gist options
  • Save dapize/50a737692a663a955da4 to your computer and use it in GitHub Desktop.
Save dapize/50a737692a663a955da4 to your computer and use it in GitHub Desktop.
Es un pequeño script que instala por completo (osea, con sus dependencias) una utilidad que sirve para descargar enlaces de MEGA desde el terminal.
#!/bin/bash
# Script de instalacion de MegaToolls Por Daniel P Z - https://github.com/megous/megatools
# Ejemplo de uso: megadl 'https://mega.co.nz/#!zZJF3CiZ!zFW3ZyW4tUqIFBEQ1iE9IChv-zqoWSy2vdDMBZwDpGo'
apt-get -y install aptitude
echo "deb http://ftp.us.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
echo "deb-src http://ftp.us.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
aptitude -y update
aptitude -y install libglib2.0-dev libcurl4-openssl-dev libssl-dev
aptitude -y install megatools
clear
echo "Ya esta se instalo megatools!"
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment