00:00hello friends another piece of software that can replace Turbo Pascal for a
00:07modern operating system Arch Linux in particular is called Lazarus it is an
00:14IDE and depends on Free Pascal as a compiler when we look in the AUR we find
00:23at least three versions Lazarus GTK 2 Lazarus GTK 3 Lazarus Qt 6 I will assume
00:37that the git suffix is for a newer version if I'm not mistaken I don't know if what
00:51I'm gonna say is right however I would say that GTK is for the desktop
01:01environments that depend on GTK GNOME and the ones that are similar and Qt is for
01:13the ones that depend on Qt like KDE, LXQt etc if I'm wrong please tell in the
01:22comments down below from what I'm seeing here there is only a day between Lazarus
01:34GTK 2 and Lazarus GTK 2 for instance I guess I will go with Lazarus GTK 2 there
01:48are always two methods at least for installing applications from the AUR
01:54first one is manually we need to run git clone and from this list after you
02:02choose whichever you like you get this link after you click it and you paste it
02:11here and then CD Lazarus GTK 2 or the one that you have chosen and then make
02:23package that would install it manually on your Arch Linux computer the second way is
02:34using an AUR helper and it should be like this I have chosen GTK 2 let's try with
02:43this this is for the method with an AUR helper you need to know the syntax for
02:50installing packages using it I'm going with the AUR which is almost the
02:55most popular one as I guess there are other options like Paroo the syntax of
03:02Paroo doesn't differ much with EA and there are other pieces of software which
03:08serve as AUR helpers you need to know their syntax here we press enter enter
03:16again here we are prompted to choose to remove the mic dependencies or not but
03:32before that I look at for Lazarus Qt and GTK and found that Qt 6 Lazarus Qt 6 and Qt 5 are in
03:43the official repositories of Arch Linux let's try to install them
03:50Lazarus Qt 5 password here
03:58okay here let's press Y and enter I'm not gonna go with the installation here first no I thought I
04:17press it and sorry password here I want to compare between the dependencies here and
04:25there so we have here eight dependencies and here we have more you know already
04:33that Lazarus Qt is in the official repositories whether Qt 6 or Qt 5
04:39installing it is as simple as running the command like this or like this for me I
04:46will install this one since I have Gnome and Mathe installed on this system that's why it
04:54doesn't try to pull that many dependencies if you wonder why I removed free Pascal
05:02before it's because I wanted to see if it is installed when installing Lazarus or not
05:09and you can see that it is installed as a dependency here I had to input my password and now I should
05:17type Y to continue with the installation
05:20the installation is almost done it's simply removing the dependencies let's try to launch the
05:39application let me say that in case one of the versions didn't want to work for you you may need
05:46to try with another one in case you want to use the binary version and skip any compilation which
05:58happened for me with Lazarus GTK 2 you the ones that are guaranteed not to compile from source are
06:10Lazarus Qt 6 and Lazarus Qt 5 try with them okay everything sounds okay or fine here here you change the layout
06:40we can start the IDE here I'm not gonna go with this with this so deep and make it the full tutorial on using this I guess there are many tutorials online look for them and let's try to run this okay
07:10this is somehow similar to Delphi the famous commercial version of Pascal here is the form that we just created it's working we can for example start a new project
07:33project okay file new console application okay and run it it gives an example there is a I don't know what that is okay
08:03okay okay nothing appeared
08:09anyway that was how to install Lazarus on Arch Linux the IDE for free Pascal please don't forget to subscribe like share and comment I'm signing out and peace
08:25peace
08:27you
08:31you
08:33you
08:35you
08:37you
08:39you
08:41you
08:43you