Skip to contentSkip to conversation

Where does installed software go?

DISCUSSION Chris 3 participants 4 messages Dec 23, 2002 – Dec 24, 2002

lore
Share & tools
lore

Chris

author
#0 lore raw

How do I know where software goes when I install it? For instance, I just installed Opera on Red Hat 8.0, and had to dig around to find it.
From the root I ran "ls -al -R | grep opera"
This produced about 16,000 items! Through trial and error I was able to find the executable, and create a "launcher" on my desktop to it.

Next I installed Wine. I still have no idea where the executable is, but I know it's not in my path. Running "ls -al -R | grep wine" produces even more results than when I looked for Opera.

Is there a default location for software installations via RPMs?

Thank you,
Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 8 lines · Chris

How do I know where software goes when I install it? For instance, I just installed Opera on Red Hat 8.0, and had to dig around to find it.
From the root I ran "ls -al -R | grep opera"
This produced about 16,000 items! Through trial and error I was able to find the executable, and create a "launcher" on my desktop to it.

Quoted 8 lines

Next I installed Wine. I still have no idea where the executable is, but I know it's not in my path. Running "ls -al -R | grep wine" produces even more results than when I looked for Opera.

Is there a default location for software installations via RPMs?

Thank you,
Chris

It is up to the rpm packager.

rpm -ql opera | less
rpm -ql wine

to restrict the output to executables, I guess something like this would do:

rpm -ql <package name> | grep '/bin/'

Lawson

--
---oops---

________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
In reply to Chris
Quoted 1 line · Chris

How do I know where software goes when I install it?

Normally, executables will be placed somewhere in the standard PATH (or in some cases the PATH for root). For them, use "which" to get the location. Other options are the commands "find" and "locate" ... read their man pages for the details of how to use them.

Quoted 4 lines

For instance, I just installed Opera on Red Hat 8.0, and had to dig around to find it.
From the root I ran "ls -al -R | grep opera" This produced about 16,000 items!

Really? The first part would produce a lot of output, but the grep should only return lines that contain "opera", and I wouldn't expect more than a couple of dozen such lines on a normal system.

Quoted 7 lines

Through trial and error I was
able to find the executable, and create a "launcher" on my desktop to it.

Next I installed Wine. I still have no idea where the executable is, but I know it's not in my path. Running "ls -al -R | grep wine" produces even more results than when I looked for Opera.

Try "find / -name wine" and see if that gives you something more readable. If that doesn't find it, try *wine* instead of wine.

You also might see if rpm has a "list" option that tells you what files are in a package. I don't use rpm here (I run Debian, and its similar dpkg command has this option), but I did look at the man page for rpm and noticed that it has a list option mentioned. So try "rpm -l wine" and see if that helps you (or try variants on this, since I may have the syntax wrong).

Quoted 1 line

Is there a default location for software installations via RPMs?

Alas, no. For years, people have tried to promulgate rules about where software should be installed on Linux/Unix systems, and they've actually made some progress, in the face of three real problems:

(1) there is no real "right" answer to this question; rather, the
benefit comes from having any accepted standard, not the "right" one (just as green=GO and red=STOP isn't the "right" color combination, just the one we all agree on).

(2) even in the standards that have been suggested, ambiguity
remains, because the distinction between "system" and "user" installed packages is blurry.

(3) there is a lot of history behind many of the major packages
(such as X Window) that violates about every proposed standard.

But as yet there is no operating consensus, despite a lot of goodwill on everybody's part. --
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#2 lore raw
In reply to [email protected]

Thank you,
I'll give it a shot ...once I reboot my PC to linux, that is.

Chris

Quoted 37 lines · At 10:07 PM Sunday 12/22/2002, [email protected] wrote:
Quoted 8 lines · Chris

How do I know where software goes when I install it? For instance, I just installed Opera on Red Hat 8.0, and had to dig around to find it.
From the root I ran "ls -al -R | grep opera"
This produced about 16,000 items! Through trial and error I was able to find the executable, and create a "launcher" on my desktop to it.

Quoted 8 lines

Next I installed Wine. I still have no idea where the executable is, but I know it's not in my path. Running "ls -al -R | grep wine" produces even more results than when I looked for Opera.

Is there a default location for software installations via RPMs?

Thank you,
Chris

It is up to the rpm packager.

rpm -ql opera | less
rpm -ql wine

to restrict the output to executables, I guess something like this would do:

rpm -ql <package name> | grep '/bin/'

Lawson

--
---oops---

Quoted 9 lines

________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs