Skip to content

Linux_Setup

Bharathgopal edited this page Mar 12, 2021 · 1 revision

Software Setup on Linux OS for C Programming

IDE

  • Visula Studio Code for compiling and debuggin the code.
  • Compiling and running without IDE
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install build-essential
  • Compiling and running
    gcc filename.c -o outputname.out
    ./outputname.out

Build tools

  • Make for automating the build
    sudo apt-get install cmake

Code Analysis

  • cppcheck for Static Analysis
  • Valgrind for Heap analysis. Check usage here
    sudo apt-get install valgrind

Source code Management

Test Framework

Documentation