[Lazarus] Lazarus Digest, Vol 121, Issue 49

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Mar 2 00:23:47 CET 2018


On Fri, 2 Mar 2018 00:44:48 +0200
Chavoux Luyt via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> Hi
> 
> I am feeling very stupid now, but not sure where exactly to look. I
> installed Lazarus using aptitude on Debian (under /use/libs/lazarus).
> However, I see that that whole directory tree belongs to root. So if I
> install a new package, how does it get added to the IDE (since I am running
> lazarus as a normal user)?

The IDE notices that the default directories are read only and puts the
files instead under ~/.lazarus/lib/.


> Should the installation not give the lazarus
> directories to the users group instead of root?

No, that would be a security hazard.
Of course you can install Lazarus in your home directory as your user.
The debian packages are not made for that. You can for example use svn.

> I suppose there is some
> kind of magic involved that makes it work when recompiling the IDE with the
> new packages, but I would like to understand what.

Mattias


More information about the Lazarus mailing list