歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 15.10下安裝Lazarus IDE 1.6

Ubuntu 15.10下安裝Lazarus IDE 1.6

日期:2017/2/28 13:54:21   编辑:Linux教程

Lazaurs編輯器是很強大的,支持代碼補全,自動完成,模板編輯,多行縮進注釋,選定代碼後批量更改裡面的單詞!

Lazarus 支持多種操作系統,Windows,以及幾種 Linux 發行版,當然包括Ubuntu 15.10,Mac OS X。各個Linux發行版安裝Lazarus都很方便。

用Lazarus 編寫IDE時會用到synedit 標簽中的控件來高亮顯示,是delphi的開源替代品.freepascal://wiki.lazarus。支持 FreeBSD.freepascal,另外可以下載lazarus 的源代碼來學習,利用 Lazarus 創建的應用程序,也能被容易地移植到多種操作系統上,特別是圖形界面應用程序。Lazarus 與 Delphi 高度兼容Lazarus 是基於 Free Pascal 的 Object Pascal 語言集成開發環境(IDE)。

下面我們來看看在Ubuntu 15.10下怎樣安裝最新的Lazarus IDE 1.6。

本文環境是32位Ubuntu 15.10,所以下載的是32位的Lazarus IDE 1.6。

首先下載Lazarus 1.6,下載地址見 http://www.linuxidc.com/Linux/2016-02/128546.htm

開始安裝lazarus_1.6-0_i386.deb:

linuxidc@linuxidc:~/下載$ sudo gdebi lazarus_1.6-0_i386.deb

[sudo] linuxidc 的密碼:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

提示:
此軟件包不可安裝
Dependency is not satisfiable: fpc (>= 3.0.0)|fp-compiler (>= 3.0.0)

--------------------------------------------------------------------------------------

先安裝fpc_3.0.0-151205_i386.deb

linuxidc@linuxidc:~/下載$ sudo gdebi fpc_3.0.0-151205_i386.deb

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

Free Pascal Compiler
Freepascal is a free 32/64bit Pascal Compiler. It comes with a
run-time library fully compatible with Turbo Pascal 7.0 and nearly
Delphi compatible. Some extensions are added to the language, like
function overloading. Shared libraries can be linked. This package
contains commandline compiler and utils. Provided units are the
runtime library (RTL), free component library (FCL) and bindings
for among others gtk1, gtk2, ncurses, zlib, mysql, postgres and
ibase.
您是否想安裝這個軟件包?[y/N]:

--------------------------------------------------------------------------------------

接著安裝fpc-src_3.0.0-151205_i386.deb

linuxidc@linuxidc:~/下載$ sudo gdebi fpc-src_3.0.0-151205_i386.deb

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done

Free Pascal Sources
The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible
32/64bit Object Pascal Compiler. It comes with fully TP 7.0
compatible run-time library.
Some extensions are added to the language, like function overloading. Shared
libraries can be linked and created. Basic Delphi support is already
implemented (classes,exceptions,ansistrings). This package contains the
sources for the compiler, the rtl, fcl and packages.
您是否想安裝這個軟件包?[y/N]:

--------------------------------------------------------------------------------------

下面開始Lazarus IDE 1.6的正式安裝:

linuxidc@linuxidc:~/下載$ sudo gdebi lazarus_1.6-0_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
需要安裝以下軟件包: debhelper gir1.2-gtk-2.0 gtk2-engines-pixbuf libatk1.0-dev libcairo-script-interpreter2 libcairo2-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgail-common libgail18 libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-0 libgtk2.0-bin libgtk2.0-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev libmail-sendmail-perl libpango1.0-dev libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-0 libpng12-dev libpthread-stubs0-dev libsm-dev libsys-hostname-long-perl libx11-dev libx11-doc libxau-dev libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev po-debconf x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev

RAD tool for freepascal
Lazarus is a free and opensource IDE and RAD tool for Free Pascal using the
Lazarus component library LCL. The LCL is included in this package too.
See http://www.lazarus.freepascal.org
您是否想安裝這個軟件包?[y/N]:

打開看看:

Ubuntu 13.04 下正常啟動 Lazarus 1.0.8 http://www.linuxidc.com/Linux/2014-10/108546.htm

Lazarus如何變成XE的界面 http://www.linuxidc.com/Linux/2014-10/108549.htm

Lazarus IDE入門基礎教程 http://www.linuxidc.com/Linux/2014-10/108548.htm

Lazarus開發平台編譯後可執行程序優化方法 http://www.linuxidc.com/Linux/2014-10/108550.htm

Lazarus IDE 的詳細介紹:請點這裡
Lazarus IDE 的下載地址:請點這裡

更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2

Copyright © Linux教程網 All Rights Reserved