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.
Ive read some previous posts on this subject but im in the dark since i am a newbie still and would like to see if someone can help me with building my own RPM.
Ive also been to the numerous RPM howto build sites but still need help, so if someone could please provide me with answers to some of my questions instead of posting links, that would be very appreciated, unless of course its a site that a 2nd grader can use to build his own RPM with pictures and hand puppets, then those are welcome! j/k
What i want to do is download this open source product which comes in a .tar.gz file, un zip it, run the config, make, make install, etc...
Then tar up the directory and create an rpm based on the arguments i used to do the install. The reason for this is so that when someone else uses this newly created RPM, it will install it in a different directory instead of the default directory, they wont need to run all the commands like configure, make, etc... Just an rpm -i filename.rpm should do the trick.
When i untar the original file and do the install myself, i notice it does have a .spec file. I think this is where im having problems. Can i alter this file to have the new directories in it and then build the rpm? What flags should i pass rpmbuild, ta or ba? When i did ta i have 4 rpm's, the main rpm, the devel, the www, and another one. This confused me because i wanted just one rpm.
Please help me understand how to do this. The guy that was here previously did it this way but left no instructions on how to do it.
There are a number of steps to take when doing this. The guides on the Red Hat site will lay the steps out for you. It goes without saying that you should read and understand the instructions before starting work!
any one can change a binary into a rpm tgz to rpm a deb to rpm but if you want to build a rpm that will instruct the system to look for dependency and do the install script you need to learn about the spec file. so if you need some one to push the keys for you while you watch the out put I am very sorry. so here is another unwanted link but if you learn it then you know it.