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'm running SUSE 9.1. Can anyone give me a rundown on how to install programs using yum. It only seems to do upgrades. How do I install 'Foobilliards' for example, I see the files are tar or gz or some-such, how do I deal with files with these suffixes?
I use SuSE Personal 9.1 but I've no idea what 'yum' is, lol!
In general, .tar.gz files are tarballs g-zipped up (like a .zip file) of source code, which need compiling/making to be useable.
Instructions for install (in general):
*Use Ark to extract the files from the tarball/gzip file to somewhere (usr/src is good AFAIK). Or, browse to the archive in Konqueror, double click it to enter the file and copy the directory inside to somewhere.
*Look in the extracted folder for 'README' or 'INSTALL' or similar. This will tell you specifically how to compile and install the program. Instructions may also be on the website (depends on the program).
Generally though, you have to open a console window (Konsole in KDE), and do:
(type root password, it won't appear as you type it, hit enter)
make install (this handles the files and calls the compiler to compile them).
If you're lucky and there are no errors the program should be around somewhere. Usually in a /bin folder.
YAST can only install from RPM's, not from source. IF you're trying to install a downloaded RPM, simply click it in Konqueror, and it will open a dialog giving you the option to "Install with YAST". Click that, it will ask for your root password, and install.. Pretty easy..
If the program is packed as a tar.gz file, most likely you will have to compile it from source. Install gcc, make,automake from yast, unpack the archive with ark to some directory (I use /usr/src/<program name>),
read README or INSTALL,
most likely you'll have to run three commands: ./configure , make , and make install (as root). Sometimes you don't need to run ./configure
launch console, cd to this directory
sorry Foxy, didn't notice your post.
What I'd like to mention, in suse you've to install gcc, make, automake and the rest extra, they aren't installed by default. And in Suse 9.1 Personal gcc isn't included at all AFAIK.
you can also install RPM's from command line. This is WAYYYYYYYYY faster that yast.
Go to the directory that the RPM is in. Open a terminal from that directory (pressing F4 will do this).
Type is "su" and enter your root password.
rpm -Uvh rpmName.rpm
this will install the rpm in record time.
I know these RPM names can get long, but you can use wild cards.. For example, ifyour file name is "really.Long.Filename-0.1-3.3748239-3.longerName.cvs.rpm", you can simply type:
rpm -Uvh reall*.rpm
and it will instally any rom file that begins with "reall".
Also, if you have a directory with several RPM's that can be dependencies for each other, you can install them all in one pass:
rpm -Uvh *.rpm
this will install ALL rom's in the directory.
A little more info: the -U means "upgrade". If there is an existing install of the rpm your are installingthat is older, it will overwrite it and upgrade. The "v" means verbose, text will detail what is happening during the install process. Finally, the "h" mean hashmarks. You will get a text-based progress indicator like "Installing: ####### 35%".
the command line install will also notify you if dependencies arent met and tell you exactly what is needed.
Well, commandline is a good helper in most times, but IMHO installing RPMs with YaST is still faster and more comfortable (at least for such a noob like me) - just 2 clicks and ready (maybe the installing process itself takes some more time, but while installing you can do other things.) When it comes to dependencies, YaST tries to install needed additional rpms from a cd, so you don't need to install'em manually. And you're informed of failed dependencies as well.