# Move packages

**URL:** <https://forums.suse.com/t/move-packages/30330>\
**Category:** SLES Configure-Administer\
**Created:** [September 21, 2017, 1:02am UTC](https://forums.suse.com/t/move-packages/30330 "2017-09-21T01:02:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![open\_suse\_user](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@open\_suse\_user](https://forums.suse.com/u/open_suse_user)\
**Post date:** [September 21, 2017, 1:02am UTC](https://forums.suse.com/t/move-packages/30330/1 "2017-09-21T01:02:25Z")

</div>

Hi. I have two exactly same servers with 11.4 x64 SLES. First one has internet and second - dont.  
I installed some necessary set of packages on 1 server getting some of them from internet and some from CD.  
Before downloading rpms i set cache all in zypper for every repository. But im still not sure that all packages in cache.  
I need to move and install all packages that installed on 1 server to 2 server. With all dependencies. Ho can i do it ?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [September 21, 2017, 1:51am UTC](https://forums.suse.com/t/move-packages/30330/2 "2017-09-21T01:51:06Z")

</div>

I’ve used the --download-only option of zypper, when doing an install, to  
make sure that everything gets downloaded without getting cleaned up, and  
then I’ve moved those other to the second box and just done the install  
from there.

From the zypper manpage:

```auto
Download-and-install mode options:

-d, --download-only
```

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.

---

<div class="post-metadata">

**Author:** ![open\_suse\_user](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@open\_suse\_user](https://forums.suse.com/u/open_suse_user)\
**Post date:** [September 21, 2017, 12:29pm UTC](https://forums.suse.com/t/move-packages/30330/3 "2017-09-21T12:29:47Z")

</div>

Thank you.  
Is there any option to force zypper scan some folder for dependencies while installing some custom package ?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [September 21, 2017, 5:08pm UTC](https://forums.suse.com/t/move-packages/30330/4 "2017-09-21T17:08:45Z")

</div>

You could create that directory as a repository and then add it to the  
list of repositories, just like any other repository, and then zypper will  
check it, in order even, as needed.

Maybe this will help, but I have not tried it myself from this page  
specifically: [https://en.opensuse.org/SDB:Creating\_YaST\_installation\_sources](https://en.opensuse.org/SDB:Creating_YaST_installation_sources)

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.
