centos7下源码安装lazarus

Posted 舟山渔夫

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

Centos7下安装httpd源码包

centos7.4下源码安装mariadb

centos7.4下安装配置PHP服务(源码安装)

001_centos7下比特币源码编译安装

CentOS7下python3.x的源码安装

CentOS7.X环境下源码包安装部署RabbitMQ3.7.17