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 i'm totally new to linux, and having trouble getting going. I'm currently using fedora core 2, and i have been able to do many things i normally did on windows, but when it comes to installing new programs i am lost. May seem stupid, but there you have it. I do a ./configure and make install, and my understanding is that in general, to use the given program i just need to run the executable... my only problem is figuring out what file is executable. I'd be very thankful for help, linux seems to be lacking nothing i want if only i could figure out how to run progs. Last thing i want is to be part of a demand for Windows, whether it be by pirating or buying it. I am confidant that this particular problem is simple, i just need to be pointed in the right diretion.
Well generally the executable name is simply the name of the program. For example, if you install XMMS it's a fair bet that the executable will be called xmms (binaries are nearly always exclusively lower case).
However, if you install something and you're just not sure of exactly what it's called but you have a vague idea you can always use the autocomplete feature of the shell to let it make suggestions. For example, let's say you're not quite sure what you need to type to run the xproperties program (it gives window info when you click on a window), so in the shell start typing xpr and then press tab twice... it will suggest all binaries on the system that it could be. Try it...
Alternatively, if you've tried just typing the name and nothing happens, it could be that you've installed it into the default location (/usr/local/bin) but that path isn't in your search path, in which case you can either type the full path to run it, or add that to the search path by adding:
Oh, should add that if you look in the src or source directory (whichever is present) for the program you've just compiled, an ls --color listing will show executables in green...that will give you an idea of the name of the file as it's installed on the system.
e.g. if you've unpacked the tarball containing the program source to: /home/joe/aterm-0.6 then look in /home/joe/aterm-0.6/src (or source) to see what the executable is.
fedora is an rpm based distro...so you're best bet is to find the programs you wanna run in the "rpm" format...i.e. gaim.rpm.
http://www.rpmseek.com is a great place to start....most programs are available in an rpm format. once you download them, simply open a terminal, su to root and type rpm -i <packagename>.rpm and it'll install
Originally posted by detpenguin fedora is an rpm based distro...so you're best bet is to find the programs you wanna run in the "rpm" format...i.e. gaim.rpm.
http://www.rpmseek.com is a great place to start....most programs are available in an rpm format. once you download them, simply open a terminal, su to root and type rpm -i <packagename>.rpm and it'll install
it's an online book that will teach you tons about linux, and rpm...
He's got the programs installed, just doesn't know the executable name...and in any case I couldn't disagree more - RPM is a horrible format whose soul purpose is to give a rash of dependency errors whilst putting newbies off linux for a while in frustration.
Stick to source, you'll have far fewer problems, trust me.
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313
Rep:
I would add that since you are using Fedora, the Apt-get program may be helpful. This is sort of equivalent to Windows Update but it is also capible of getting new software and installing it. There is numerous articles on apt-get but an introduction is at:
In addition to installing source RPM's for you, apt-get can also scan your system to see what updates you need and then install those updates for you.
This is LinuxMagazine article.
In Slackware you can use whereis which tells you where the binary, source, and man page is for a specific program,
ex; blah@blah:/$ whereis ls
ls: /bin/ls /usr/bin/ls /usr/man/man1/ls.1.gz /usr/share/man/man1/ls.1.gz
Also in Slack you can use whatis which tells you what programs are which is helpful for starting off
ex; blah@blah:/$ whatis whereis
whereis (1) locate the binary, source, and manual page files for a command
I'm not sure if Fedora has these apps installed or not though....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.