Sure, there are some posts on the Ubuntu Forums with links on how to install a deb package of Pidgin from some untrusted repository. Personally, I’m not too thrilled about using a package that hasn’t gone through the community process of being added to Ubuntu. So I have two goals:
- Install Pidgin
- Show you how to install something from source
Don’t be afraid by that last point–a few months ago I was too, but there is no reason to be afraid, because in 7 commands/15 minutes you are going to have Pidgin on your system.
Get the dependencies:
Compiling from source does not get all the dependencies like apt-get does, but luckily I will tell you. From the command line type:
sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev
Additionally, if you want spell checking, include libgtkspell-dev in that list.
Get the source:
In my case 2.0.1 was the latest code, so check out the download page just to make sure. If there is a newer version, download that source version and skip this step:
wget http://easynews.dl.sourceforge.net/sourceforge/pidgin/pidgin-2.0.1.tar.bz2
Now unpack it:
tar xvfj pidgin-2.0.1.tar.bz2 cd pidgin-2.0.1
Configure and Install
Now the part that will take a few minutes between each command.
./configure make sudo make install
Congrats
You installed the latest IM client! Now, you have to remember that it is your responsibility to reinstall anytime a newer version comes out, apt-get will not do it for you. So do this until Ubuntu backports Pidgin or until you upgrade to Gutsy Gibbon.
Troubleshooting:
If you you get an error message like:
configure: error: You must have the GTK+ 2.0 development headers installed to compile Pidgin. If you only want to build Finch then specify --disable-gtkui when running configure.
then make sure you installed the dependencies:
sudo apt-get install libgtk2.0-dev
Or if you get:
configure: error: You must have libxml2 >= 2.6.0 development headers installed to build.
Same thing, install the dependencies:
sudo apt-get install libxml2-dev
Thanks to amosharper for catching this one:
configure: error: The msgfmt command is required to build libpurple. If it is installed on your system, ensure that it is in your path. If it is not, install GNU gettext to continue.
Again, install the dependencies:
sudo apt-get install gettext
Additionally, if you are getting a warning at the end of configuration that MSN and Google will not work, or if they simple do not work, make sure you have the last two dependencies:
SSL Library/Libraries......... : None (MSN and Google Talk will not work without SSL!)
Again, install the dependencies:
sudo apt-get install libnss-dev libnspr-dev
Do you want spell checking? If so, you should install libgtkspell-dev with apt-get, then rerun the configure/make/sudo make install.

