Bringing CentOS Linux into MS Network (part 3)


There is no Lync for Linux, but Pidgin supports SIPE (voice and video require system packages update): as super-user, ‘yum install pidgin‘. However, the one that comes with CentOS is quite old and certain components need updating:

A. Update GLib (to min 2.28). Because of Skype,, we need to also build & update the i686 version (GLib is installed as protected in RPM database). Therefore, we’ll use mock for the build.

  • wget
  • yum install gamin-devel libattr-devel systemtap-sdt-devel mock
  • mock –rebuild -r epel-6-i386 /path/to/glib2-2.28.6-2.fc15.src.rpm 
  • mock –rebuild -r epel-6-x86_64 /path/to/glib2-2.28.6-2.fc15.src.rpm
  • yum update /var/lib/mock/epel-6-x86_64/result/glib2-2.28.6-2.el6.x86_64.rpm /var/lib/mock/epel-6-x86_64/result/glib2-devel-2.28.6-2.el6.x86_64.rpm /var/lib/mock/epel-6-i386/result/glib2-2.28.6-2.el6.i686.rpm /var/lib/mock/epel-6-i386/result/glib2-devel-2.28.6-2.el6.i686.rpm  

B. Update LibPurple (to min 2.8) and Pidgin (not mandatory)

  • wget
  • yum install startup-notification-devel cyrus-sasl-devel ncurses-devel tcl-devel tk-devel evolution-data-server-devel NetworkManager-glib-devel libXScrnSaver-devel avahi-glib-devel meanwhile-devel perl\(ExtUtils::Embed\) farsight2-devel libidn-devel
  • cd ~/rpmbuild/SPECS
  • rpmbuild -bb pidgin.spec
  • cd ../RPMS/x86_64
  • yum update libpurple-2.10.4-1.el6.x86_64.rpm libpurple-devel-2.10.4-1.el6.x86_64.rpm libpurple-perl-2.10.4-1.el6.x86_64.rpm libpurple-tcl-2.10.4-1.el6.x86_64.rpm pidgin-2.10.4-1.el6.x86_64.rpm pidgin-devel-2.10.4-1.el6.x86_64.rpm/RPMS/x86_64

C. Install NICE (we need latest version, therefore, installing from source):

  • yum install krb5-devel libcom_err-devel libpurple-devel gtk2-devel xmlsec1-nss-devel nss-devel gstreamer-devel
  • wget
  • ./configure –with-gstreamer-0.10 && make
  • as super-user, ‘make install

D. Install SIPE:

  • Get sources: ‘wget
  • Compile: ‘PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure && make
  • Install: as super-user, ‘make install; cd /usr/lib64/purple-2 -s /usr/local/lib/purple-2/ .’

E. Settings:

  • Chose Office Communicator as protocol
  • Enter your Lync account (username and password), leave login empty.
  • On Advanced tab, de-select single sign-on
  • Select TLS-DSK as protocol
  • Enter UCCAPI/4.0.7577.0 OC/4.0.7577.0 (Microsoft Lync 2010) as User Agent.

F. Spell Check for additional (non-default) languages:

  • Get sources: ‘wget’
  • Get libraries: as root, ‘yum install pidgin-devel enchant-devel gtkspell-devel’
  • Compile: ‘./configure && make
  • Install: as super-user, ‘make install
  • Add Hunspell dictionaries for the desired languages: as super-user, ‘yum install hunspell-bg’ (example for Bulgarian)
  • In Tools -> Plugins activate SwitchSpell
  • In the chat windows, set the desired language from Spell Check menu (separate setting for each user).

Part 4

This entry was posted in Нули и единици. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.