|
MoreWaysToGetMaatkit
Alternative ways to get Maatkit
IntroductionEach release has several flavors of files:
But there are many other ways to get Maatkit. Downloading DirectlyYou don't need to install Maatkit tools to run them. You can just download them and run them with no further ado. You can get the latest release of any tool without the need to get the whole kit: wget http://www.maatkit.org/get/toolname Where "toolname" is the name, or fragment thereof, of any tool such as mk-table-checksum. You can also get the latest committed SVN code in a similar way: wget http://www.maatkit.org/trunk/toolname From Your OS DistributionA lot of OSes are including Maatkit these days. It's part of the standard MySQL client install on Debian, for example; and it's included in many other popular GNU/Linux distributions, as well as FreeBSD and OpenBSD. Of course it might not be the latest release. Alternate Package LocationsThird parties build packages of Maatkit releases and make them available through various places.
If you want another location added to this list, enter a new issue report. Building RPMsMaatkit's source tarball has a .spec file included, which works for many RPM-based distributions. You can also write your own (please contribute it if you do?). To build an RPM from a source tarball using the included .spec file, just run rpmbuild -ta maatkit-123.tar.gz To build an RPM with your own spec file, you need to copy the spec file into the RPM SPECS directory, and a maatkit source tarball into the RPM SOURCES directory. Then you run rpmbuild -ba --clean maatkit.spec And it should perform the building and packaging. Unfortunately the resulting RPM is again distro-specific (particularly because of the Perl version). (Thanks to LenZ for these instructions.) There are more spec files in the trunk/spec/ directory in Maatkit's Subversion repository. Using From a USB KeyIt's possible to run Maatkit even without Perl installed. See http://marksitblog.blogspot.com/2009/07/portable-maatkit.html for a tutorial on creating a USB thumb drive that will let you run Maatkit from any computer. |