Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I just installed Red Hat 9 last week and I want to know how exactly I install something. Through the GUI i know I can click on an RMP and it installes. However, how do I control the directory it installs to? I've installed Netscape, Netbeans, and a couple of other applications so far and I haven't been able to find where the heck they installed! Any help is appreciated.
Also, what passes for an executable file on Linux? I've been able to see that "rpm" is an install file and "sh" is like a "bat" file. (I think>) Does anyone know anything that can help?
you don't control the directory an rpm installs into - it's pre-packaged so that you don't need to know - you can run a query on what the package contains, paths it installs to etc
man rpm
to specify the installation path of an application you would need to compile it from source and install it with a specific install path
*nix has two types of files ascii and binary, any ascii file can be made executable, shell scripts (an executable text file) is exaclty like a batch file albeit a hell of a lot more powerful and flexable. The extension does not matter per se
All either of them really are is a collection of commands written in a language understood by the native shell, be that dos or bash or korn or c etc etc
(overly simplistic but you get the idea)
# Red Hat 7.3 down configuration commands setup leads to several configuration tools
# Red Hat 7.3 up configuration commands
Configure soundcard: redhat-config-soundcard
Configure X server: redhat-config-xfree86
Configure network: redhat-config-network
Manage software: redhat-config-packages Red Hat 9.0 Package Management Tool
Manage users redhat-config-users
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.