首页 > 代码库 > centos7下源码安装lazarus
centos7下源码安装lazarus
源码安装步骤:
1)最新安装源码下载
http://mirrors.iwi.me/lazarus/snapshots
http://sourceforge.net/projects/freepascal/files/Linux
http://sourceforge.net/projects/freepascal/files/Source
wget http://mirrors.iwi.me/lazarus/snapshots/lazarus-1.7-52089-20160331-src.zip
wget http://ufpr.dl.sourceforge.net/project/freepascal/Linux/3.0.0/fpc-3.0.0.x86_64-linux.tar
wget http://netix.dl.sourceforge.net/project/freepascal/Source/3.0.0/fpc-3.0.0.source.tar.gz
2)fpc-3.0.0.source.tar.gz
# cd /usr
# tar zxvf fpc-3.0.0.source.tar.gz
3)fpc-3.0.0.x86_64-linux.tar
# tar xvf fpc-3.0.0.x86_64-linux.tar
# cd fpc-3.0.0.x86_64-linux
# ./install.sh
安装目录均选择默认
/usr/bin/fpc
/usr/shared/fpc
Install Textmode IDE (Y/n) ? y
Done.
Install documentation (Y/n) ? y
Installing documentation in /usr/share/doc/fpc-3.0.0 ...
Done.
Install demos (Y/n) ? y
Install demos in [/usr/share/doc/fpc-3.0.0/examples
4)lazarus-1.7-52089-20160331-src.zip
# cd /usr
# unzip lazarus-1.7-52089-20160331-src.zip
# cd /usr/lazarus
# make clean all OPT="-glw2" //make clean all TARGETS_X86_64="linux"
# make clean bigide
5)启动
# cd /usr/lazarus
# ./lazarus
在桌面拖到/usr/lazarus/lazarus到桌面,选择链接,点击这个图标就可以启动
环境配置文件保存在/root/.lazarus中
centos7下源码安装lazarus