Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-10-2003, 04:07 PM   #1
LQ Newbie
Registered: Feb 2003
Location: Washington State
Distribution: RedHat 9.0 (updated)
Posts: 14

Rep: Reputation: 0
Linux Management Strategies

I'm an experienced computer user/programmer who migrated to Linux (Redhat 7.3) last year.

Things are coming along fine. But I need some orientation on some long-term issues involving installs from source, upgrades, and such. I haven't found good discussions on the web about these more subtle issues. And the books I have seen are on basic "how do I do this now" stuff. So I am looking for references (not complete answers here) that will help me with things like...

What happens if I install a Redhad 8.0 rpm on my 7.3 system? If it fails, why? Is that fixable? What happens if I install a Redhat 7.0 rpm on my 7.3 system? If it fails, why? Is that fixable?

How do experienced users keep things tidy when installing from source? I'm quite comfortable doing this (and have done so many times). That's not the issue. But if I try something out and decide I don't want to keep it, how do I reliably clean it all off my system? (Rpm's have an uninstall feature that takes care of this.)

If I have Redhat 7.3 and upgrade the kernel, do I now have an 8.0 (or whatever) system? If not, what *do* I have?

What is a good strategy for keeping my Linux install current?

Please understand, I'm not hoping to have all this answered here. I am looking for specific references, book recommendations, and rtfm's so I can study up and move forward in my linux management skills. OTOH if you have some wisdom to offer here on any of this, that's fine too.

Old 02-11-2003, 04:08 PM   #2
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Those are valid, important questions. I can answer a few and possibly point to a few good references.

Adding newer or older RPMS is fine as long as the dependencies are taken care of. What I mean is that some supporting libraries are required to be a certain version. If you don't have that version you will need to install it. "Current" is a good program that automatically gives you the required dependencies if it can find them. Rpms are very fixable if you have a problem. Just delete and reinstall.

Most of my software compiling has been done via the FreeBSD port system, so I can't guarantee that is the same in Linux, but you can 'make deinstall' compiled software to remove it. Then just delete the src package and your done.

Red Hat 8.0 is just a CD release. You can keep your 7.3 updated to mimic 8.0 with no problems. If you do so, just update /etc/issue to say "Red Hat 8.0" and you now have 8.0.

To keep current you can run update programs such as RedHat's "up2date", or download custom programs with greater functionality such as the above mentioned "current" and\or "AutoUpdate".

I couldn't think if any direct references to your questions so I'll leave it a that. Most this stuff is learned by watching others, posting to helpful forums such as this, trial and error, and reading bits and pieces on the Internet. It's all really well thought out when you think about it. Sure as anything, if you think that something is difficult then there is always a better, easier way to do it.
Old 02-11-2003, 05:24 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,576

Rep: Reputation: 191Reputation: 191
When I install programs from source (most of my services) I try to install them into separate directories. When I install a new version of Apache, for example, I configure it to install to /usr/local/Apache-versionnumber. When I've got a new version working, I can simply delete the old one (sometimes change a few symlinks) and it's done. Sometimes I just don't have enough space to keep all the sources and use 'make uninstall' after a year or so.

If you have an RH 7.x system and upgrade your kernel you simply have 7.x system with upgraded kernel. It will be 8.0 when you upgrade everything. After all, you just have Linux. Distro doesn't matter much. It's hard to say what distros my machines run. I can just say what I installed last time... As ghight wrote, you can put everything in your /etc/issue, even "MyLinuxDistro version 1.0" (sometimes it's a good idea to change it because of security issues, BTW).
Old 02-12-2003, 09:59 AM   #4
Registered: Sep 2002
Location: Stuttgart, Germany
Distribution: SuSE 9.1 Pro
Posts: 171

Rep: Reputation: 30
I don't use redhat, so I can't comment directly on that, but it is important to note that distrobutions sometimes change directory schemes to stay with current trends. With rpms you need to make sure that they are installing the files where your system would expect them. (eg: if you are installing an rpm for a gnome program, make sure that where it will install it corrosponds with where gnome itself is installed... again, distro's feel the need to change this from time to time) As previously mentioned you'll need to make sure that your dependencies are met.

As for uninstalling compiled software, typically make uninstall from the directory you originally did the make install from will remove it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading Hardware Strategies confused_bof SUSE / openSUSE 3 06-24-2005 02:27 PM
File sharing strategies gmartin Linux - Networking 2 09-17-2004 01:07 PM
Disk strategies oneandoneis2 Slackware 2 02-02-2004 12:51 PM
Partitioning Strategies Guinney Linux - General 2 01-03-2003 10:07 AM
Linux upgrade strategies? jkcunningham Linux - General 4 10-09-2002 05:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration