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 09-10-2007, 02:16 PM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Wink RPM package during install can or cannot define the install location?


1. The RPM package software example: mplayer. During install mplayer by RPM package can i define a location of this software?example i want my mplayer install to this directory /opt/mplayer , how to do it? and what command should be use to this. The Tar installation file can easy to define a installation location,example: ./configure --enable-gui --prefix=/opt/mplayer .What command or method to lets me choice my installation target directory install by RPM package?

2. i already install this mplayer RPM package, i using this command: #rpm -ivh mplayer*.rpm . Than may i know this software where the location(directory) to install already by default? in /usr or some where?????include all configuration mplayer files like at /root/.mplayer ,so HOW TO KNOW JUST NOW I INSTALL THIS PACKAGE THAN THE ALL FILES LOCATION????




Thank you very much...
 
Old 09-10-2007, 02:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,367

Rep: Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561
"i already install this mplayer RPM package, i using this command: #rpm -ivh mplayer*.rpm . Than may i know this software where the location(directory) to install already by default?"

Use this command:

rpm -ql mplayer

"What command or method to lets me choice my installation target directory install by RPM package?"

When you install a package using rpm use the --relocate OLDPATH=NEWPATH option. See:
man rpm

------------------
Steve Stites
 
  


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
rpm package install - RealPlayer10GOLD.rpm tslinux Linux - Newbie 7 09-08-2007 10:28 PM
where is install package location bobr Linux - General 2 05-17-2007 09:32 AM
Launch location of my rpm package? jimwelc Programming 4 05-02-2006 04:06 PM
Location of install directorys (using rpm). brynjarh Linux - Newbie 2 06-16-2004 07:19 AM
rpm install location ...how to tell ? dynamo|x Linux - Software 6 06-01-2003 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 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
Open Source Consulting | Domain Registration