# Installed packages and extra modules?

**URL:** <https://forums.suse.com/t/installed-packages-and-extra-modules/30512>\
**Category:** SLES Install-Boot\
**Created:** [November 6, 2017, 6:54pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512 "2017-11-06T18:54:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [November 6, 2017, 6:54pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512/1 "2017-11-06T18:54:29Z")

</div>

Is there way to determine which packages installed on a box are from which package? Getting a notification that the “Legacy Module” is now deprecated and I’m trying to figure out if we have anything installed from it or we can just ignore this.

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [November 6, 2017, 7:34pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512/2 "2017-11-06T19:34:28Z")

</div>

> [@](#):
>
> On Mon 06 Nov 2017 05:04:02 PM CST, skunkboy wrote:
> 
> Is there way to determine which packages installed on a box are from  
> which package? Getting a notification that the “Legacy Module” is now  
> deprecated and I’m trying to figure out if we have anything installed  
> from it or we can just ignore this.
> 
> Thanks,  
> Matt

Hi Matt  
Look at the options for zypper se…

```auto
zypper se --help

zypper se --provides /usr/bin/bash
i | bash | The GNU Bourne-Again Shell | package

zypper se --file-list /usr/bin/bash
i | bash | The GNU Bourne-Again Shell | package
```

Do you have a particular package/file in question?

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.2|GNOME 3.20.2|4.4.90-18.32-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [November 6, 2017, 7:58pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512/3 "2017-11-06T19:58:25Z")

</div>

On 06/11/17 17:04, skunkboy wrote:  
[color=blue]

> Is there way to determine which packages installed on a box are from  
> which package? Getting a notification that the “Legacy Module” is now  
> deprecated and I’m trying to figure out if we have anything installed  
> from it or we can just ignore this.[/color]

I think you’re asking which packages are installed from which module? If  
so, modules show up as repos so you can do “zypper lr” to list all  
repos. You can then do “zypper se -ir ” (where is the  
number of the repo corresponding to the Legacy Module) to list all  
packages installed from that module.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

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

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [November 6, 2017, 8:26pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512/4 "2017-11-06T20:26:57Z")

</div>

On 06/11/17 17:58, Simon Flood wrote:  
[color=blue]

> I think you’re asking which packages are installed from which module? If  
> so, modules show up as repos so you can do “zypper lr” to list all  
> repos. You can then do “zypper se -ir ” (where is the  
> number of the repo corresponding to the Legacy Module) to list all  
> packages installed from that module.[/color]

Sorry, it’s actually simpler than this if you know the name of the  
module. Note there should be two repos enabled for each module, -Pool  
and -Updates just as per SLES12. You can use “zypper se -ir  
SLE-Module-12-Pool -r SLE-Module--Updates”.

So to find out which packages have been installed from the Legacy Module  
use “zypper se -ir SLE-Module-Legacy12-Pool -r SLE-Module-Legacy12-Updates”.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

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

---

<div class="post-metadata">

**Author:** ![skunkboy](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@skunkboy](https://forums.suse.com/u/skunkboy)\
**Post date:** [November 6, 2017, 8:46pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512/5 "2017-11-06T20:46:23Z")

</div>

Uhm, yes, bad mangled my question, didn’t I… sigh…

Thanks!

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [November 6, 2017, 11:52pm UTC](https://forums.suse.com/t/installed-packages-and-extra-modules/30512/6 "2017-11-06T23:52:47Z")

</div>

Simon Flood Wrote in message:  
[color=blue]

> Sorry, it’s actually simpler than this if you know the name of the  
> module. Note there should be two repos enabled for each module, -Pool  
> and -Updates just as per SLES12. You can use “zypper se -ir  
> SLE-Module-12-Pool -r SLE-Module--Updates”.[/color]

Whoops that second -r should have been SLE-Module-12-Updates  
so “zypper se -ir SLE-Module-12-Pool -r SLE-Module-12  
-Updates”.  
[color=blue]

> So to find out which packages have been installed from the Legacy Module  
> use “zypper se -ir SLE-Module-Legacy12-Pool -r SLE-Module-Legacy12-Updates”.[/color]

At least I got it right above!

## HTH.

Simon Flood  
SUSE Knowledge Partner

----Android NewsGroup Reader----  
[http://usenet.sinaapp.com/](http://usenet.sinaapp.com/)
