mmajidi wrote:I think that I finally build the RPM files for mysql50-5.0.91 which should be fine to build php 5.2. Can someone guide me on the steps on how to install the rpm package now.
ls -la /usr/src/yellowdog/RPMS/ppc
total 40316
drwxr-xr-x 2 root root 4096 Jun 9 22:21 .
drwxr-xr-x 9 root root 4096 Mar 11 2008 ..
-rw-r--r-- 1 root root 4717420 Jun 9 22:20 mysql50-5.0.91-1.ius.ppc.rpm
-rw-r--r-- 1 root root 537493 Jun 9 22:21 mysql50-bench-5.0.91-1.ius.ppc.rpm
-rw-r--r-- 1 root root 21841874 Jun 9 22:21 mysql50-debuginfo-5.0.91-1.ius.ppc.rpm
-rw-r--r-- 1 root root 2703617 Jun 9 22:21 mysql50-devel-5.0.91-1.ius.ppc.rpm
-rw-r--r-- 1 root root 11399073 Jun 9 22:21 mysql50-server-5.0.91-1.ius.ppc.rpm
Basically, you open a terminal window, and as root user, use the RPM command to either install or update.
Example first time install from a terminal window:
- Code: Select all
su
rpm -ivh mysql50-5.0.91-1.ius.ppc.rpm
Example update install from a terminal window:
- Code: Select all
su
rpm --upgrade mysql50-5.0.91-1.ius.ppc.rpm
(the su command in the examples is to switch your normal login to root user)
NOTE: RPM will check to see if necessary dependencies are loaded. If you don't have the prerequisites installed, RPM will error out. You would just use RPM to install the dependencies, then try your install again.
Don't forget - you can always use the
man rpm command from a terminal window for built-in help.
Cheers,
Paul