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.
My project for tonight (all night I might add, been working on this for the better part of 5 hours) has ground to a halt. I wanted to install and play around with inkscape vector drawing program. First I downloaded the source RPM from the official site (mainly because I have never used a source RPM and wanted to try it). Couldn't get that to work (dependencies). I then found a FC3 RPM on Livna.org and downloaded that, for some reason, thinking I could get around the dependencies issue. Needless to say, that plan failed miserably. I am now working on a solution of using Yum to install the program (what I should have done in the first place), and just spent the last 20 minutes setting up new repo's (fedora-extras and livna). I tested them by running 'yum --enablerepo=livna-stable search inkscape' (I don't want livna running for normal updating) and it returned the file I already downloaded as being from the fedora extras repo.
My question is this, where would I place the file that I already downloaded in order to "trick" yum so that it thinks that it already downloaded the inkscape package, skips downloading it (this is a 40 minute download on my 56K), downloads the dependencies, and then, as the icing on the cake, install them all?
My yum.conf says that the cache is located at '/var/cache/yum/'. I assumed that the file would go somewhere in this vacinity, but cd'ing to the directory leaves me facing subdirectory hell (however well organized it may be), and left me a bit confused.
There is a problem with what you want to do. Yum doesn't just download the package, it downloads headers to go with it. The hearders are in binary, not ASCII. You could place the rpm itself in the /var/cache/yum/extras/packages/ but I think it may try and download it in any case. You might be able to let yum start downloading, and once it gets a few minutes into it, stop the process. Then if the header is in /var/cache/yum/extras/headers/, you could move the already doanloaded package into /var/cache/yum/extras/packages/ and do yum update (package name), and hopefully, it will see that it has the headers and package, and will just go about the install. Of course, you have to make sure yum has all the dependencies downloaded and installed.
If not, just run the update at night when you don't have other things going on!