Difference between revisions of "How to setup a FPC and Lazarus Ubuntu repository"

From Free Pascal wiki
Jump to navigationJump to search
(New page: == What is a repository? == A ubuntu repository is a directory. It can be stored on the lokal disk, or on a webserver or on a ftp server. To use it, you add its path into your /etc/apt/so...)
 
Line 7: Line 7:
  
 
Administrators who wants to install FPC+Lazarus on a pool of computers. Like in school. Or newbies who just want to quickly test it.
 
Administrators who wants to install FPC+Lazarus on a pool of computers. Like in school. Or newbies who just want to quickly test it.
 
  
 
== The directory structure ==
 
== The directory structure ==

Revision as of 15:08, 26 July 2007

What is a repository?

A ubuntu repository is a directory. It can be stored on the lokal disk, or on a webserver or on a ftp server. To use it, you add its path into your /etc/apt/sources.list and setup a gpg key. Then you can simply install lazarus with your favourite package gui (e.g. synaptic) and fpc, fpc-src and lazarus will be downloaded, installed and updated automatically.

Who needs it?

Administrators who wants to install FPC+Lazarus on a pool of computers. Like in school. Or newbies who just want to quickly test it.

The directory structure

Let's assume you want create a repository available via the apache webserver. Then you need to setup a directory like /var/www/lazarus that is public readable and only writable by root.

Create the following sub directory:

 /var/www/lazarus/dists/lazarus-testing/universe/binary-i386