Find the answer to your Linux question:
Results 1 to 9 of 9
hi folks, i installed vlc but i already had rpmfusion-free-release-stable.noarch.rpm so i did this. PHP Code: [ root @ pc  /] # rpm -ivh rpmfusion-free-release-stable.noarch.rpm  warning :  rpmfusion - free - release - ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! jonniemuk's Avatar
    Join Date
    Jul 2009
    Location
    E.Africa
    Posts
    59

    how do i get the downloaded vlc packages for reinstallation.


    hi folks,
    i installed vlc but i already had rpmfusion-free-release-stable.noarch.rpm
    so i did this.

    PHP Code:
    [root@pc /]# rpm -ivh rpmfusion-free-release-stable.noarch.rpm 
    warningrpmfusion-free-release-stable.noarch.rpmHeader V3 RSA/SHA256 Signaturekey ID a3780952NOKEY
    Preparing
    ...                ########################################### [100%]
       
    1:rpmfusion-free-release ########################################### [100%] 
    [root@pc /]# yum install vlc

    vlc installed sucessfully but i need to install it on another machine and i dont want to download it again. so please some help

  2. #2
    Just Joined!
    Join Date
    Dec 2006
    Posts
    36
    Look for the rpm file for vlc in /var/cache/yum/rpmfusion*
    The file name would be something like vlc-{version_number}.rpm
    Copy this file on other machine. And issue this command:
    Code:
    rpm -ivh vlc*.rpm
    If you get signature error then try with --nosignature option. If you want to auto install dependencies as well then try with:
    Code:
    yum localinstall vlc*.rpm

  3. #3
    Just Joined! jonniemuk's Avatar
    Join Date
    Jul 2009
    Location
    E.Africa
    Posts
    59
    This is what is in the named directory
    [root@pc yum]# pwd
    /var/cache/yum
    [root@pc yum]# ls
    i386 installed
    As in there is no such file as vlc but there are packagekit rpm updates. And secondly the dependencies are so many and dont start with the name "vlc" so "vlc*.rpm" wild cards may not work.
    Last edited by jonniemuk; 04-25-2012 at 03:09 PM. Reason: typo

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    Quote Originally Posted by jonniemuk View Post
    This is what is in the named directory



    As in there is no such file as vlc but there are packagekit rpm updates. And secondly the dependencies are so many and dont start with the name "vlc" so "vlc*.rpm" wild cards may not work.
    So the cache has already been cleaned up. You'll either have to download it again, or install rpmrebuild and rebuild the rpm on the system where you installed vlc.

  6. #5
    Just Joined! jonniemuk's Avatar
    Join Date
    Jul 2009
    Location
    E.Africa
    Posts
    59
    Quote Originally Posted by Mudgen View Post
    So the cache has already been cleaned up. You'll either have to download it again, or install rpmrebuild and rebuild the rpm on the system where you installed vlc.
    So how do i use rpmrebuild?

  7. #6
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    Quote Originally Posted by jonniemuk View Post
    So how do i use rpmrebuild?
    1) Install it
    2) As root,
    Code:
    rpmrebuild vlc
    It will tell you where it put the rpm.

  8. #7
    Linux Newbie
    Join Date
    Oct 2008
    Posts
    153
    You may have to download it one more time. If so, yumdownloader vlc will download it and its' dependencies into the current directory. Then you can install onto other computers with yum localinstall vlc.

  9. #8
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    664
    vlc has the following package dependencies in Fedora 16, as an example. You're going to need the rpm for each one that's not already on the target system. "yumdownloader" will only grab the dependencies not already installed on the system where yumdownloader is run, so doing it on the system where you've installed vlc is not going to get them.

    Package dependencies:
    aalib-libs
    bash
    cairo
    dbus-libs
    dejavu-sans-fonts
    dejavu-sans-mono-fonts
    dejavu-serif-fonts
    freetype
    freetype-freeworld
    fribidi
    gdk-pixbuf2
    glib2
    glibc
    kde-filesystem
    libcaca
    libgcc
    libICE
    libpng
    libprojectM
    librsvg2
    libSM
    libstdc++
    libtar
    libX11
    libxcb
    libXext
    libXpm
    mesa-libGL
    minizip
    pulseaudio-libs
    qt
    qt-x11
    vlc-core
    xcb-util
    xdg-utils
    zlib

    There are specific minimum version numbers for each, but grab the latest of each one and you should be good. It would also be simple to pipe the list to a bash "for" loop that did an rpmrebuild for each on the system where vlc is installed.

  10. #9
    Just Joined! jonniemuk's Avatar
    Join Date
    Jul 2009
    Location
    E.Africa
    Posts
    59
    thanks folks, i have been off for a while but i will try the above solutions and get back to you.

Posting Permissions

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