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.
Im using suse 8.2 for a while now on & off...and have managed to do various things on it i.e. samba, mounting, and installing apps but i havent really fully understood the different ways of installing applications and the types of them.
For example: whats the difference between src.rpms & rpms, tar files and where they get installed to where should you run them, do they have to be run from a exact location? Im abit confused, bless the person who answers my awkward questions
RPM - Precompiled binary form of the program along with header information telling the RPM program how to install it.
SRC RPM - It's actually an RPM of the source code for the program: the rpm manager must compile it to install it.
TAR - A "tarball" (*.tar.gz, *.tgz, *.tar.bz2) is just a collection of files. Generally, if you download a tarball, it's the source, which you must then compile and install. Usually, all you need to do is:
tar zxf progname.tar.gz
Not all programs use this format, but so many do. Make test is optional and not supported in all makefiles. The "z" in the tar command tells it to uncompress with gzip, substitute with "j" for .tar.bz2 and "Z" for .tar.Z.
Well, honestly, I'm not sure though I'm sure someone else will help you. I've never really worked with an RPM based distribution My guess is all source rpms end up in that directory and binary rpms end up in standard locations (libs in /lib, bins in /usr/bin, etc.)
*.src.rpm end up in /usr/src/packages. This is devided into several subfolders. The structure of these folders may become evident if you study the process of building rpm packages (see man rpm ). After compiling the package, the binary rpm can be found in /usr/src/packages/RPMS.
But to make matir's point clear: you cannot install a *.src.rpm the usual way with Yast! It will not appear as 'installed' in the rpm database. Always try to get *.ix86.rpm packages (they make life much easier )
RPMS are packaged as binary rpms (eg package-1.0.0-1.i386.rpm) and source rpms (eg package-1.0.0-1.srpm). What you installed is a source rpm thats supposed to be rebuilt into an rpm. You need to install only binary rpms unless you need to recompile the source rpm for a specific reason.