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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Right, so I've got the process of installing .rpm's down (that was easy), and I'm moving on to tarballs. No problems when they have binaries, but I'm lost when it comes to compiling!
To make matters worse, my system doesn't seem to have xmkmf installed (I understand that this the easiest way, along with Imake -- which I also seem to be lacking -- to get these things into working software), and I can't find it at rpmfind.net.
If anyone out there could walk me through the process (or post a link to a web page with a nice walk-through) I would be much obliged.
the main problem with tarballs is that you'll occasionally run across one that doesn't use the typical compiling instructions. in that case, there will probably be the README to explain how. other than that, 90% of tarball installs go like this:
tar -xzvf package.tar.gz
*bunch of stuff scrolls by while it's decompressed and untarred*
cd package
./configure
make
su
make install
...and you're done. generally, you want to compile as a user, and install as root. it's not critical to compile as user instead of root, but it's just generally not a good security idea to compile anything as root.
What's the error message? The configure script for everything checks to make sure you have the necessary components in order to compile something from source. Mandrake and RedHat have now jumped the chasm of really being a pain in the arse as a default installation no longer includes a compiler! If the error had something to do with gcc, you'll have to RPM those onto you box. There should be just the one, but Mandy in its infinite obnoxiousness, has probably left out a few things, so its probably a matter of RPM, trying configure, finding what you need next, repeat.
I've never been able to figure out why the hell most distros don't make a compiled (at least gcc for christsakes) part of the default install. I realize that Red Hat would love to standardize everything into neat RPMs... but jeez. When I first started using Linux (RH 6.0) this was one of the worst problems I encountered since handling RPMs was a little more complicated then.
The two major culprits, Mandrake and RedHat, and I think SuSe, but my experience with them is limited, have one cool feature in the install:
Everything.
Both of them come with a section in their configuration that regardless of install will ask you what services you want by default, which is of course going to be what resources you have being sucked away by worthless goop... Be careful while tuning that and then the only big loss with an "everything" install is a whopping chunk of disk space eaten up. Newsflash, disk is cheap. Real cheap. RedHat, allowed to eat all the burgers and sectors it wants like some bloated, Post-Jailhouse Rock Elvis only sucks back 3.3 Gb. Heck, that's less than 10% of the industry standard shipping 40Gig.
I agree, not having a compiler is annoying, but in most other, *cough* operating systems *cough*, the greatest decision left to the user as to what software is installed is whether or not you want Solitaire on your box.
The default install does include most of your garden variety file tools. Yeah, it is a big ass install but then again I've got like 60 something free gigs anyhow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.