# Unable to install libgc-devel package

**URL:** <https://forums.suse.com/t/unable-to-install-libgc-devel-package/41535>\
**Category:** SUSE Linux Enterprise Server\
**Created:** [September 15, 2023, 5:10pm UTC](https://forums.suse.com/t/unable-to-install-libgc-devel-package/41535 "2023-09-15T17:10:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sujeeth\_kamath](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sujeeth_kamath/32/10517_2.png) [@sujeeth\_kamath](https://forums.suse.com/u/sujeeth_kamath)\
**Post date:** [September 15, 2023, 5:10pm UTC](https://forums.suse.com/t/unable-to-install-libgc-devel-package/41535/1 "2023-09-15T17:10:38Z")

</div>

Hello All

We got a new SLES 15 MP5 Server. We are trying to install gcc. Of course we cannot use zypper as the server is iolated and not connected to network. So we have taken rpm option. Download .rpm from SUSE website, copy to server and install

When we tried to install gcc it gave a error that libgc-devel package is required. So we tried to install libgc-devel package. But that failed with error linux-kernel-headers are required.

We ran this command - /usr/src/linux-$(uname -r | sed “s/-default//”)/include/

got the error that -bash: /usr/src/linux-5.14.21-150500.53-default/include/: No such file or directory.

So what package we need to install to get the linux-kernel-headers? Any help will be highly appreciated

---

<div class="post-metadata">

**Author:** ![malcolmlewis1](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis1/32/10022_2.png) [@malcolmlewis1](https://forums.suse.com/u/malcolmlewis1)\
**Post date:** [September 15, 2023, 8:48pm UTC](https://forums.suse.com/t/unable-to-install-libgc-devel-package/41535/2 "2023-09-15T20:48:31Z")

</div>

@sujeeth_kamath Hi and welcome to the Forum 😄

Put in the install media DVD/USB and use that assuming it’s a default install with no updates… it can be added as a local repo if not already there from the install.

---

<div class="post-metadata">

**Author:** ![sujeeth\_kamath](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sujeeth_kamath/32/10517_2.png) [@sujeeth\_kamath](https://forums.suse.com/u/sujeeth_kamath)\
**Post date:** [September 16, 2023, 1:11am UTC](https://forums.suse.com/t/unable-to-install-libgc-devel-package/41535/3 "2023-09-16T01:11:43Z")

</div>

sure let me try. thanks for the update

---

<div class="post-metadata">

**Author:** ![DominionJoe](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@DominionJoe](https://forums.suse.com/u/DominionJoe)\
**Post date:** [September 16, 2023, 9:59am UTC](https://forums.suse.com/t/unable-to-install-libgc-devel-package/41535/4 "2023-09-16T09:59:29Z")

</div>

I would like to get more educated on this platform because i don’t understand a single thing and would like to be an owner or runner on this knowledge
