Find the answer to your Linux question:
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 ?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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 ?

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    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.

  3. #3
    Just 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.

  4. #4
    Just 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 ?

  5. #5
    Just 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++

  6. #6
    Just 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.

  7. #7
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    You do not have the correct repositories setup

    Tell use the result of

    zypper lr -d

  8. #8
    Just 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

  9. #9
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •