On 01/30/2011 10:24 AM, Jon Ingason wrote:
2011-01-30 16:00, Jerry Feldman skrev:
> I recently installed Oracle-XE using yum --nogpgcheck localinstall
> oracle...rpm. No problem except that I screwed up the configuration. My
> coworker told me that I should use rpm(8) because the installation
> manual specified it rather than yum(8). My question is that is there any
> specific advantage using yum(8) over rpm(8).
>
>
The main difference is that yum(8) try to solve dependency while rpm(8)
does not.
On 01/30/2011 10:30 AM, Richard Shaw wrote:
Nope. No real differences except that Jon pointed out. Also,
localinstall isn't necessary anymore. Just type good ole' install and
point it to a local file and it works fine.
If you think you'll be installing an RPM on a regular basis it's very
easy to setup a local repository. I did this for some packages I built
myself as well as all the packages from the F14 install DVD and it
made it very easy to install on all my home computers. That way if you
get an updated RPM you can put it in your repo and it should get
picked up on your next update.
I even setup NFS on the computer I host the local repo on so now all
the other computers just see it as another repository.
No, I don't install too many packages. This was for a virtual machine.
The question was just for answering the criticism from my coworker that
I should have used rpm(8) and not yum(8).
--
Jerry Feldman <gaf(a)blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB CA3B 4607 4319 537C 5846