# SLES12SP5 Kernel source License information

**URL:** <https://forums.suse.com/t/sles12sp5-kernel-source-license-information/35394>\
**Category:** SUSE Linux Enterprise Server\
**Created:** [November 26, 2020, 11:08am UTC](https://forums.suse.com/t/sles12sp5-kernel-source-license-information/35394 "2020-11-26T11:08:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishal](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@vishal](https://forums.suse.com/u/vishal)\
**Post date:** [November 26, 2020, 11:08am UTC](https://forums.suse.com/t/sles12sp5-kernel-source-license-information/35394/1 "2020-11-26T11:08:50Z")

</div>

Hello Forum Users,  
i want to know the license information for SLES12SP5 kernel source . where can i get it .

Thanks in advance.

---

<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 26, 2020, 1:58pm UTC](https://forums.suse.com/t/sles12sp5-kernel-source-license-information/35394/2 "2020-11-26T13:58:25Z")

</div>

@vishal Hi, it’s all under the GPL… firmware ones will be down in /usr/share/licenses or /usr/share/doc/packages.

For the modules, grep the license eg;

```auto
/sbin/modinfo i915 | grep license
license: GPL and additional rights

```

Ref: [https://www.kernel.org/doc/html/v5.3/process/license-rules.html](https://www.kernel.org/doc/html/v5.3/process/license-rules.html)  
Ref: [https://www.kernel.org/doc/html/v4.12/process/](https://www.kernel.org/doc/html/v4.12/process/) SP5 Kernel

You can also see the license information in the output from the SCC package search and save to a file, eg;

```auto
Name,Version,License,Architecture,Module
....
kernel-source,4.12.14-122.7.1,GPL-2.0,noarch,SUSE Linux Enterprise Server 12 SP5
kernel-source,4.12.14-122.51.2,GPL-2.0,noarch,SUSE Linux Enterprise Server 12 SP5
kernel-source,4.12.14-122.46.1,GPL-2.0,noarch,SUSE Linux Enterprise Server 12 SP5
....

```

---

<div class="post-metadata">

**Author:** ![vishal](https://avatars.discourse-cdn.com/v4/letter/v/49beb7/32.png) [@vishal](https://forums.suse.com/u/vishal)\
**Post date:** [November 26, 2020, 2:09pm UTC](https://forums.suse.com/t/sles12sp5-kernel-source-license-information/35394/3 "2020-11-26T14:09:52Z")

</div>

@malcolmlewis Thanks for the response.  
Could you also guide me on query i posted earlier  
[https://forums.suse.com/discussion/15117/sles15-default-iptable-rule-causing-issue/p1](https://forums.suse.com/discussion/15117/sles15-default-iptable-rule-causing-issue/p1)  
Thanks in advance
