Results 1 to 7 of 7

Thread: Installing Packages (RPM's etc)

  1. #1
    aviceda
    Guest

    Installing Packages (RPM's etc)

    Hi All,

    I'm a Linux newbie (converted Windoze user) and have recently installed Red Hat 9.0, I've been very surprised at the ease of which I'm finding Linux and have managed to grasp mounting filesystems, command lines permissions etc.
    However I seem to have hit the wall with Package installation, Red Hat's seem easy but when I download one from the net and attempt to install, I'm not sure where it has installed it, whether it has installed and how to run it when installed. I tried Synaptic and APT but had file dependency problems, does anyone know where I can find an "Idiot's Guide" to Linux Package Installation or some straightforward tutorials?

    Tom (all help much appreciated!) ???

  2. #2

    Re:Installing Packages (RPM's etc)

    go to a terminal and type man rpm

    the basics:
    rpm -Uvh <package name> <----- installs or upgrades the rpm

    rpm -e <package name> <----- uninstalls the rpm

    rpm -qa | grep <a word in the package> <------ shows which version a package is

    e.g.
    #rpm -qa | grep sendmail
    # sendmail-8.12-9

    to list the files in a package
    #rpm -ql <packagename>

    Another useful one is when you are trying to install a package to fix a dependency problem for another package you are trying to install but you are facing dependency problems with this one as well then you can use --nodeps

    e.g.
    #rpm -Uvh --nodeps <package name>

    same as uninstalling if you want to keep the dependencies.

    #rpm -e --nodeps <package name>

    As for where rpm installs all the files, they are all over the place. Thats why rpm is useful because it gives you one place to manage packages

    I 'think' ??? rpm keeps a database somewhere to tell you whats going on but i cant remember where.
    Its better to regret something you have done than to regret something you havent done :P

  3. #3
    aviceda
    Guest

    Re:Installing Packages (RPM's etc)

    Thanks Frisky,

    Will try these out soon!

    Tom

  4. #4

    Re:Installing Packages (RPM's etc)

    Is that what 'updatedb' is all about?
    Asus A8V Deluxe Mobo
    AMD Athlon64 X2 4400 -939
    2GB Crucial DDR3200 Dual-Channel
    ATi AiW 9800 Pro 128DDR
    Audigy2 ZS
    Sony DRU-810 DVD+RW DL
    3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
    1 x Maxtor MaxLine SATA 120Gb 16Mb Cache

  5. #5

    Re:Installing Packages (RPM's etc)

    nup
    updatedb refreshes your database so you can use 'locate <file>' to look for a file
    whatdoyougetwhenyoumultiplysixbynine??

  6. #6

    Re:Installing Packages (RPM's etc)

    Don't we have an OMP on rpm package managment??

  7. #7

    Re:Installing Packages (RPM's etc)

    wouldn't have a clue
    whatdoyougetwhenyoumultiplysixbynine??

Similar Threads

  1. Installing rpm and tgz packages
    By coladrikkeren in forum Linux - General Topics
    Replies: 2
    Last Post: 07-31-2004, 02:45 PM
  2. Error installing packages under Fedora
    By in forum Linux - Software, Applications & Programming
    Replies: 21
    Last Post: 03-04-2004, 02:17 PM
  3. MOVED: Error installing packages under Fedora
    By trickster in forum General Chat
    Replies: 0
    Last Post: 01-22-2004, 08:17 PM
  4. New Packages
    By stodgel in forum Mandriva
    Replies: 1
    Last Post: 04-19-2003, 04:56 AM
  5. error installing packages "krb5-libs" ; AND NVIDIA troubles
    By SaTaNcLaUz in forum Linux - General Topics
    Replies: 23
    Last Post: 11-14-2002, 09:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •