码迷,mamicode.com
首页 > 其他好文 > 详细

centos7下源码安装lazarus

时间:2017-04-06 09:36:05      阅读:221      评论:0      收藏:0      [点我收藏+]

标签:ide   选择   默认   tar   zip   text   snapshot   .so   3.0.0   

源码安装步骤:
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

标签:ide   选择   默认   tar   zip   text   snapshot   .so   3.0.0   

原文地址:http://www.cnblogs.com/zsfishman/p/6671839.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!