Difference between revisions of "BGRA Installation on Linux"

From Lazarus wiki
Line 5: Line 5:
 
'''Prerequisites:'''
 
'''Prerequisites:'''
 
* 1. Proxmox as virtualization solution
 
* 1. Proxmox as virtualization solution
* 2. Linux MINT 18.2 XFCE 64 bits as operating system
+
* 2. Linux MINT 18.3 XFCE 64 bits as operating system
  
 
Using a virtualization solution has the advantage of starting with a clean system very easy. The resources of the host a well utilized in terms of, example hosting several systems on a computer instead of only one.
 
Using a virtualization solution has the advantage of starting with a clean system very easy. The resources of the host a well utilized in terms of, example hosting several systems on a computer instead of only one.
Line 17: Line 17:
 
<source>sudo apt install openssh-server</source>
 
<source>sudo apt install openssh-server</source>
 
* 3. Install needed libraries:  
 
* 3. Install needed libraries:  
<source>sudo aptitude install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev unrar</source>
+
<source>sudo aptitude install -y make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev unrar</source>
 
<source>sudo apt-get update
 
<source>sudo apt-get update
 
sudo apt-get install -y libxtst-dev libgl1-mesa-dev
 
sudo apt-get install -y libxtst-dev libgl1-mesa-dev
 
sudo apt-get install -y libatk-adaptor</source>
 
sudo apt-get install -y libatk-adaptor</source>
 
* 4. Go into downloads folder and download FPCUPDeluxe with  
 
* 4. Go into downloads folder and download FPCUPDeluxe with  
<source> wget --content-disposition https://github.com/newpascal/fpcupdeluxe/releases/download/v1.6.0d/fpcupdeluxe-x86_64-linux</source>
+
<source> wget --content-disposition https://github.com/newpascal/fpcupdeluxe/releases/download/v1.6.0m/fpcupdeluxe-x86_64-linux</source>
 
* 5. Make the download executable with  
 
* 5. Make the download executable with  
 
<source> chmod +x fpcupdeluxe-x86_64-linux </source>
 
<source> chmod +x fpcupdeluxe-x86_64-linux </source>

Revision as of 11:29, 28 December 2017

BGRA Installation on Linux

Prerequisites:

  • 1. Proxmox as virtualization solution
  • 2. Linux MINT 18.3 XFCE 64 bits as operating system

Using a virtualization solution has the advantage of starting with a clean system very easy. The resources of the host a well utilized in terms of, example hosting several systems on a computer instead of only one. Proxmox as open source virtualization solution has Enterprise capabilities that are found only in commercial versions of ESXi for example.

Linux MINT XFCE offers a graphic environment with a very light overhead making it a good choice for virtualization where a GUI is needed.

Steps:

  • 1. Install Proxmox and have a clone of the Linux MINT as sandbox.
  • 2. Install SSH server:
sudo apt install openssh-server
  • 3. Install needed libraries:
sudo aptitude install -y make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev unrar
sudo apt-get update
sudo apt-get install -y libxtst-dev libgl1-mesa-dev
sudo apt-get install -y libatk-adaptor
  • 4. Go into downloads folder and download FPCUPDeluxe with
 wget --content-disposition https://github.com/newpascal/fpcupdeluxe/releases/download/v1.6.0m/fpcupdeluxe-x86_64-linux
  • 5. Make the download executable with
 chmod +x fpcupdeluxe-x86_64-linux
  • 6. Launch the executable in the graphic console with
./fpcupdeluxe-x86_64-linux
  • 7. Now select CPU x8664 and OS linux, FPC 3.0.4 and Lazarus fixes 1.8
  • 8. Run the install option
  • 9. After installation is done open Online Package Manager from the Package Menu. Select BGRA Bitmap and Controls and wait for download and compilation.
  • 10. Open Lazarus and enjoy the new pallet entries.