Results 1 to 9 of 9
i am using a thinned down version of suse linux which doesnt have the c compiler installed.
which rpm should i install to get going ?...
- 02-18-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
cc not found
i am using a thinned down version of suse linux which doesnt have the c compiler installed.
which rpm should i install to get going ?
- 02-18-2010 #2
The c compiler in Linux is gcc When you search in Yast you will see many package with gcc in it generally you only need the gcc package so don't just install everything in sight unless you really need it.
- 02-18-2010 #3Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
thanks !! . I selected gcc in yast and accepted and looks it installed it . But i still dont get cc or gcc or the command line.
- 02-19-2010 #4Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
oops..when i type gcc i only see cpp (the preprocessor ) and libgcc ( the c runtime ). that explains why i didnt see cc.
so i guess i need to get and install the rpm
where do i get rpms for gcc for suse linux? searched the net but cant get it for suse.
i do miss ubuntu...can yast go search the world and get me a package ?
- 02-19-2010 #5Just Joined!
- Join Date
- Oct 2009
- Posts
- 35
Just type "gcc" in the search and it will show all related packages. I recommend you install everything that goes for C or C++
- 02-19-2010 #6Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
i only see libgcc and cpp in my search in yast. I have a stripped down version of suse. I just want a c compiler.
- 02-19-2010 #7
You do not have the correct repositories setup
Tell use the result of
zypper lr -d
- 02-19-2010 #8Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
fsfiler33_02:~ # zypper lr -d
Unknown command 'lr'.
Commands:
help Help
shell, sh Accept multiple commands at once
install, in Install packages or resolvables
remove, rm Remove packages or resolvables
search, se Search for packages matching a pattern
service-list, sl List services, also called installation sources
service-add, sa Add a new service
service-delete, sd Delete a service
service-rename, sr Rename a service
refresh, ref Refresh all installation sources
patch-check, pchk Check for patches
patches, pch List patches
list-updates, lu List updates
update, up Update packages
info, if Show full information for packages
patch-info Show full information for patches
i dont even have a list repository ?
i have
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
cfsfiler33_02:/etc # yast --list
Available modules:
add-on
autofs
autoyast
backup
bootloader
ca_mgm
cd-creator
checkmedia
common_cert
controller
dhcp-server
dirinstall
disk
dns
dns-server
dsl
firewall
groups
heartbeat
host
http-server
hwinfo
idedma
inetd
inst_release_notes
inst_source
inst_suse_register
instserver
irda
iscsi-client
iscsi-server
isdn
kdump
kerberos-client
keyboard
lan
language
ldap
ldap-server
ldap_browser
lvm_config
mail
modem
mouse
nfs
nfs_server
nis
nis_server
ntp-client
online_update
online_update_setup
power-management
powertweak
printer
profile-manager
proxy
remote
restore
routing
runlevel
samba-client
samba-server
security
slp-server
support
sw_single
sysconfig
system_settings
tftp-server
timezone
users
vendor
view_anymsg
wol
xen
- 02-20-2010 #9
Sorry 10.0 is old that instruction was for 11.2 the current OpenSuse version
You need to connect to the Novell repositories and I believe you need active support contract to do that. Could be wrong. I know you need to do some form of registration to connect.
You need to set your repositories in Yast I think you are just getting stuff from the Install CD which Yast views as a repository. In Yast (the GUI version) you should find a repository set up tool. But As I recall it is not named as such. Poke aroud in the Software section and you will find it.


Reply With Quote