首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

ubuntu 8.04下安装最新lazarus

作者:佚名  来源:不详  发布时间:2008-6-2 8:09:00
1、设置ubuntu到能够上网

2、在终端中运行下面的命令获得一个网站PGP的Key
gpg –keyserver hkp://pgp.mit.edu:11371 –recv-keys 3A5B1204

3、添加Key到系统中
gpg –export 3A5B1204 | sudo apt-key add -

4、修改ubuntu更新源:
sudo gedit /etc/apt/sources.list

内容设置如下(这里请注意最下面一行,这个就是Lazarus的老窝):
deb http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ hardy-backports main restricted universe multiverse
deb http://progprak.scale.uni-koeln.de/lazarus/ lazarus-testing universe

5、更新系统:
sudo apt-get update

6、到新立得里面搜索lazarus,安装,注意不要选择它上面的那个fpc-src,因为这个fpc-src版本老,安装lazarus的时候,会自动装上最新的版本。

出自:http://haria1988.blog.ubuntu.org.cn/
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图