Skip to content

Instantly share code, notes, and snippets.

@nicksantamaria
Created December 29, 2015 23:40
Show Gist options
  • Save nicksantamaria/66726bca586d152a3a01 to your computer and use it in GitHub Desktop.
Save nicksantamaria/66726bca586d152a3a01 to your computer and use it in GitHub Desktop.
Install mydumper / myloader from source on Ubuntu 14.04
# Switch to root user.
sudo su -
# Update apt repositories and install dependencies.
apt-get update
apt-get install libglib2.0-dev libmysqlclient15-dev zlib1g-dev libpcre3-dev libssl-dev cmake
# Download mydumper source and move to appropriate directory.
cd /usr/local/share
wget https://launchpad.net/mydumper/0.9/0.9.1/+download/mydumper-0.9.1.tar.gz
tar -vxxzf mydumper-0.9.1.tar.gz
rm mydumper-0.9.1.tar.gz
mv mydumper-0.9.1 mydumper
cd mydumper
# Compile.
cmake .
make
# Symlink executables to /usr/bin.
ln -s `pwd`/mydumper /usr/bin/mydumper
ln -s `pwd`/myloader /usr/bin/myloader
@jonathanvx
Copy link

I tried it, but I had to google a bit more to make it work with:

sudo apt-get install build-essential -y

@shyam1210
Copy link

Thanks. Worked fine for me

@bachko
Copy link

bachko commented Aug 23, 2016

If someone have troubles compiling - apt-get install build-essential did resolve cxx missing problem for me.

@cornernote
Copy link

@bachko - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment