LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2003, 06:39 PM   #1
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Posts: 350

Rep: Reputation: 41
Question redhat 9 rpm of SRPMS not installing?


Maybe I don't understand how rpm works, but here goes.

I am trying to install some sources from the RH9 SRPMS disk #1 (not the install, disk, but the SRPMS disks)

So I type and see:
rpm -ivh /mnt/cdrom/SRPMS/flex-2.5.4a-29.src.rpm
1:flex ###################### [100%]

Sure enough I see stuff like:
/usr/src/redhat/SOURCES/flex-2.5.4a.tar.gz
in the /usr/src/redhat directory.

However, all rpm -q's say this package is still not installed.

What am I doing wrong? Should not this package be in the rpm database?

P.S. when I double-click on the SRPMS rpm file from Nautilus, I get the root password certification prompt, but then the Install Packages agent does not seem to run.

Phil
 
Old 06-29-2003, 09:34 PM   #2
yangkuo
Member
 
Registered: Jun 2003
Distribution: Redhat9/Slackware9
Posts: 35

Rep: Reputation: 15
rpm -ivh <package> installs packages ... so if u have a 'source' package ... it installs sources (not binaries)

to compile to binaries and install it ... u have to do something like :-

rpmbuild --rebuild <source package>
 
Old 06-29-2003, 10:15 PM   #3
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Posts: 350

Original Poster
Rep: Reputation: 41
Right, I do expect to sources, not binaries. I understand that.

It is just that rpm does not seem to store the source package in its database. i.e. after I install them I cannot erase them or whatever, as the package is not in the rpm database. Also I would expect that the tar.gz files would be untar'ed.

Since I am new (to linux, I am an old HP-UX hack), the behavior seems different with "source" packages. I am asking as to whether this behavior is as expected or a problem with my rpm or linux installation.
 
Old 07-21-2003, 05:43 PM   #4
deepika
Member
 
Registered: Jul 2003
Distribution: Redhat
Posts: 88

Rep: Reputation: 15
tar.gz would be untar'ed only when you do

rpmbuild -ba /usr/src/redhat/SPECS/flex.spec

and this will leave untar'ed sources in /usr/src/redhat/BUILD directory.
 
Old 09-23-2003, 06:49 AM   #5
velska
Member
 
Registered: Aug 2003
Location: Finland
Distribution: Fedora 14, Ubuntu 10.4 LTS
Posts: 65

Rep: Reputation: 15
A newbie butts in with an inane question: wouldn't tar.gz file be unzipped and untarred with "tar" (i.e. tar -z.....)?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Majordomo using RedHat RPM mhabirami Linux - Newbie 1 11-10-2004 01:39 AM
Installing MySQL in RedHat Linux 9.0 RPM mkrishnanand Linux - Software 1 03-19-2004 07:36 AM
Problem installing Apache 2.0.47 RPM on Redhat 9 linub Linux - Software 0 10-20-2003 07:04 PM
Installing new kernel with rpm on redhat kidd Linux - Newbie 5 07-17-2003 08:14 PM
installing samba-3.0alpha24-1.i386.rpm into RedHat 8 and RedHat 9 Linh Linux - Newbie 2 06-04-2003 06:50 AM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration