# installing gcc on SUSE Enterprise Server 12 SP4

**URL:** <https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585>\
**Category:** SLES for Raspberry Pi\
**Created:** [February 21, 2019, 4:10am UTC](https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585 "2019-02-21T04:10:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanuki\_software](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@tanuki\_software](https://forums.suse.com/u/tanuki_software)\
**Post date:** [February 21, 2019, 4:10am UTC](https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585/1 "2019-02-21T04:10:17Z")

</div>

Hello

I tried to install gcc on SUSE Enterprise Server 12 SP4 with the following command:

```auto
zypper install gcc
```

I got the following output:

[QUOTE]Problem: nothing provides gcc48 needed by gcc-4.8-6.38.aarch64  
Solution 1: do not install gcc-4.8-6.38.aarch64  
Solution 2: break gcc-4.8-6.38.aarch64 by ignoring some of its dependencies[/QUOTE]

Even after selecting solution 2, gcc can’t be used.

I used the same command on SUSE 15 and it worked well.

How can I install gcc on SUSE 12 SP4?

Please advise.

Thanks

---

<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:** [February 21, 2019, 4:39am UTC](https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585/2 "2019-02-21T04:39:08Z")

</div>

[QUOTE=tanuki\_software;56856]Hello

I tried to install gcc on SUSE Enterprise Server 12 SP4 with the following command:

```auto
zypper install gcc
```

I got the following output:

Even after selecting solution 2, gcc can’t be used.

I used the same command on SUSE 15 and it worked well.

How can I install gcc on SUSE 12 SP4?

Please advise.

Thanks[/QUOTE]  
Hi and welcome to the Forum 🙂  
I have an open bug report on this since SLES 12 SP2 (on the RPi3), [https://bugzilla.novell.com/show\_bug.cgi?id=1063792](https://bugzilla.novell.com/show_bug.cgi?id=1063792) (Not sure if you can see it).

It should be available via the Toolchain or SDK modules, are these added on your aarch64 system?

---

<div class="post-metadata">

**Author:** ![tanuki\_software](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@tanuki\_software](https://forums.suse.com/u/tanuki_software)\
**Post date:** [February 21, 2019, 7:48am UTC](https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585/3 "2019-02-21T07:48:17Z")

</div>

Thank you for your reply.

I can’t access the bug report.  
I am also using a RPi3.  
Not sure if the Toolchain or SDK modules are installed. How can I get them? Are they free once you purchased a SUSE license?

---

<div class="post-metadata">

**Author:** ![tanuki\_software](https://avatars.discourse-cdn.com/v4/letter/t/6a8cbe/32.png) [@tanuki\_software](https://forums.suse.com/u/tanuki_software)\
**Post date:** [February 21, 2019, 9:35am UTC](https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585/4 "2019-02-21T09:35:37Z")

</div>

I got the SDK (DVD1) from here: [https://download.suse.com/index.jsp](https://download.suse.com/index.jsp)  
Installed it with YaST (‘C/C++ Compiler and Tools’ only) and got gcc 4.8.5.  
Problem solved. Thank you!

---

<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:** [February 21, 2019, 2:19pm UTC](https://forums.suse.com/t/installing-gcc-on-suse-enterprise-server-12-sp4/33585/5 "2019-02-21T14:19:22Z")

</div>

> [@](#):
>
> On Thu 21 Feb 2019 05:54:01 AM CST, tanuki software wrote:
> 
> Thank you for your reply.
> 
> I can’t access the bug report.  
> I am also using a RPi3.  
> Not sure if the Toolchain or SDK modules are installed. How can I get  
> them? Are they free once you purchased a SUSE license?

Hi  
Yes, they are free module, you add them via SUSEConnect command as root  
user;

```auto
SUSEConnect --list-extensions
```

This will show them as well as then command to add, I see you obtained  
via the SDK, doing above will aslo add the update repositories so the  
system will be kept up to date 🙂

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.28-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!
