Lazarus中文社区

 找回密码
 立即注册(注册审核可向QQ群索取)

QQ登录

只需一步,快速开始

Lazarus IDE and 组件 下载地址版权申明
查看: 7158|回复: 6

有没有人用ubuntu的.

[复制链接]

该用户从未签到

发表于 2009-3-21 10:29:30 | 显示全部楼层 |阅读模式
我不知道ubuntu怎么用lazarus.
我是ubuntu8.10,用新立得,用aptget都不行.装不上.有没有人装上的.说说?
回复

使用道具 举报

该用户从未签到

发表于 2009-3-21 12:09:52 | 显示全部楼层
引用楼主辣炸肉丝于2009-03-21 10:29发表的 有没有人用ubuntu的. :
我不知道ubuntu怎么用lazarus.
我是ubuntu8.10,用新立得,用aptget都不行.装不上.有没有人装上的.说说?

我没有试过,不过貌似有几个人是在无板图上安装的
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2009-3-24 23:47:12 | 显示全部楼层
我曾经装过,去LAZARUS的WIKI看看吧.
那里有个脚本你直接COPY到UBUNTU去运行就可以安装好了. (网络安装)
或去下载DBE包自己用命令安装.

建议用第用网络安装

Getting Lazarus from our Ubuntu repository

On www.hu.freepascal.org there is a Ubuntu repository with Lazarus and FPC debs.
[edit] Short version: get Lazarus

In the sections that follow, there's a complete list of the commands you need to type at the console to download and install Lazarus on an Ubuntu system. If you're impatient, this section will just give you what you need to get it installed without going through every part of the process line by line.

Select and copy the following script, and save it as a file in your home directory named getlaz:

#!/bin/sh
gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F
gpg --export 6A11800F | apt-key add -
echo "deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe" \\
     >/etc/apt/sources.list.d/lazarus.list
apt-get update
apt-get install lazarus

At the shell prompt, type this to prepare the script for execution, and to execute it (you can copy these lines and paste them into your shell using Shift+Insert):

chmod +x getlaz
sudo ./getlaz

The process will download around 100Mb of data from the Lazarus repository and the standard ones. It will take at least five minutes, even with a fast connection. Any time it stops to ask for confirmation of any step, answer "Y" for yes.

When it finishes and returns to the shell prompt, you're set. Look in the "Development" section of your Ubuntu menu; Lazarus will be there and functional.


Now, for completists, here's the same instruction step by step. You can ignore it if you followed the above instructions successfully. Please remember to come back to the wiki and put in any tested, reliable changes that might clarify this section!
[edit] Add the key

Download the key from the public key server:

gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F

Add it to the apt system:

gpg --export 6A11800F | sudo apt-key add -

You can see the list of apt keys with:

sudo apt-key list

[edit] Add the repository

You can use synaptic for this or edit the /etc/apt/sources.list directly. For the stable repository, add the line:

deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe

Or using a console app. do:

echo "deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe">/etc/apt/sources.list.d/lazarus.list

For the testing repository:

deb http://www.hu.freepascal.org/lazarus/ lazarus-testing universe

Or similarly, using a console app. do:

echo "deb http://www.hu.freepascal.org/lazarus/ lazarus-testing universe">/etc/apt/sources.list.d/lazarus.list

[edit] Install Lazarus

Now You can install Lazarus with apt:

apt-get update; apt-get install lazarus
原文http://wiki.lazarus.freepascal.org/Getting_Lazarus#Downloading_releases
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2009-4-14 13:40:50 | 显示全部楼层
以前安装成功过,Ubuntu的软件源里面就有,但是不一定是最新版本
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2009-5-21 15:00:19 | 显示全部楼层
装不成的话,添加一个源看看
deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2009-8-3 01:30:45 | 显示全部楼层
这个版本没学习过,我想你用rpm包搞定Lazarus是没有问题的。我当然知道这个发行版用的是deb包,但一样可以支持rpm吧。。。。Linux就是门派多。。
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2010-8-21 23:42:16 | 显示全部楼层
已经在ubuntu 10.0.4上安装成功,很方便,直接在ubuntu 软件管理中心里下载就会自动安装好,只是没有找到fpc 的目录,不过对lazarus的编译和运行没有影响
回复 支持 反对

使用道具 举报

*滑块验证:

本版积分规则

QQ|手机版|小黑屋|Lazarus中国|Lazarus中文社区 ( 鄂ICP备16006501号-1 )

GMT+8, 2025-5-2 00:14 , Processed in 0.072683 second(s), 9 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表