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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i want to install xine and the library files for xine from source, because the RPM's keep messing up my DVD playing... long story.. Anyway's after i get rid of the mess the RPM's created and go to cofigure the source, where should my prefix be for the xine-lib, and finally for xine-ui? If it matters, distro is Suse 9.1 Pro, and running KDE 3.2.1
that's the part that puzzles me. I think the lib fines have to be in a certain directory. And if i want to run xine from command line, doesnt it need to end up with its binary in a specific place? Now, mind you, i am a newb, so i may be totally wrong here...
which puts the libs into /usr/lib. The default /usr/local/lib occasionally causes trouble (I had lots of trouble with gimp 2 despite /usr/local/lib being in the pkgconfig and ldconfig paths)
and yes, if you want to be able to run the app from the command line without typing the full path then the binary will need to be in a directory in the path. The command above will also put the binaries into /usr/bin. If you do ./configure --help you can see the specific options to put the binaries and libs into totally different places.
Originally posted by mykrob that's the part that puzzles me. I think the lib fines have to be in a certain directory. And if i want to run xine from command line, doesnt it need to end up with its binary in a specific place? Now, mind you, i am a newb, so i may be totally wrong here...
Files are arranged on linux so that all the apps are in one set of folders (/bin, /sbin, /usr/bin etc...), and all the libs are in another (/lib, /usr/lib, /usr/local/lib etc...). By default you will find that most software, when installed from source, is setup to be installed to /usr/local/bin, /usr/local/lib etc.... (/usr/local being the default path for all youe extra software).
Any command you type into a console will be automatically found within these folder paths.
Try configuring and installing without a prefix, this is normally the preferred way (unless specified in the INSTALL or README files supplied with the package).
I think you'll find your program has been installed to /usr/usr/local due to the extra prefix.
edit: see /etc/profile for the system-wide shell (console) defaults.