Hi there,
Compelete newbie to open suse & linux. I know what I’m about to ask to you guys is childs play but I would like a simple and foolproof guide LOL. The issue I have is that I have installed Open suse 12.1 onto a Asus eee notebook for a client and he’s requested Gcc also for his programing needs. Now open suse is on, Gedit is also on and working great. Yast (ardvark icon) is telling me Gcc ect needed is there too. Now theres no icon for gcc in the apps menu or on the desktop also its saying something about path variables and can’t find gcc in bin dir. Now when most of you have stopped falling over laughing and have some compasion for a microsoft user/worker ish. Can someone please explain in simple steps on where I’ve gone wrong or what I haven’t done. Thanks for reading and hope for a reply
gcc is a command line application, so there is no icon anywhere (it
simply would not make sense).
To install the compiler and all basic things you need I would go for the
C/C++ development pattern.
Open a terminal and type
su -
zypper in -t pattern devel_C_C++
if you prefer installation with yast you can also select that pattern there.
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.5 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
Am 19.08.2012 21:26, schrieb Lone Wulf:
> its saying something about path variables and can’t find gcc in bin dir.
Could you elaborate this?
gcc is in /usr/bin (if it is installed).
What happens in a terminal when you type
gcc -v
?
–
PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.5 | HD 3000
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10
On Sun, 19 Aug 2012 19:26:02 +0000, Lone Wulf wrote:
> Hi there,
> Compelete newbie to open suse & linux. I know what I’m about to ask to
> you guys is childs play but I would like a simple and foolproof guide
> LOL. The issue I have is that I have installed Open suse 12.1 onto a
> Asus eee notebook for a client and he’s requested Gcc also for his
> programing needs. Now open suse is on, Gedit is also on and working
> great. Yast (ardvark icon) is telling me Gcc ect needed is there too.
> Now theres no icon for gcc in the apps menu or on the desktop also its
> saying something about path variables and can’t find gcc in bin dir.
> Now when most of you have stopped falling over laughing and have some
> compasion for a microsoft user/worker ish. Can someone please explain in
> simple steps on where I’ve gone wrong or what I haven’t done. Thanks for
> reading and hope for a reply
You haven’t done anything wrong - you’ve just misunderstood what gcc is -
it’s a compiler, not a development environment. As such, it’s a command-
line tool and won’t appear in the menus.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
On 08/19/2012 09:26 PM, Lone Wulf wrote:
> Can someone please explain in
> simple steps
ok, the other guys gave some good advice…if you know what a “terminal”
and/or a “command line” is…
if not, try this: http://tinyurl.com/ydbwssh
the title there speaks of “su” which is command line program which is
used to “switch user”…most often to switch from your on user ID to root…
in Linux there is no reason i can find to ever log into the GUI as root,
super user or administrator…log in as yourself, then use tools with
root powers (like YaST) or “become root” in a terminal…
some others with a lot more Windows experience than i have swear that
there are valid reasons… so ymmv
–
dd