c in ubuntu

cha777

Active member
  • Nov 8, 2007
    255
    39
    28
    mama use karanne ubuntu 10.10 desktop edition 1
    1e c programming karanne kohomada kiyala danna kauruwath innawanam mata help 1k denna...plz
     

    vidura99

    Well-known member
  • Oct 16, 2009
    14,306
    1,361
    113
    Colombo
    1. Install the compiler.
    sudo apt-get install build-essential 2. Install the debugger.
    sudo apt-get install gdb You'll need to install wxWidgets to use Codeblocks. Revisions from 4051 and after use wxWidgets 2.8.4. If you want to install them, make sure you have your universe and multiverse repositories enabled and install the following packages.
    3. Install wxWidgets library. (This package is all that is needed to run any application that uses wxWidgets. ie. Code::Blocks)
    sudo apt-get install libwxgtk2.8-0 4. Install the wxWidgets developement packages. (This is used to develop wxWidgets applications of your own.)
    sudo apt-get install libwxgtk2.8-dev 5. (OPTIONAL) Install the wxWidgets documentation.
    sudo apt-get install wx2.8-doc Now go get the nightly build and install it. All dependencies should now be met.
    1. Get the latest nigtly build of Code::Blocks from the nightly builds forum.
    2. Install Code::Blocks.
    sudo dpkg -i <Name_Of_Daily_Build.deb> NOTE: Since revision 4281 and after, the nightly builds are made differently. Codeblocks is now packaged into separate Debian packages and the packages are archived together in a tar.gz file.
    1. Download the tar.gz file to your computer and extract the files to an empty directory, such as one called temp for example.
    tar xvf CB_date-of-build_revision-number_Ubuntu6.10+7.04_wx2.8.4.tar.gz 2. Install all the packages at the same time.
    sudo dpkg -i *.deb
     

    RLT4U

    Well-known member
  • Dec 12, 2006
    12,491
    1
    10,612
    113
    ගෙදර බන් !!
    machan ubuntu wala thiyenawa TERMINAL kiyala ekak... eka use karapan
    machan habai C,C++ witharai puluwan...
    machan codeblocks ubuntu eka wada karanne na mama hithana widiyata... lol
     

    vidura99

    Well-known member
  • Oct 16, 2009
    14,306
    1,361
    113
    Colombo
    machan ubuntu wala thiyenawa TERMINAL kiyala ekak... eka use karapan
    machan habai C,C++ witharai puluwan...
    machan codeblocks ubuntu eka wada karanne na mama hithana widiyata... lol


    Ubuntu wala code block wada. .deb eka da ganin


    Codeblocks is a nice IDE for C/C++ with builtin GCC compiler.

    nathnum GCC ekak wenama install karala terminal eke compile run karanna :cool::cool: