On Mon, 7 Mar 2011 12:05:09 -0800 "Suresh Govindachar" <sgovindachar@xxxxxxxxx> wrote: > > stan wrote: > > > > I have accumulated lots of devel packages over the > > years, though. > > I just found out that yum's --installroot is _not_ meant for > installing in a non-default location; this flag, along with > rpm's --root flag, are for maintaining separate installations > of linux (https://bugzilla.redhat.com/show_bug.cgi?id=682827). > So, regarding your accumulated devel packages, do you usually > install with yum/rpm or build (i.e., configure --prefix, make, > make install) them? I always install include files, -devel packages, using yum. I can't remember a time that I was compiling and needed to install another package from source for dependency because it wasn't already in Fedora. If I did have to I would create a separate directory for it in my user space, compile it, and then change the make file in the app I was working on to add the library location and include location (-I -l, if I recall the gcc options correctly) by pointing to that directory. It's possible to do that with the configuration file, but for one offs I think it is too much trouble. Or you can install them under the /usr/local hierarchy, which is outside rpm and yum control, and tell ldconfig to include them in the system libraries that are scanned. You would still have to add the include directive for the include files though. > > Since relocation is not supported with yum/rpm, how do you > manage space? Also, what's the size of your partitions? The /usr/include directory (where all the header files are stored from -devel packages) is about 480 MB. The root partition is 250 GB. I don't really manage the space. Since hard disk is so cheap, I don't even worry about it. I think a 2 Terabyte (2000 GB) sata disk is about $100 US now, though I haven't checked lately. I have a 1TB I bought for $70 US some time ago. Several versions ago, I was going to build an up to date set of CDs to use to upgrade an old 586 computer. For that I used mock as the build tool. I vaguely recall having some problems getting it all working, and I ended up doing a network install, which worked great. Actually, I used the network to install only the base system, and the CDs I built to install all the packages I wanted on top of it. I can't remember if I used them directly as a repository, or had to create a local repository on hard disk. When I'm going to upgrade versions, I just use another partition to do a fresh install, overwriting the old version that was there. I keep separate partitions for all my home and permanent stuff, and just link them in from the new home directory. I mount them using fstab. That way I don't run into any problem with new and old configuration files. This technique also means that if things don't go well, I've still got a perfectly functioning fall back in the previous version. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines