How to Install 'gcc' in Porteus XFCE v5.0 64-bit Linux?
I tried to Install it using 'slackpkg' command, but it's giving error: test.c:1:10: fatal error: stdio.h: No such file or directory
1 | #include <stdio.h>
[Solved] How to Install GCC
[Solved] How to Install GCC
Last edited by Sam007 on 27 Sep 2023, 18:49, edited 1 time in total.
-
- Full of knowledge
- Posts: 400
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus 5.0-RC1
- Location: In a hayfield
How to Install GCC
Go to this link:
http://ftp.nluug.nl/os/Linux/distr/port ... -devel.xzm
This module contains gcc and the other files needed to compile.
Put the module into your Porteus modules folder, or optional folder and activate it.
EDIT: The 05-devel.xzm is technically a base module and should probably be moved to the porteus/base folder with the others. If you don't want it to be activated on booting, you can keep it in the porteus/optional folder and activate it when you wish which is the method I use.
- Rava
- Contributor
- Posts: 5416
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
How to Install GCC
Since 05-devel.xzm is a large module, you should better not put it in your base/ folder unless you will compile stuff every time you run Porteus.roadie wrote: ↑20 Sep 2023, 19:52The 05-devel.xzm is technically a base module and should probably be moved to the porteus/base folder with the others. If you don't want it to be activated on booting, you can keep it in the porteus/optional folder and activate it when you wish which is the method I use.
@Sam007 Make sure the 05-devel.xzm is from the same version than your Porteus. Because all such modules are named identically. Thus could be from 5.0i586; or for 4.0x86-64; or for 5.0rc2_x86-64 etcetera.
In your case you should only use a version for v5.0_x86-64
E.g. when you updated your Port system (e.g. in your case: Porteus XFCE v5.0 64-bit) Yay, another XFCE user - as seen via
Code: Select all
cat /etc/porteus/*
Cheers!
Yours Rava
Yours Rava