2021-05-12 14:32:11
Ubuntu 15.10下安裝Lazarus IDE 1.6
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
相關文章