Difference between revisions of "BGRA Installation on Linux"

From Free Pascal wiki
Jump to navigationJump to search
Line 12: Line 12:
 
'''Steps:'''
 
'''Steps:'''
 
* 1. Install Proxmox and have a clone of the Linux MINT as sandbox.
 
* 1. Install Proxmox and have a clone of the Linux MINT as sandbox.
* 2. Install SSH server: sudo apt install openssh-server
+
* 2. Install SSH server: <source>sudo apt install openssh-server</source>
* 3. Install needed libraries: 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
+
* 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</source>
sudo apt-get update
+
<source>sudo apt-get update
 
sudo apt-get install libxtst-dev
 
sudo apt-get install libxtst-dev
sudo apt-get install libgl1-mesa-dev
+
sudo apt-get install libgl1-mesa-dev</source>
* 4. Go into downloads folder and download FPCUPDeluxe with wget --content-disposition https://github.com/newpascal/fpcupdeluxe/releases/download/1.4.0s/fpcupdeluxe-x86_64-linux
+
* 4. Go into downloads folder and download FPCUPDeluxe with <source> wget --content-disposition https://github.com/newpascal/fpcupdeluxe/releases/download/1.4.0s/fpcupdeluxe-x86_64-linux </source>
 
* 5. Make the download executable with <source> chmod +x fpcupdeluxe-x86_64-linux </source>
 
* 5. Make the download executable with <source> chmod +x fpcupdeluxe-x86_64-linux </source>
* 6. Launch the executable in the graphic console with ./fpcupdeluxe-x86_64-linux
+
* 6. Launch the executable in the graphic console with <source>./fpcupdeluxe-x86_64-linux</source>
 
* 7. Now select CPU x8664 and OS linux, FPC 3.0.4 and Lazarus fixes 1.8
 
* 7. Now select CPU x8664 and OS linux, FPC 3.0.4 and Lazarus fixes 1.8
 
* 8. Run the install option
 
* 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.
 
* 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.
 
* 10. Open Lazarus and enjoy the new pallet entries.

Revision as of 15:13, 15 October 2017

BGRA Installation on Linux

Prerequisites:

  • 1. Proxmox as virtualization solution
  • 2. Linux MINT 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 make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev
sudo apt-get update
sudo apt-get install libxtst-dev
sudo apt-get install libgl1-mesa-dev
  • 4. Go into downloads folder and download FPCUPDeluxe with
     wget --content-disposition https://github.com/newpascal/fpcupdeluxe/releases/download/1.4.0s/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.