Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.01 KB

INSTALLING.md

File metadata and controls

59 lines (41 loc) · 1.01 KB

Installing the compiler GCC

Ubuntu or Debian

sudo apt-get install build-essential

Fedora

sudo dnf install gcc

CentOS or RHEL

sudo yum groupinstall "Development Tools"

macOS

brew install gcc

Windows

On Windows, the easiest way to install GCC is to use MinGW. You can download and install the MinGW package from their site and then run the command in the terminal: term=Test%20Code%20Online&searchbox=0&showDomain=0&backfill=0

mingw-get install gcc

Downloading libraries

WebKitGTK+ 4.0

sudo apt-get update
sudo apt-get install libwebkit2gtk-4.0-dev

Libcmark

sudo apt-get install libcmark-dev

Program compilation

gcc main.c -o markdown_viewer `pkg-config --cflags --libs gtk+-3.0` -lcmark

Running the program

./markdown_viewer