zoukankan      html  css  js  c++  java
  • 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中

  • 相关阅读:
    winform音频播放器(有声小说[凡人修仙传])
    c# 小小备忘录
    编程语言 : Java的动态Web解决方案泛谈
    服务器 : Apache Tomcat
    荐书 : 调试九法
    框架应用 : Spring MVC
    框架应用 : Spring
    数据库 : Mysql
    框架应用:Mybatis
    String对象的一些函数用法与心得
  • 原文地址:https://www.cnblogs.com/zsfishman/p/6671839.html
Copyright © 2011-2022 走看看