Wednesday, March 18, 2009

Office 2007 on Fedora 9

yum install wine wine-core wine-tools wine-desktop cabextract

will run dependency check and will probably also download and install wine-jack, wine-capi, wine-nas, wine-ldap, wine-cms, wine-pulseaudio, wine-twain

Install winetricks:

Winetricks is a small SH script which will go on the internet and automatically fetch and install Microsoft DLLs and Libraries into Wine with almost no hassle at all! To download it directly, type the following commands:

wget http://www.kegel.com/wine/winetricks

chmod +x ./winetricks

this will install a whole slew of .dll's and other MS related stuff in your home directory.


Utilize winetricks:

This will setup all necessary libraries and DLLs that Office 2007 will need to run properly:

./winetricks gdiplus riched20 riched30 msxml3 msxml4 msxml6 corefonts tahoma vb6run vcrun6 msi2

Insert Office 2007 Disk and Run Setup!

Now that we have all of the DLLs necessary to run the Installer, let us do so!

wine pathToCD/setup.exe

From here on out, you should be good to go! The installer should run and install everything just as if it was a Windows system!


Tuesday, March 17, 2009

Using PEAR behind a proxy

pear config-set http_proxy http://{username}:{password}@{yourproxy{:{your port}

Thursday, January 29, 2009

Centos5 error

Whenever I install Centos5, I always forget to do two things:
1. edit /etc/yum.conf and include
proxy=http://{ip address of proxy}:{port number}

2. import gpg key
cd /etc/pki/rpm-gpg
rpm --import RPM-GPG-KEY-CentOS-5

This will allow me to run:
yum -y update

without "GPG key retrieval failedL [Errno 4] IOError:

This is a lot easier than added http_proxy to your .bashrc file and exporting, and all the other solutions others guess at on internet forums.