• Post Reply Bookmark Topic Watch Topic
  • New Topic

easier way to manage packages?  RSS feed

 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Firstly, I'm running a fresh install of RH9 and KDE. I chose the packages and trimmed several during the installation since I was short on disk space. I want to install xine, but that needed gcc and I'd left this out.

I tried to add it from the install CD, but after installing, RH did an auto-update and would no longer install from the CD since it didn't like the versions.

No probs, I got GCC from rpmfind. Nope, can't install that, I need to update libgcc, cpp and binutils. OK. Then I had a side issue with CPP but resolved that. I can now configure xine, but it won't include the X components as I left out the XFree86-devel package. It won't install from the CD either, and it needs 3 other libraries first. That'll be a job for tomorrow.

I'm doing all installs from the command line too. Sure there's an easier way, or is this life?
 
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does Red Hat use urpmi? that's your command-line, install-it-all automatic tool if so. Mandrake uses it, at least, and i'm sure RH has something equivalent to it, if not the exact same thing. it'll download a package and any prerequisites for it from the appropriate update site and set it all up in one command.

if Red Hat turns out not to use urpmi, then you'll need to find out just what it does use instead. that fancy graphical auto-update tool is certain to be backed by some command-line utility, it's just a matter of finding its name.

from the urpmi(8) man page on my Mandrake 10.1 box:
 
Saloon Keeper
Posts: 18800
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YUM (http://linux.duke.edu/projects/yum/). It's available for RedHat 7.x and up and standard with the Fedora releases. Automagically resolves dependencies and downloads/installs updates.

Can't be simpler to use. To install xine, the command is (run as root):

yum install xine

Any missing dependencies it will discover and ask for permission to D/L them too. Very much like Perl's CPAN installer.

There's also an apt-rpm facility, but yum does everything I need.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by David O'Meara:

I'm doing all installs from the command line too. Sure there's an easier way, or is this life?


Yes, there's an easier way: Debian. Personally, I like apt-get much better than rpm. The Debian package manager seems much more intelligent when it comes to resolving conflicts and updating packages.

Layne
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've heard of apt-get and ran into yum without knowing what it was. I hadn't seen urpmi. None are installed but I'll make that a priority. If any of these work I'll be a very happy fellow. Thanks!

Dave
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!