Operating Systems > Linux and UNIX

Installing in Red Hat

<< < (4/6) > >>

voidmain:

quote:Originally posted by Calum:
good points indeed.
re: konqueror without kde, of course, where is my head at? then again, if one tried to install konqueror, surely they would get errors to the effect that certain libs etc would also need to be installed, and thus they could install whatever was required without needing the full desktop environment, am i right? or just blowing out my ass again?
--- End quote ---


Well, there is no RPM containing just konqueror. Konqueror is a pretty big part of KDE (which itself is an "environment" and not an application).  An "rpm -qif /usr/bin/konqueror" tells me that the konqueror RPM is part of the "kdebase" RPM which include many major components of KDE:


--- Code: ---
--- End code ---

And an "rpm -qR kdebase" shows me a list of things that kdebase depends on.  Now konqueror is an extreme example because it is so tightly integrated into KDE which is a very large desktop environment and in the case of konqueror it is not a standalone app that you can just install and use without KDE. But it is something that is a good illustration in the advantages of RPM.

dishawjp:
Hi Everybody,

Yeah, it's me again... the hopeless newbie.  Anyway, I tried the ./configure and got a "bash command not found" error message. So I thought that maybe the "configure" command wasn't on my computer or something.  So I did a "find / -name 'configure' - print" and sure enough in the /usr/shared/libtools/libltdl directory there was a configure command.  Then I did a "which configure" to see if it was in my path.  It returned a "configure not in path" message.  So I tried a "set > nnn" and then "more nnn" to check my path.  Sure as hell, I didn't come close to there.

Soooo, my questions are: should I modify my path to include the /usr/shared/libtools/libltdl directory, and... please don't fall out of your chairs laughing at this question... how the hell do I modify my path in Linux.  My .bash_profile file does refer to my path, as does my .bashrc but neither seems to be the proper one to modify. I would have thought that a file like configure might be in the /etc or the /bin directory, or maybe even the /sbin, all of which seem to have lots of executable files and which are in my path.  Should I just "mv" or "cp" configure to one of those directories?

I'm really trying hard to get functional with Linux, and am doing what I can on my own before imposing on all you good people looking for help.  I can't tell you how much I appreciate all the suggestions and support I've received here.

Jim

Master of Reality:
I will explain the source installing i bit.
What are you installing??

the configure command is usually include with source distrobution just to check for certain things that the program needs. But configure is usually included with the source so each configure is different. Many programs have the configure command but some dont.
the "./" part of it just means the current directory. "." is the current directory. so 'cd ./' is telling your computer to change directory to the current directory and wont really go anywhere.

Linux doesnt do relative links. which means that you have to put the exact path to a command. that means that you have to use ./whatever if it is in the current directory or ../something if it is the next level down directory or /usr/local/something if it is in /usr/local but you are in some other directory.

I hope that explains a bit (a will look for a link that i had which explains it better).
So you must be in the directory which contains configure to be able to run ./configure.

Other commands that you can run, like 'cd' are in /bin /sbin /usr/bin /usr/sbin /usr/local/bin or /usr/local/sbin because those are usually part of your path which means that if you type 'cd' it will try /bin/cd then /sbin/cd then the others until it finds where the 'cd' command is. But if it isnt in those directories it will say command not found unless you actually type in the full path (I.E. /usr/local/program)

Some programs do not have a configure program. You should make sure to read any documentation that comes with any program before you install it in case it needs any special way to install it. Usually the INSTALL or README file that comes with most programs will tell you exactly how to install it. run the program 'less' to view text files (ie. less INSTALL or less README)

Master of Reality:
http://home.c2i.net/dark/linux.html#compile
here is the link that would be a good place to look.

voidmain:
Again I ask why not just get the RPM and install it? Of course if you are just doing this for the exercise of learning how to isntall non-RPM packages then press on. Regarding your path, yes, add to the "PATH" in the ~/.bash_profile separating directories that you add with a colon ":".  

Another note, if you add the "." directory to your path you will not have to use the "./" in front of the name of an executable program residing in the current directory. However, I would not suggest this and would suggest that you instead get in the habit of prepending the "./" when executing programs in the current directory. It's more secure.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version