On Sat, 2005-03-26 at 11:51, Frederick C.Lee wrote: You installed a source rpm. That is not an actual package one can install and use the software right off it. This would have been a ppc.rpm file. You must compile it first then install and use.
The easiest way is to use rpmbuild: (yum can install it if not already installed) Since you'll need write privileges in /usr/src/yellowdog/* tree do this as root: #] rpmbuild --rebuild qgis-0.6.0-0.src.rpm [ENTER] This will compile the source and create ppc.rpm files(s) in /usr/rsc/yellowdog/RPMS/ppc/ which you will install like you did with step 3) > Greetings: > I have a rpm package that I had downloaded. I followed the "Red > Hat Linux for Dummies" (being that YDL is a RHL derivative) > instructions for installing a RPM. All I got was the .gz file as the > result. > > > 1) Locate the rpm package to install: > [EMAIL PROTECTED] ric]$ ls > Apple Desktop qgis-0.6.0-0.src.rpm > > 2) Check the status of any previous target rpm installation: > [EMAIL PROTECTED] ric]$ rpm -qls qgis* > package qgis-0.6.0-0.src.rpm is not installed > > 3) Install the package per instruction: > [EMAIL PROTECTED] ric]$ rpm -ivh qgis* > error: cannot write to %sourcedir /usr/src/yellowdog/SOURCES > > 3a) It failed. Okay, via Super User. > [EMAIL PROTECTED] ric]$ su > Password: > [EMAIL PROTECTED] ric]# ls /usr/src/yellowdog/SOURCES > qgis-0.6.0.tar.gz > [EMAIL PROTECTED] ric]# rpm -ivh qgis* > 1:qgis ########################################### > [100%] > > > 4) I appeared to have installed very quickly (a second or two). Did it > REALLY INSTALL? > Query to check: > [EMAIL PROTECTED] ric]# rpm -qi qgis* > package qgis-0.6.0-0.src.rpm is not installed > > 5) That's odd. Check yellowdog sources: > [EMAIL PROTECTED] ric]# ls /usr/src/yellowdog/SOURCES > qgis-0.6.0.tar.gz > [EMAIL PROTECTED] ric]# > > ------------ > > Okay. > So, all I got was the .gz package. And it didn't unpack or de-archive. > Now what do I do? > > How do I check for a de-archiving routine? Or is it necessary? > Since all the other Red Hat RPM packages have > already been installed and hence, probably de-archived as well. > > So what's missing? > > Regards, > Ric. > > _______________________________________________ > yellowdog-newbie mailing list > [email protected] > http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie _______________________________________________ yellowdog-newbie mailing list [email protected] http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie
