Saturday, December 17, 2005

Yummy yum

One of the things that pushed me to upgrade to Fedora Core 4 was suspense of the automatic updates from the Red Hat Network a while ago. It seemed as though every time I wanted to install something I needed to search out the correct RPMs and install them before I could intstall the software I originally wanted to install.

FC4 opened my eyes to a totally new updating method; yum. I did a quick search and found The Unoffical Fedora FAQ which walked me through setting up yum and installing software for it. I installed the updated gcc compiler using yum and it only took a couple minutes to download gcc and any dependencies. "Wow, this is easy", I thought to myself, so I used yum to update OpenOffice.org to 2.0. This is definitely a nice tool to keep some of your general software up to date.

I don't think I'll use yum to keep my main database software updated. For example, I'm going to be doing research on having multiple versions of MySQL on the same system. During this research, I'm going to put MySQL 4.1 in one directory and 5.0 in another. I don't want my 4.1 software automatically updated until I want it updated.

I wonder if Oracle has a yum repository for Oracle Applications? (If you deal with Oracle Apps, you know what I'm talking about).

I think this will be a big time-saver.

8 comments:

Cleric said...

Sounds like fedora's version of Gentoo's portage. Gentoo has had this functionality for ages

Jeff Hunter said...

Yeah, I'm sure it's been out there for a while, it's just that I used to use up2date. If I did some digging, I probably could have got yum to work with RH9, but it seemed like another good excuse to upgrade.

Howard J. Rogers said...

What you next need to do is type (as root, naturally):

yum install apt

Followed swiftly by

yum install synaptic

And at that point you have a third method of updating and installing stuff (apt, plus up2date and yum). Nice thing about apt is that it has the synaptic front end, which makes for an entirely GUI updating experience!

Incidentally, if you haven't already, make friends with the Stanton Finley guide on configuring Fedora.

Very helpful, including things like setting up the yum (and apt!) repositories, installing MS-fonts, NTFS file system modules and so on (in case you ever need to dual boot).

Andy Todd said...

Not wanting to sound smug, but Debian has had this for many a year;

apt-get update; apt-get upgrade

for grabbing the latest goodness. If you want to install a specific module then;

apt-get install module-name

See - http://www.debian.org/doc/manuals/apt-howto/index.en.html

Jeff Hunter said...

Not wanting to sound smug, but Debian has had this for many a year

As the name of the blog says, "So What?".

Jeff Hunter said...

howard j. rogers said...
...friends with the Stanton Finley guide on configuring Fedora.


That is a very good site, I will be visiting frequently. Thanks for the top.

Howard J. Rogers said...

Oh, by the way: I meant to say that with careful use of yum's --installroot switch, you could still have yum install new versions of (for example) MySQL without it clobbering the older versions you are keen to keep.

If you also use its deplist function (that is, type the command yum deplist xxxx, where xxxx is the name of a package you want, Yum can give you a list of all dependencies that will need sorting, if you still want to do the installation itself manually. Even though you might choose not to use the utility to install or update stuff, in other words, it can still be useful.

Noons said...

if only Oracle came up with an equivalent for its rdbms on Linux.

I'm sick and tired of the "download this and that patch" everytime I want to do anything out of the square!

Ah well, there is a new year coming, I'm sure it's all gonna happen this time around...