gMTP Installation

Binary Packages

A number of Linux distributions and FreeBSD already include gMTP in their software repository

Oracle Solaris 10
Download SYSV package as listed below, gunzip it and use 'pkgadd -d gMTP-1.3.6-i386.pkg' to install.
FreeBSD
gMTP is available in the ports collection at audio/gmtp.
Debian GNU/Linux
gMTP is available from wheezy (7.x), jessie (8.x) and sid. Use 'apt-get' to install.
Ubuntu
gMTP is available in the universe package lists. Use 'apt-get' to install.
Arch Linux
gMTP is available in the main community repository. Use 'pacman -S gmtp' to install.
Gentoo Linux
gMTP is available in the main repository. Use 'emerge gmtp' to install.
The Chakra Project
gMTP is available in the CCR. See: http://chakra-project.org/ccr/packages.php?ID=1893
Calculate Linux
gMTP is available in the main repository. Use 'emerge gmtp' to install.
Slackware
The Slackbuilds.org repository hosts the required package information here or alternatively, a private Slackware 14 x86_64 package has been built and available here
OpenSUSE
gMTP is available in the main repository from v12.2 onwards. Use yum/zypper to install.
Fedora
gMTP is available in the main repository from Fedora 19 onwards. Use yum into install.

Current Release

gMTP Source: gMTP-1.3.11.tar.gz

Previous Releases

All previous releases are available from gMTP Downloads on Sourceforge

git Repository

Anonymous read-only access is available via:

$ git clone http://git.code.sf.net/p/gmtp/code gmtp-code

or via web: https://sourceforge.net/p/gmtp/code/

Please be aware that the git version may be horribly broken or may not even compile, and I would always recommend the latest stable release for general use.

CVS Repository - Deprecated!

The CVS repository was retired with v1.3.4. Unfortunately, no history was transferred into the git repository, so the CVS is left for historical purposes.

Anonymous read-only access is available via:

$ cvs -z3 -d:pserver:anonymous@gmtp.cvs.sourceforge.net:/cvsroot/gmtp checkout -P Hellfire/gMTP

or via web: http://gmtp.cvs.sourceforge.net/viewvc/gmtp/

Please be aware that the CVS version may be horribly broken or may not even compile, and I would always recommend the latest stable release for general use.

Patches/Updates

Patches and updates are always welcome. Please submit patches/updates as a either a git pull request, a patch file, a personal email or submit as attachment to a bug report. Please use email form to request an email address to send patches/file through if sending via email attachment.

Installation (Source)

These instructions are from a Oracle Solaris 10 perspective. You may need to adjust some commands to accommodate your respective Operating System.

libmtp

Download the libmtp source code, unpack and run:

$ CFLAGS="-I/usr/sfw/lib -L/usr/sfw/lib -R/usr/sfw/lib" INSTALL=/usr/ucb/install MAKE=gmake ./configure
$ gmake
# gmake install

Note: If you don't have a libusb.pc file (configure may complain about libusb being missing on Solaris 10/11), then you can use this one. Copy to /usr/lib/pkgconfig/libusb.pc.

Once installed, test the mtp package by connecting your MP3 player, and run mtp-detect from a terminal prompt. If all is well, you should see your device details scroll across the screen.

libid3tag

Download the libid3tag source code, unpack and run:

$ INSTALL=/usr/ucb/install MAKE=gmake ./configure
$ gmake
# gmake install

Copy id3tag.pc to /usr/local/lib/pkgconfig/id3tag.pc

libflac

Download the FLAC source code, unpack and run:

$ INSTALL=/usr/ucb/install MAKE=gmake ./configure
$ gmake
# gmake install

gMTP

Download and unpack the source code. Run ./configure. The configure script will automatically select GTK+ 3 if found, otherwise will fall back to using GTK+ 2. To override the, use --with-gtk3 to force GTK+3 or use --with-gtk2 to force using GTK+ 2.

Build from source code

$ ./configure
$ make
# make install

Then run

$ gmtp

to start the application. # make install should add the desktop shortcut and setup the gconf/gsettings configuration correctly.

Note: For Solaris 10, it is recommended that Solaris Studio C compiler be used to build gMTP. Therefore it is recommended that the environment variable CC be set to cc. e.g. $./configure CC=cc is used to build gMTP.