Both CentOS/RHEL and Fedora come with RPMs in their standard repos for the pidgin and libpurple packages. Unfortunately, they are far out of date (Though please note, at least for CentOS, this may not be an issue, as all critical security fixes/vulnerabilities have their patches back-ported to the old build by RedHat). Below are the instructions for building the newest version on your system.
1. Download the latest tarball archive from https://pidgin.im/download/source/ – Click on “Download Now”
2. Save the .tar.bz2 file into /usr/local/src/
3. In a root terminal, perform the following command and install any dependent packages as well:
yum install nss-devel cyrus-sasl-devel tcl-devel ncurses-devel gnutls-devel rpm-build intltool gcc glib2-devel gtk2-devel libgcrypt-devel glibc-devel tk-devel perl-ExtUtils-Embed
Also, you don’t need these tools (or anything with -devel at the end) once you’re done building the Pidgin RPMs, so you may uninstall these packages as an optional step 7 by performing step3 again, except replace “yum install” with “yum remove”, like so: “yum remove nss-devel cyrus-sasl-devel tcl-devel ncurses-devel gnutls-devel rpm-build intltool gcc glib2-devel gtk2-devel libgcrypt-devel glibc-devel tk-devel perl-ExtUtils-Embed”.
4. As an unprivileged user (not root!), perform the following commands:
rpmbuild -tb –nodeps -D ‘_unpackaged_files_terminate_build 0’ pidgin-2.10.7.tar.bz2
5. After a good little wait for all your RPMs to compile, you should see this near the end of the output:
6. As root, again (navigate back to your root console/terminal session), perform the following commands:
yum remove finch finch-* purple-plugin_pack libpurple libpurple-* pidgin pidgin-*
yum –nogpgcheck localinstall pidgin-2.10.7-0.x86_64.rpm libpurple-2.10.7-0.x86_64.rpm
And, optionally, assuming you’ve already built it using our guide, also install the pidgin-otr package:
yum –nogpgcheck localinstall pidgin-otr-4.0.0-*.rpm
You should now have the latest version installed and ready to launch & configure. If you already had your linux distribution’s default version installed, no need to worry about user accounts or other data getting clobbered in the upgrade, as the program and its data are stored quite separately.