Gerard Braad

F/OSS & IT Consultant on Openness and Interoperability

You can follow more frequent updates via my Identi.ca profile (feed).

Tuesday, August 25, 2009

Accidently installed i386 packages on x86_64?

If you have a CentOS installation (or Fedora) running as x86_64 architecture, be sure to install your packages with yum using the following command:

$ yum install [packagename].x86_64

This way you will specify the architecture to use. If you do not specify the architecture you might end up installing both the x86_64 and the i386 packages with all it's dependencies.

If you have already done so in error, you can easily query for these packages using the following command:

$ rpm -qa --qf '%{name}.%{ARCH}\n' |grep i386

this command returns all i386 packages. You can pipe it directly into rpm -e or choose to uninstall them by hand.

Sunday, August 23, 2009

FreeSWITCH packages for CentOS 5.3

Recently I built and packaged the 1.0.4 release of FreeSWITCH for CentOS 5.3 as i386 and x86_64. They are hosted on a temporary location http://files.spotsnel.net/freeswitch/. Eventually they will move to a repository for use with yum.

Followers