June 5th, 2007 at 1:20 am
Thanks for the guide. Pidgin installed fine, but will not connect to MSN. When trying to connect to MSN I get this message:
“SSL support is needed for MSN. Please install a supported SSL library.”
Any ideas? I’m on a Dell Inspiron running Fiesty.
June 6th, 2007 at 12:30 am
Thanks mate. Your libxm advice saved me. And thanyou google, for finding it for me
June 6th, 2007 at 6:41 am
Thanks for this. Worked perfectly (had to install gettext by using “sudo apt-get install gettext”) and now have Pidgin, with smooth graphics and all. Thanks again.
June 6th, 2007 at 9:33 pm
Why not use sudo checkinstall instead of a make install? That way you can more easily blow the old package away and update to l8est gr8est version, should you so desire.
June 8th, 2007 at 6:51 am
I’m quite new to the world of Linux/Ubuntu and have installed Pidgin using your very helpful guide… however, I can’t seem to find the program now that I’ve installed it… it’s not in my applications menu. Any help on where I can find it?
Thanks again for the guide, very informative and easy to use…
June 8th, 2007 at 7:36 am
foobar: I must admit that I haven’t used checkinstall before, but I definitely will from now on.
antonio: An icon appeared in my Ubuntu Applications menu under “Internet”, labeled “Pidgin Instant Messanger.”
But if it is not there you should be able to run it from the command line, using:
pidgin
If that does not work, I bet it did not install properly, so I would run through the steps one more time and make sure you don’t get any errors–if you do get an error, post it and we can try to figure it out.
June 8th, 2007 at 3:51 pm
Using dapper I had to apt-get “intltool” before ./configure worked. My installed “intltool-debian” didn’t have a dependancy needed.
June 9th, 2007 at 12:34 am
Thanks a lot for the instructions. They worked like a charm. I also didn’t get Pidgin to show up in the Applications menu, but no worries.
June 9th, 2007 at 1:12 am
can anyone please help i am getting this error
checking for XML::Parser… configure: error: XML::Parser perl module is required for intltool
June 9th, 2007 at 7:25 am
As a newbie from the ‘other op sys’, I find this guide the best of the lot. Thanks for all your help.
June 9th, 2007 at 9:58 pm
after installing, it left a folder called “pidgin-2.0.1″ in my home folder. would it be okay to delete it or did i do something wrong? i don’t really want a stray folder sitting there as it looks out of place and all and i’m pretty sure it shouldn’t be there anyway. i would try to hide it but i don’t know if it would cause a conflict with the program or something.
June 10th, 2007 at 5:43 pm
Installing without checkinstall, as you suggest, often causes problems in the long run because you’re bypassing the package manager. It’s far safer to just download the .deb from getdeb.net.
http://www.getdeb.net/release.php?id=955
June 11th, 2007 at 4:52 am
Loner I am getting the same problem, does anyone have a fix?
June 11th, 2007 at 7:51 am
got the solution with xmlparser thingy u need to goto package manager and install xmlparser package or somethin like that i dont exactly remember but yes its was some package named like xmlparser
June 11th, 2007 at 1:50 pm
XML::parser problem is resolved when trough synaptic you install:
libxml-parser-perl
tanks to Loner for the tip
June 11th, 2007 at 11:19 pm
This was really great, a step by step guide on how to install Pidgin. It was very helpful!
June 13th, 2007 at 5:42 am
[...] Si prefieres instalarlo a mano, te recomiendo que sigas el tutorial de jhcore. [...]
June 14th, 2007 at 2:50 pm
Thanks my friend! Spot on….
June 15th, 2007 at 3:15 pm
make command does not work in ubuntu, anyone who why?
June 15th, 2007 at 3:16 pm
make command does not work in ubuntu, any reason why? anyone know?
June 15th, 2007 at 8:28 pm
You have to install the “build-essential” package first.
June 16th, 2007 at 9:11 am
Hi,
What is What? Says:
you must configure pidgin with this:
“./configure –enable-gnutls=yes “
June 16th, 2007 at 4:03 pm
Hi,
Thanks a lot.
- Lahiru.
June 18th, 2007 at 4:49 pm
Thanks a bunch! Worked like a charm. Linux noob here, just trying to learn!
June 18th, 2007 at 7:25 pm
I tried this but using checkinstall instead of make install. I do get this error when checkinstall tries to install the package that it has done.
Unpacking pidgin (from pidgin_2.0.2-1_i386.deb) …
dpkg: error processing pidgin_2.0.2-1_i386.deb (–install):
trying to overwrite `/usr/bin/strip’, which is also in package binutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
pidgin_2.0.2-1_i386.deb
Do you have any idea of what i have to do ?
If i do use make install instead fo checkinstall, how can i then uninstall pidgin?
June 19th, 2007 at 6:54 am
http://www.getdeb.net/app.php?name=Pidgin
2.0.2 .deb files for an easy install. Install pidgin-data first
June 19th, 2007 at 10:34 am
Wish I hadn’t posted that last comment because that .deb doesn’t have SSL support compiled in by the look of it. I had to install manually once I’d figured out all the dependencies and found the –enable-gnutls=yes flag to use with ./configure
This will allow you to use MSN and Google Talk.
June 20th, 2007 at 8:08 pm
Hello! Good Site! Thanks you!
June 22nd, 2007 at 2:25 am
sudo apt-get install libxml-parser-perl
will help with the XML::Parser problem on Kubuntu install.
June 22nd, 2007 at 1:08 pm
Pidgin seems to have installed to my home folder instead of usr/lib/bin; is this normal? Can i just drag it into usr/lib/bin, and how, if not, do I get it to appear in Applications > Internet?
Do I need to uninstall GAIM now?
so many questions!
June 23rd, 2007 at 2:50 am
GThread-ERROR **: file gthread-posix.c: line 140 (): error ‘Function not implemented’ during ‘pthread_getschedparam (pthread_self(), &policy, &sched)’
aborting…
忽略 (core dumped)
June 24th, 2007 at 12:53 pm
I compiled it and it worked, but without sound. So I searched at the Pidgin forum and find this:
”
Pidgin uses gstreamer to play sounds. Playing sounds directly through esound or arts is no longer supported. To compile Pidgin with support for gstreamer you need libgstreamer0.10-dev and its dependencies. These packages are named differently on different platforms.
”
So, I downloaded it (On Ubuntu 6.06 it’s called libgstreamer0.10-dev), installed it and compiled it again and now sound works… Wonderful.
July 1st, 2007 at 5:42 am
Thank you for the guide! I installed Pidgin 2.0.2, folowing these steps and everything works perfectly. I only have one problem: There is no Pidgin icon in “Internet” menu. How can I add it manually?
July 1st, 2007 at 6:15 am
Nevermind that. It just appeared there, now everything is ok. Thanks again!
July 5th, 2007 at 12:55 am
I installed this on Kubuntu 7.04, following the guide to a T. It went through fine apart from the fact that I had to install the XML Perl parser. After that everything worked fine, but I too cannot find the program launcher. I tried running Pidgin from the Konsole to no avail. Any ideas?
July 5th, 2007 at 12:58 am
Edit: Pidgin appeared in the system tray, but none of my buddies are showing up. I logged into Gaim to make sure people were online, and they were. Anyone else having this problem?
July 6th, 2007 at 6:26 am
For those of you using checkinstall, use the following to avoid any Debian package installation errors once checkinstall has finished:
sudo checkinstall –exclude=/etc/gconf,/usr/bin,/usr/lib
July 8th, 2007 at 11:10 pm
so how do you uninstall if you want to?
July 9th, 2007 at 11:19 am
Thanks. Very helpful.
Gracias.
July 10th, 2007 at 11:23 pm
yes but how do you uninstall if you want to?
July 11th, 2007 at 12:17 am
Worked flawlessly, Thanx!
July 11th, 2007 at 4:26 am
To uninstall easily, make sure you have used the checkinstall method to install Pidgin.
You can then just uninstall by running the following:
sudo apt-get remove pidgin
If you installed manually using make install then you’re out of luck. You’ll have to manually remove all files.
July 12th, 2007 at 4:04 pm
the only that works for real…
Thanks
July 14th, 2007 at 8:48 pm
Using checkinstall I got the following error:
Unpacking pidgin (from …/pidgin_2.0.2-1_i386.deb) …
dpkg: error processing /home/ksc/pidgin-2.0.2/pidgin_2.0.2-1_i386.deb (–install):
trying to overwrite `/usr/bin/ld’, which is also in package binutils
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/home/ksc/pidgin-2.0.2/pidgin_2.0.2-1_i386.deb
—
Any suggestions? Thanks!
July 14th, 2007 at 8:53 pm
Ah, I saw #37s comment and that solved the problem! Sorry for the previous post. Thanks!
July 15th, 2007 at 7:48 pm
I’m not able to get this working with checkinstall. I’m on Feisty; checkinstall and build-essential present. I followed this guide straight no problems until I got to make install. I tried checkinstall and checkinstall –exclude=/etc/gconf,/usr/bin,/usr/lib but no dice. Output:
Installing with –exclude=/etc/gconf,/usr/bin,/usr/lib…
========================= Installation results ===========================
/var/tmp/PrAkWbKfYVFLTLgqGjgUP/installscript.sh: 4: –exclude=/etc/gconf,/usr/bin,/usr/lib: not found
**** Installation failed. Aborting package creation.
Cleaning up…OK
Bye.
Can anyone help me out? I’ve got Pidgin in WinXPSP2 but not on Linux…lame.
July 15th, 2007 at 10:37 pm
Thanks for your tip, it worked like a charm. I just had make sure it was two hyphens before “exclude”. I also don’t have a shortcut but I don’t mind. Thanks for the help and great guide!
July 16th, 2007 at 8:51 am
I got
configure: error:
You must have the GLib 2.0 development headers installed to build.
How to fix this,plz thanks
July 16th, 2007 at 2:26 pm
I got it, thz for your tip
July 25th, 2007 at 3:01 pm
Just used it on a Dapper 6.06 install to upgrade 2.0.1 to 2.0.2. Worked even got spell check installed this time. Thanks. Lou.
July 26th, 2007 at 9:33 am
Thanks very much. I’m an ubuntu newbie and this howto has been very usefull to me!
August 2nd, 2007 at 6:50 pm
I installed pidgin per the above process but now I need to remove it and I have not been able to. I get an error msg: Reading package lists… Done
Building dependency tree
Reading state information… Done
Package pidgin is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I have removed the dependencies but the program still runs. Please help
August 3rd, 2007 at 12:27 am
Thanks for the list of dependencies! It saved my time with libnss-dev libnspr-dev as SSL libraries!!
Anyway, I would recommend using checkinstall instead of make & make install, this will compile and install .deb package so application will be available for removal from the apt database.
To use it, first install checkinstall with “apt-get install checkinstall”, do “./configure” and then just type “checkinstall”, it will ask few simple questions and then compile and install .deb for you
August 3rd, 2007 at 12:30 am
Btw, Paul, you haven’t compiled .deb so you won’t be able to remove the package this way. To remove it, go to the source directory and type “make uninstall”; this will remove the application.
One more time, installing with make && make install is a dirty way, use checkinstall in the future as I described in previous post.
August 6th, 2007 at 10:08 am
Very helpful and accurate instructions. Worked like a charm on the first try. Thanks for taking the time to document and share.
August 10th, 2007 at 8:53 am
Regards,
Nice manual, Intalling pidgin 2.1.0 y got this error during ./configure:
checking for perl… /usr/bin/perl
checking for XML::Parser… configure: error: XML::Parser perl module is required for intltool
I fixed it with:
sudo apt-get install libxml-parser-perl
Maybe it’s a new dependency.
It would be nice if you update the guide.
Thanks,
SM
August 10th, 2007 at 2:26 pm
I tried the following on debian etch (not ubuntu) and it didn’t error, but I can’t find pidgin or finch (I only want finch, its not a graphical box) binaries anywhere on the drive (even using locate). At the end of the configure script it told me that it would install to /usr/local/bin, but that is empty. All I have now is a /usr/local/share/applications/pidgin.desktop. Does anyone have any idea how I can run finch from this?
tar -xjf pidgin-2.1.0.tar.bz2
cd pidgin-2.1.0/
sudo apt-get install libxml-parser-perl gettext libglib2.0-dev libxml2-dev libnss3-dev libnspr4-dev
./configure –disable-gtkui
make
sudo make install
August 14th, 2007 at 1:48 pm
Che qualcuno metta 2 trattini su exclude al commento 37!
Non facciamo impazzire i novizi, please…
August 16th, 2007 at 10:00 pm
Hey George, have you made sure that after you run “./configure -disable-gtkui” you get :
Build GTK+ 2.x UI…………. : no
Build console UI………….. : yes
If you don’t, then you probably don’t have the ncurses dev libraries installed.
August 19th, 2007 at 11:34 pm
This guide worked great for me! Thanks John…
August 21st, 2007 at 9:15 pm
thanks for the instructions, it took a long time to compile, about 10 minutes on my old P3 laptop, but I finally got it working. not bad for a n00b.
August 25th, 2007 at 9:44 am
Hey! Thx for the help, works perfekt!
August 27th, 2007 at 11:44 am
to install dependencies for pidgin (since it’s essentially gaim renamed, they’re no different from gaim-2.0), you can do ‘apt-get build-dep gaim’ - same applies for other things you may like to build from source in the future.
September 3rd, 2007 at 11:38 am
Further to faxpaul’s comment:
I use aptitude rather than apt-get and “aptitude build-dep gaim” doesn’t do anything. You actually have to use “apt-get build-dep gaim” to install the GAIM/Pidgin dependencies.
September 5th, 2007 at 9:43 am
u RULE! very nice!
September 14th, 2007 at 4:24 pm
[...] Si prefieres instalarlo a mano, te recomiendo que sigas el tutorial de jhcore. [...]
September 14th, 2007 at 5:02 pm
For those who are facing problems with checkinstall trying to overwrite files in /usr/bin (eg./usr/bin/ld), here’s a quick fix for it:
1) Run checkinstall with the –inspect option (ie. checkinstall –inspect -D)
2) Upon successful compilation, checkinstall will prompt if you would like to review the files to be included in the pacakage. Choose “Yes”
3) Vi will be started and you will see a list of files which will be included in the package. Remove all the lines that do not contain the word “Purple” or “Pidgin”
**To delete lines in Vi, press the “d” key twice. To delete multiple lines (eg. 5 lines), type “5dd”. **
4) Once that is done, all the necessary pidgin files will be included only and the creation and installation of the .deb file should be 100% successful.
Hope this helps.
September 16th, 2007 at 12:00 am
[...] Setelah extract, langsung configure…. hiks.. error… semangat langsung drop, ndak seperti dulu waktu “masih muda” biasa mainan instalasi dari source code hehee… Akhirnya cari bala bantuan kang Google. Alhamdulillah dapat. [...]
September 19th, 2007 at 8:08 am
Thank you for this tutorial. It was really useful for me.
September 20th, 2007 at 1:40 am
Worked like a charm! Thanks a bunch. I basically installed every package you mentioned even before I attempted to configure. No problems at all.
September 22nd, 2007 at 5:31 pm
Thank you so much, I have got it installed and working fine.
Pidgin : 2.2.0
Ubuntu 7.04
I am not getting an icon on the Internet menu, but it’s okay
September 24th, 2007 at 12:44 am
[...] some reason, the .bz2 file threw me for a loop. Then I found these easy step-by-step directions. Problem [...]
September 28th, 2007 at 7:21 am
Thanks for the guide. Pidgin installed fine, everything works excellent!
cheers
September 30th, 2007 at 11:32 pm
Thanks for this guide, it worked perfect; I installed the pidgin 2.2.1 version. Although, I’m new on ubuntu and I would like to ask you how do you come to know which dependencies does a programme needs in order to be installed. I read the INSTALL (usually celled the README) file in the source folder and I did not find anything about it.
Thanks again.
October 10th, 2007 at 12:27 am
For those having problems in the “sudo checkinstall -exclude=/etc/gconf,/usr/bin,/usr/lib” Step and getting this:
Installing with –exclude=/etc/gconf,/usr/bin,/usr/lib…
========================= Installation results ===========================
/var/tmp/PrAkWbKfYVFLTLgqGjgUP/installscript.sh: 4: –exclude=/etc/gconf,/usr/bin,/usr/lib: not found
**** Installation failed. Aborting package creation.
Cleaning up…OK
Bye.
The solution is simple, delete the symbol before the “exclude” and change it for - (line) you see, when you copy and paste, it paste it as a different type of line the program doesnt understand. must use the “minus” line
October 23rd, 2007 at 4:47 pm
Thanks!! Worked like a charm! You’re the greatest!
October 28th, 2007 at 2:54 am
Is there a way to remove pidgin after installing through source if I need to?
Thanks.
October 28th, 2007 at 7:43 am
thanks…it worked finefor me
October 30th, 2007 at 12:54 pm
You can install Pidgin using apt if you add this to your apt sources: http://repository.debuntu.org/
I used it and it’s fine.
November 4th, 2007 at 1:43 am
3x for your guide!
December 10th, 2007 at 5:44 pm
I can not get GAIM, Pidgin or the GAIM based Scatterchat to load after building them from source sucessfully and installing them correctly.
I get a terminal error regarding libgtk-x11 having an undefined symbol.
They try to load, they crash.
December 24th, 2007 at 4:19 am
my own simple guide to compile pidgin 2.3.1 for Ubuntu feisty
1. remove your old pigdin
2. make sure you have all the DEV library, open Synaptic Package Manager and look for…
libgtk2.0-dev
libxml2-dev
gettext
libnss-dev
libnspr-dev
libgnutls-dev
libgstreamer0.10-dev
or open terminal, type…
sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev
3. download pidgin source, extract to your home folder, example “/home/username/pidgin-2.3.1″
4. open terminal, type/paste (change to source folder)
cd pidgin-2.3.1/
5. in terminal, type…
./configure –enable-gnutls=yes
make
sudo checkinstall -exclude=/etc/gconf,/usr/bin/strip,/usr/bin/nm,/usr/bin/gcc,/usr/bin/ld,/usr/lib/gcc,/usr/lib/libgconf2-4
the checkinstall command is longer because this will bypass/fix some “trying to overwrite…” errors,
this guide will also create single pidgin DEB file for you to reinstall later, good luck
December 24th, 2007 at 4:23 am
path need to exclude in checkinstall
/etc/gconf,
/usr/bin/strip,
/usr/bin/nm,
/usr/bin/gcc,
/usr/bin/ld,
/usr/lib/gcc,
/usr/lib/libgconf2-4
January 23rd, 2008 at 12:31 pm
I don’t know why when I type :
“sudo apt-get install libgtk2.0-dev libxml2-dev gettext libnss-dev libnspr-dev”
i see:
Reading package lists… Done
Building dependency tree
Reading state information… Done
libgtk2.0-dev is already the newest version.
libxml2-dev is already the newest version.
gettext is already the newest version.
E: Couldn’t find package libnss-dev
please help me
February 2nd, 2008 at 2:43 pm
thanx!
March 2nd, 2008 at 4:36 pm
I have the same problem with
=====================================
E: Couldn’t find package libnss-dev
=====================================
I’m using Ubuntu 7.10
March 2nd, 2008 at 4:37 pm
he he
problem solved:
sudo aptitude install libnss-dev
March 4th, 2008 at 8:41 pm
awesome tutorial. works great. i’m new to linux so this was great. how do you run pidgin.( i know i sound like an idiot asking this)
April 6th, 2008 at 10:23 pm
thank you very much !, i need install gettext and …, you haved save me, thank !
April 15th, 2008 at 6:08 am
Excellent instructions! Thank you very much.
April 15th, 2008 at 1:16 pm
Didn’t installed…
“Couldn’t find any package whose name or description matched “libnss-dev”"
April 17th, 2008 at 9:23 am
You ROCK!!!! These were great, simple instructions for a simple-minded newbie like me.