Languages
Harbour
Installing Harbour on Ubuntu in TIDE
Harbour
Harbour is a free, cross-platform compiler for the xBase programming language dialect. It provides backwards compatibility with CA-Clipper code while adding object-oriented features, multi-threading, and database driver support for modern enterprise software development.
Installation
Install Harbour on Ubuntu by compiling it from its source repository:
apt update
apt install -y gcc make git libssl-dev libncurses5-dev
git clone https://github.com/harbour/core.git harbour-core
cd harbour-core
make -j$(nproc)
make installVerification
Check the installed version of Harbour:
hbmk2 --versionWriting and Compiling Code
Create a Harbour source file named hello.prg:
PROCEDURE Main()
? "Hello, World!"
RETURNCompile and build the code using the Harbour build utility (hbmk2):
hbmk2 hello.prgRun the resulting executable:
./hello