lazarus (free pascal delphi like ide) on ubuntu (amd64)
Do you like HowtoForge? Please consider to support us by becoming a subscriber.
|
Download x86-64 (or i386) free pascal binary package from sf.net
http://prdownloads.sourceforge.net/freepascal/fpc-2.0.0.x86_64-linux.tar?download tar -xvf fpc-2.0.0.x86_64-linux.tar sudo sh install.sh I have installed it in /opt/fpc and answered Yes/[ENTER] to all questions If all ok then you can get compiler version this way /opt/fpc/bin/fpc -i Free Pascal Compiler version 2.0.0 Compiler Date : 2005/05/15 Compiler CPU Target: x86_64 Supported targets: Linux for x86-64 FreeBSD for x86-64 Supported CPU instruction sets: ATHLON64 Supported FPU instruction sets: SSE64 add /opt/fpt/bin in $PATH vi ~/.bash_profile #FPC PATH if [ -d /opt/fpc/bin ] ; then PATH=/opt/fpc/bin:"${PATH}" fi You need to install the development packages of the GTK and pixbuf libraries, so sudo apt-get install libgtk2.0-dev sudo apt-get install libgdk-pixbuf-dev cd opt Download lazarus package http://prdownloads.sourceforge.net/lazarus/lazarus-0.9.10-0.tar.gz?download tar -zxvf lazarus-0.9.10-0.tar.gz cd lazarus make ./lazarus It should look like this tar -zxvf fpc-2.0.2.source.tar.gz cd fpc vi Makefile and replace this line INSTALL_PREFIX=/usr/local with INSTALL_PREFIX=/opt/fpc make build make install
|
Sponsored Links: Request a Novell/Microsoft migration







Recent comments
46 min 55 sec ago
1 hour 32 min ago
13 hours 10 min ago
15 hours 39 min ago
18 hours 56 min ago
22 hours 32 min ago
23 hours 26 min ago
1 day 24 min ago
1 day 35 min ago
1 day 6 hours ago