Normally, sysbench 0.4.12 version can be installed from repositories like “apt-get install sysbench” but the newer version 0.5 is not added in any repo yet (AFAIK) so, it’s bit difficult to install it.
1. Install bzr package if it’s not installed. (i.e apt-get install bzr)
2. Download the code from branch. (i.e bzr branch lp:sysbench) https://code.launchpad.net/~sysbench-developers/sysbench/0.5
root@deb-pxc56-2:~# bzr branch lp:sysbench You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data. See "bzr help launchpad-login". Branched 122 revisions. root@deb-pxc56-2:~#
3. Before you compile code from the branch, you need some of the packages to be installed If they are not.
apt-get install automake apt-get install libtool apt-get install libmysqlclient-dev apt-get …[Read more]