在ubuntu下安装free pascal
生活随笔
收集整理的這篇文章主要介紹了
在ubuntu下安装free pascal
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
1、ubuntu16.04版本已經(jīng)集成了free pascal最新的3.0版,只需要安裝就可以了。
sudo apt install fp-compiler
在ubuntu里面,fp-compiler是一個(gè)虛擬包,一般都是指向最新的版本。
2、安裝完畢后,就可以用下面的命令來編譯fpc包了。
fpc file.pas
3、還可以安裝free pascal制作的一個(gè)IDE
sudo apt install fp-ide
以后通過fp就可以啟動(dòng)這個(gè)ide了。
fp
4、安裝free pascal的幫助文件。
sudo apt install fp-docs
這個(gè)幫助文件是html格式的,安裝在/usr/share/doc/fp-docs
5、將幫助文件集成到fp-ide里面。
- Select Help -> Files….
- Click New.
- Select the file /usr/share/doc/fp-docs/fpctoc.html.
- Click Open.
- Wait for the indexing to finish.
等到索引完成后,幫助文件就集成到fp-ide的help菜單里面了。
轉(zhuǎn)載于:https://www.cnblogs.com/litifeng/p/6336423.html
總結(jié)
以上是生活随笔為你收集整理的在ubuntu下安装free pascal的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [hive学习翻译]Hive - Int
- 下一篇: Linux上使用shell脚本查看内存情