Hi all
i’m new user to linux.
i’ve installed suse11.0,but i’m not able to find the gcc compiler.i’ve also tried “sudo apt-get install build-essential” it says apt-get: command not found.
Is there anywayto install gcc package
Hi
This is openSUSE not a debian release use zypper in gcc from the CLI
or use YaST…
–
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-pae
up 2:11, 1 user, load average: 1.45, 0.92, 0.48
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22
Computer (menu) > Install software > Search for “gcc” > click on the “GCC” > click on “Install”
You cand try also with apt-get, but you have to install apt first. To install apt, go to yast / software management/ search for apt / install, and then
apt-get install gcc
BTW, if you are already in YaST’s Software Management do not forget to install gcc too^^.
Use the pre-installed package managers from CLI as malcolmlewis suggested (zypper) - do not waste your time for installing another CLI manager.
Hello all pls i have the exact same problem but when i search for gcc in yast it shows it ticked meaning it has been installed but i still get the gcc errors and the make error i really dnt know wat to do and im really frustrated pls help anyone someone i just installed suse 11.1 and i cant even find anything on the dvd.
Dninja wrote:
> Hello all pls i have the exact same problem but when i search for gcc in
> yast it shows it ticked meaning it has been installed but i still get
> the gcc errors and the make error i really dnt know wat to do and im
> really frustrated pls help anyone someone i just installed suse 11.1 and
> i cant even find anything on the dvd.
First, please fix your grammar and add some kind of structure. It’s
annoying to read.
To install a C/C++ compiler and required Development Tools, open YAST
Software Management, change filter to ‘Patterns’ and select ‘C/C++
Development’. Click ‘Accept’. To accomplish this from a command line, as
root, issue ‘zypper install -t pattern devel_C_C++’.
Kind regards,
Andreas Stieger
I had to install the gcc as well because it wasn’t installed by default.
When I typed gcc at the shell, it prompted me to install with the sudo command with zypper.
I think it may have been…
sudo zypper install gcc-g++
thank you Andreas Stieger and sorry about my grammar, i was a little bit frustrated. Well i tried what you said i should do, but when i opened the software manager, there was no filter named patterns the only filters where:search, package groups, repositories, language, and installation summary. So am still stuck and don’t know what to do.
Had the same difficulty while using GNOME live DVD (12.3) and without internet access I could not make gcc run.
I have tried the above mentioned commands and yast but since gcc was lacking dependancies I could not make it running.
In case that somebody has a similar problem just connect to the internet and run yast eventually from Activities menu pick System tools -> Install / Remove Software. Filter the results by gcc or C++, tick a few gcc packets and in the right lower corner click apply or install. This should be enough and I hope it saves you some time.
-Paweł
This is a very old thread.