Download
-
Sources
Main download site. This is where you find the source tarballs as well as older releases.
Don't forget to download the driver sources as well.
-
Red Hat, Fedora Core GNU/Linux distributions
libdbi is included with Red Hat and Fedora Core. You can install it off the official CDs or you can download the RPMs from the Internet using your preferred RPM client or FTP server. rpmseek will help to locate the most recent packages. See also the Fedora package database. Remember to install the development packages if you want to build libdbi applications from source.
-
libdbi is included in the official Debian archive. You can use
apt-get install
or your preferred package management tool to install the following packages:libdbi0, libdbd-mysql, libdbd-pgsql, libdbd-sqlite, libdbd-sqlite3
. If you want to build libdbi applications from source, install also thelibdbi0-dev
package. -
Other GNU/Linux distributions
libdbi has also been spotted in other Linux distributions. Among them are Gentoo, ASP Linux, Aurora SPARC Linux, Mandrake/Mandriva, Netwinder, PLD Linux. Use your preferred package management tool to install the packages or ports.
-
libdbi is in FreeBSD's ports tree. To get it, use the following commands:
portsnap fetch update portinstall databases/libdbi
-
libdbi and libdbi-drivers are available as Fink packages.
-
libdbi packages for Solaris 9 and 10, Sparc and i386, both 32 and 64 bit, are available from the OpenCSW software repository.
-
Pre-compiled binaries using the Cygwin platform are available here. As of version 0.8.0 there is one archive which contains libdbi, the mysql, pgsql, and sqlite drivers, all development libraries and headers, as well as the documentation. This archive is not a Cygwin package. It is a simple tarball that you should extract into
/
. All files will be installed in the/usr/local
hierarchy. -
Other Platforms
libdbi does not have external library dependencies (only the drivers require the client library of their respective database engines). It is implemented in plain C. It requires dynamic linking capabilities which are present in most if not all contemporary end-user operating systems. Chances are good that a simple
./configure && make && make install
is all it takes to "port" libdbi to your platform.
If you are a developer looking for the latest bleeding-edge version of libdbi, you can retrieve the libdbi source code from CVS.