Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
hello, I'm think (ok, maybe diffidently) going to be installing gentoo on a system I'm upgrading (hardware and OS's, I'm sick of windows, and got the rest of my family to be more or less convinced that linux will be better for surfing the web)
anyways, one thing i hate in linux is the not to organized file structure, i know most files will let you install them to different places by passing options to configure, and some programs have hardcoded file info (like opening /etc/xyz)
what i want to do is put programs in /progs/(sys|x|math|text|net)/(bin|sbin|lib)
changing etc to /config and maybe having that area a bit split into init/net/boot/users/portage
possibly even other non standards changes, i can deal with the hardcoded things myself, but what i want to know is will portage let me change the options it passes to configure the package? or could it at least let me edit the ebuild for the file?
and also when i tell it to update my system will it keep the options i told it to pass to compile the original program to the new update (so it wont use the default /etc /bin /sbin /lib ?
also can portages config files be changed so they have other names without to much trouble?
What you want is theoretically possible. You can change the directories with which Gentoo configures packages (use E_SBINDIR, E_LIBEXECDIR, E_DOCDIR, E_SYSCONFDIR, E_INITDIR, E_SPOOLDIR, E_MAN1DIR, E_EXAMPLESDIR, and so forth). All portage commands will read make.conf, so as long as you have them set in there it'll work. Some packages, as you say, have hardcoded paths and won't obey these.
However, it is a VERY BAD IDEA. The hierarchy is such a big part of Unix/Linux that it will be a huge headache to ignore it like you want. Just because the logic is different than you're used to doesn't make it bad.
solnul: thanks, it looks like ill be using sed or at least changing the source files (are there?) for portage then (time to freshen up on python)
but one little thing: some programs will have different install paths that they will require, is there a way to get portage to use a separate E_SBINDIR(just for example) for certain known programs? or have it use ebuilds currently kept on the system to update known programs?
ah, i heard something like that when i first started to look at linux, never remembered the name, and forgot about it till now, thanks .. but i wont want to go with that distro (for one i like portage, will let me compile without me needing to be there while its working, plus i don't think i have the time to get it...... and also i don't like there layout to well, i prefer fairly short simple terms that categorize programs by what they do, and not name/version)
it looks like setting up bash functions to execute the emerge command would be best as i could set it up to fairly easily handle what ill need
and yes, i know i shouldn't... il set up everything tho it will still work, and I'm willing to modify little things if need be, and ill be sure to set up a local install directory for users so they wont have to deal with the sources for the misbehaving programs and get all confused over why its going insane
thanks again solnul, you've been incredibly helpful