Results 1 to 8 of 8

Thread: Install VLC and preserve downloaded rpm files for use later

  1. #1

    Default Install VLC and preserve downloaded rpm files for use later

    I want to install VLC and keep the all the installation files that are downloaded so that I can reuse them latter, I live have limited bandwidth.

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,306
    Blog Entries
    2

    Default Re: Install VLC and preserve downloaded rpm files for use later

    From the zypper MAN pages, you can download packages without installing. Copy your packages before running your actual install.

    Code:
    $ zypper --download-only packagename
    HTH,
    TSU

  3. #3
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Install VLC and preserve downloaded rpm files for use later

    Quote Originally Posted by pranav135 View Post
    I want to install VLC and keep the all the installation files that are downloaded so that I can reuse them latter, I live have limited bandwidth.
    open terminal and add packman
    Code:
    sudo zypper ar -f http://packman.inode.at/suse/12.2/packman.repo
    Then perform dry run / install for vlc and note down the package names
    Code:
    $sudo zypper in -D vlc
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following NEW packages are going to be installed:
      libcddb2 libdvbpsi7 libebml3 libfluidsynth1 libftgl2 libGLEW1_7 liblash1 
      libmatroska5 libmtp9 libprojectM2 libtar1 libupnp6 libvlc5 libvlccore5 
      libxcb-composite0 vlc vlc-noX vlc-qt 
    
    18 new packages to install.
    Overall download size: 8.8 MiB. After the operation, additional 41.5 MiB will 
    be used.
    Continue? [y/n/?] (y): y
    Download packages
    Code:
    $sudo zypper in -d vlc
    Get the downloaded rpms from below location and place them in your home folder
    Code:
    /var/cache/zypp/packages
    Later navigate to the folder where the rpms are present in terminal and run the command like. Ensure that you mention all rpm names

    Code:
    zypper in vlc-2.0.5-*.rpm vlc-noX-*.rpm vlc-qt-*.rpm ...
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Install VLC and preserve downloaded rpm files for use later

    On 2012-12-27 17:26, pranav135 wrote:
    >
    > I want to install VLC and keep the all the installation files that are
    > downloaded so that I can reuse them latter, I live have limited
    > bandwidth.


    Modify the packman repo, and probably all repos, so that they keep
    downloaded packages. This is a tick box in yast repository management,
    or an option in zypper modify repo.

    Once done, what you install will be kept somewhere under

    Code:
    /var/cache/zypp/packages/{repository alias}/

    The next step if you have several computers is to share that directory
    via nfs, and make sure all computers use the same alias for the repos,
    or use symlinks.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  5. #5
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Install VLC and preserve downloaded rpm files for use later

    after downloading and moving rpms to home or something you can clean up the files from cache using
    Code:
    sudo zypper clean --all
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Install VLC and preserve downloaded rpm files for use later

    On 2012-12-27 20:06, vazhavandan wrote:
    >
    > after downloading and moving rpms to home or something you can clean up
    > the files from cache using
    >
    > Code:
    > --------------------
    > sudo zypper clean --all
    > --------------------


    Why move them at all? I keep all downloaded packages, for the case I
    have to reinstall, install another machine, or install a virtual
    machine. All of them share the same rpm storage.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

  7. #7
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: Install VLC and preserve downloaded rpm files for use later

    Quote Originally Posted by robin_listas View Post
    Why move them at all? I keep all downloaded packages, for the case I
    have to reinstall, install another machine, or install a virtual
    machine. All of them share the same rpm storage.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))
    if i don't move them all to home there might be longer YaST start up time
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Install VLC and preserve downloaded rpm files for use later

    On 2012-12-28 04:16, vazhavandan wrote:

    > if i don't move them all to home there might be longer YaST start up
    > time


    Not at all, start up time is the same. I have several gigabytes there,
    no difference.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4, with Evergreen, x86_64 "Celadon" (Minas Tirith))

Posting Permissions

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