Linux – Ubuntu and Lazarus

Ubuntu and Lazarus… here is a solution to the problem.

Ubuntu and Lazarus

Today I installed Ubuntu and Lazarus IDE (Delphi-style cross-platform IDE). I don’t know anything about the file structure of the Linux operating system. Do you know of some tutorials that will get me started specifically with Lazarus, does Linux have modules and APIs or how it works?

Solution

Some general information:

In Linux (almost) everything is implemented in libraries, look at dpkg -l | grep libraries. All Debian packages that begin with lib are libraries that install libraries to /usr/lib or /lib.

There is usually a lib*-doc package for a library that contains its API documentation. Package documentation is typically installed to /usr/share/doc.

Help may also be available in the online help page system, try the man man and GNU info tools.

The C/C++ headers are located in /usr/include, and you must translate them into Pascal to use the library.

Of course, Lazarus and FreePascal also have their own libraries, which you might want to check out first.

There is also an Ubuntu-specific StackExchange site: https://askubuntu.com/

Related Problems and Solutions