LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-28-2005, 05:19 PM   #1
charnel
Member
 
Registered: Mar 2005
Distribution: mandrake 10.0
Posts: 58

Rep: Reputation: 15
controlling installation and finding path


How can I control a rpm package and the path it is installed???
 
Old 06-28-2005, 07:21 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
1) get a .src.rpm, install and compile an installable binary for your system. You will get the defaults of your distro for install paths.
2) get a .src.rpm, install and edit the .spec fine in /usr/src/<kernel version>/SPECS (the tarball goes in /usr/src/<kernel version>/SOURCES), or wherever Mandrake puts them. Change the installation paths to what you want, then try to compile an installable binary.

Don't be surprised if you have to spend a day or two tweaking the .spec file. If the rpm doesn't install with rpm -i, and if you have an existing version of the rpm already installed, try rpm -U with the new binary.

Last edited by bigrigdriver; 06-28-2005 at 07:22 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
finding the PATH tahiche Linux - Software 7 10-12-2005 12:47 PM
Finding process path praj_linux Solaris / OpenSolaris 5 12-21-2004 10:01 AM
Finding the kernel path blacksunshine Linux - Software 2 10-03-2004 02:45 PM
finding java path? pyropenguin Linux - Newbie 2 09-19-2002 01:02 PM
finding java path? pyropenguin Linux - Software 2 09-15-2002 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:19 AM.

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
Open Source Consulting | Domain Registration