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.

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


$ zypper --download-only *packagename*

HTH,
TSU

open terminal and add packman

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

$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

$sudo zypper in -d vlc

Get the downloaded rpms from below location and place them in your home folder

/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

zypper in vlc-2.0.5-*.rpm vlc-noX-*.rpm vlc-qt-*.rpm ...

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


/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))

after downloading and moving rpms to home or something you can clean up the files from cache using

sudo zypper clean --all

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))

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

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))