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.
hi all,
i am a newbie to linux,i have a small doubt,in windows whenever we install a software or pcakage it gets installed in a particular folder(Program files) so that whenever we use the software it executes the binary code of that software from that folder but in linux we can install any package any where,and we can also run the installed package from the terminal(we need not be in the installed folder while executing),so how does this happens,is the PATH set to check all the folders? Please explain.
Your path has the locations where most programs should be installed. It won't contain everything though, and it won't contain programs that require a lot of supporting files. However, you can use the full path to a program to run it (for example, /u01/app/oracle/product/10.2.0/db_1/bin/sqlplus). You can see your path with echo $PATH.
Just for future reference, what does this have to do with a LUG? There are many places to post in LQ, and I know sometimes it might confuse a new person. But when we strive to put our posts as close to where we think they belong, we would more then likely be putting it somewhere where it might find eyes that can help. So I welcome you to LQ, but I ask that you please look at a good place for your posts so they get good attention.
hi all,
i am a newbie to linux,i have a small doubt,in windows whenever we install a software or pcakage it gets installed in a particular folder(Program files) so that whenever we use the software it executes the binary code of that software from that folder but in linux we can install any package any where,and we can also run the installed package from the terminal(we need not be in the installed folder while executing),so how does this happens,is the PATH set to check all the folders? Please explain.
Thanks in advance.
In some fundamentals, Windows and Linux are really no different. For example, in Windows, you can put program files (executables) anywhere you want to. The "programs" folder is only a convention. Same answer for Linux---there are conventions for where executables go, but you can put them anywhere you like.
In both OSes, you can create shortcuts (links)
In Linux, you have the PATH variable to tell the system where to look for executables. In Windows, this info is in the Registry??
In Linux, you can modify the PATH variable at the command line, or in one of the init configuration files. Don't know the equivalent for Windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.