Lazarus opensource application for replacing delphi :D

The study of Programming and computer aplication in my department (agricultural engineering) was used delphi for basic programming study. The lecturer teacing how to make application for information system in agriculture, this application based on pascal language with Delphi IDE. Delphi regular run in windows environment, perhaps we can replace this tool with opensource application, ie kylix or lazarus.
What’s Lazarus?

Lazarus is the class libraries for Free Pascal that emulate Delphi. Free Pascal is a GPL’ed compiler that runs on Linux, Win32, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is of course OOP. Lazarus is the part of the missing puzzle that will allow you to develop Delphi like programs in all of the above platforms. Unlike Java which strives to be a write once run anywhere, Lazarus and Free Pascal strives for write once compile anywhere. Since the exact same compiler is available on all of the above platforms it means you don’t need to do any recoding to produce identical products for different platforms.
source from lazarus homepage

We will try to using this application to make some application same as previous project as based on Delphi. Fisrtly we need to install Lazarus on my machine, this is step by step installation on my ubuntu 8.10 (Intrepid Ibex):

  1. Open the Synaptic Package Manager , “System > Administration > Synaptic Package Manager”
  2. Add lazarus repositories for get the newer version(now on this letter 0.9.26), lazarus 0.9.24 available on ubuntu 8.10. Add the repositories ” Settings > Repositories”. and choose the” Third-Party Software” tab, and add the line repositories below :
    • deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe
    • deb http://www.hu.freepascal.org/lazarus/ lazarus-testing universe
  3. Check the updates using “Reload” button to get the newest update from source repostitory.
  4. Search the application using keyword “lazarus”
  5. Checklist  for installation on packages fpc-source, lazarus, lazarus-doc, lazarus-ide , lazarus-src. Right click on list package > Mark for Installation
  6. Installation completed
  7. Launch the lazarus from menu bar, “Application > Programming > Lazarus”
  8. After launched the application, may be find error message “Free Pascal Source Directory not found“, don’t worry it will be add for next step, please chose the “ignore” button.
  9. The next step is adding  the Free Pascal Source Directory path, En vironment > Environment Options, an then chose the FPC source directory,  browse to FPC path “/usr/share/fpcsrc/2.2.0/” . Ok
  10. Configuration completed

Related Posts

    No related posts found

Facebook Comments

comments

Powered by Facebook Comments