It sound like you are attempting to install the Windows version of
Yahoo Messenger. While Linux has quite good support for some Windows
software through Wine etc. it is by no means universal.
Several have mentionedPigin (spelling?) but my personal favourite is
Kopete, a KDE programme, with (in my limited experience) better cam
support. It's in the repositories and looks good on Gnome.