LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-24-2006, 12:18 PM   #1
rlhanson
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
Extracting '.rpm' in YaST.


HI;

I there a way that I can Extract a '.rpm' in YaST and have it extract a package into a specified folder?
 
Old 03-25-2006, 11:30 AM   #2
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
This script http://www.fship.com/demos/rpm2targz, will convert an RPM into a simple tar.gz archive, which you can then extract into which ever directory you wish.

[code]localhost:~ $ wget http://www.fship.com/demos/rpm2targz
localhost:~ $ chmod u+x rpm2targz
localhost:~ $ ./rpm2targz file.rpm
localhost:~ $ tar xzvf file.tar.gz
 
Old 03-25-2006, 12:16 PM   #3
rlhanson
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Hi;
Distribution: SuSE 10.0
Project: Compilation of MPlayer
This is all well and good but there is one other small problem that I am having. When I try to extract a file using 'arc' or 'file roller' I'm told that I do not have the 'right permissions to archive to folder' this is after I have logged in as 'root'. When I try to extract the file using 'YaST' the file is extracted out in cyberspace somewhere. It has turned out to be just one big circle jerk.
 
Old 03-26-2006, 11:57 PM   #4
sub_pop_culture
Member
 
Registered: Jan 2003
Location: California
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
Are you installing a src.rpm or a i386.rpm? If its src.rpm, the file contents get dumped into /usr/src/redhat (on my FC5 system). I'd assume SuSE puts them in a similar type location?
 
  


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
Install RPM with YaST dlublink Suse/Novell 3 01-19-2005 12:22 PM
Extracting rpm files vsouza Linux - Software 5 10-08-2004 02:31 PM
extracting 1 file from RPM sopiaz57 Linux - General 3 04-09-2004 04:22 PM
Extracting files from an rpm or srpm MRK Linux - Software 2 11-28-2003 12:24 AM
Extracting specs out of a src.rpm? rverlander Linux - General 4 08-22-2002 02:15 AM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration