Jump to content

RPMS and .tar.gz


Neorion
 Share

Recommended Posts

Depends on the program. For rpms, you can open a console and, as root, do this:

 

rpm -ql <<name of rpm without the .i586.rpm part, or whatever>>

 

(that's a lowercase L) and it will tell you all the files the rpm installs.

Executables are usually placed in /usr/bin, /usr/sbin, /bin, or /sbin. Alot of times, programs installed from *.tar.gz files are placed into /usr/local/bin or /usr/local/sbin unless you tell your configure script to place them somewhere else.

Link to comment
Share on other sites

for tarball's with a configure, cd into one and do ./configure --help

 

to install somewhere other than the default /usr/local for a tarball do;

./configure --prefix=/where_you/want_it

usually for an rpm-based distro you'd do;

./configure --prefix=/usr

or edit the Makefile

 

for a

make

make install

edit the Makefile

 

for an install.sh? I'm not sure....probably in it, or a Makefile

Edited by bvc
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...