Building and Installing gexiv2
To build the current version of gexiv2, you will first need to install libexiv2 version 0.21 or better, including the header files and other files needed for building programs that use this library. Both Ubuntu 11.04 Natty Narwhal (or later) and Fedora 15 (or later) contain sufficiently recent versions in their repositories. On Ubuntu, you can run this command:
$ sudo apt-get install libexiv2-dev
Alternatively, you can download the latest exiv2 source from http://www.exiv2.org/download.html and build exiv2 yourself.
There are two ways to get the gexiv2 source code:
Download a source tarball of the latest stable release series: gexiv2
- For the latest code, check out the source from our Git server:
$ git clone https://gitlab.gnome.org/GNOME/gexiv2
Note that in order to build from trunk, you’ll need to update your exiv2 installation to version 0.21 or later.
To build, run the following commands:
$ ./configure --enable-introspection $ make $ sudo make install
When building from git, you need to run autogen.sh to generate the configure script. Then proceed as above. Or, since 0.10.7, you can use Meson to build GExiv2:
$ meson build $ ninja -C build $ sudo ninja -C build install