Forum > Suggestions

Minimal install

(1/5) > >>

user name:
Hello my friends I have a few questions and suggestions.

I just installed Lazarus 3.0RC2 on Windows and it contains 1.60 GB in 35,261 files.

Currently the installer only asks whether help files should be installed.

The compiler itself has the "Minimal Install" option, which, if selected, sources are not copied to our disks, which greatly reduces the amount of files.

Would it be possible to have that option from FPC in Lazarus Setup, so it installs the minimal version of FPC?

And would it be possible to somehow choose what components are installed with Lazarus? The components directory has 8,829 files, totaling 435 MB. Things like pas2js I will never use.

Are the things in the folder "tests" necessary for a normal user?
And all the source files, from tools and so on, could these be made optional?

And the images used by the IDE, the directory contains 4,711 files in total. These could somehow be placed inside some compressed format, which would also improve reading.

Sorry if I'm retarded.

KodeZwerg:
I do use Fpcupdeluxe for my installation, while watching how it installs, I have a big thinking that the setup download the source and compile it afterwards on your system. Those sources, at least in compiled format, are also needed whenever you add/remove a package to/from Lazarus since it need to rebuild itself.
You can get the source to Fpcupdeluxe, analyze it to find out why it download file xyz and what it does do with it, if you think its unnecessary, add that xyz into a batch file for deletion after installation.

PascalDragon:

--- Quote from: user name on November 19, 2023, 03:14:35 pm ---The compiler itself has the "Minimal Install" option, which, if selected, sources are not copied to our disks, which greatly reduces the amount of files.

Would it be possible to have that option from FPC in Lazarus Setup, so it installs the minimal version of FPC?
--- End quote ---

Lazarus needs the sources to provide code completion.

user name:

--- Quote from: KodeZwerg on November 19, 2023, 05:22:21 pm ---I do use Fpcupdeluxe

--- End quote ---

Thanks I didn't know about that and I'm currently too retarded to understand what it does exactly but it seems to be useful if you want to have multiple Lazarus installations.


--- Quote from: KodeZwerg on November 19, 2023, 05:22:21 pm ---if you think its unnecessary, add that xyz into a batch file for deletion after installation.

--- End quote ---

Yeah I remove stuff like that but the point is to not get them in the first place.


--- Quote from: PascalDragon on November 19, 2023, 05:29:00 pm ---Lazarus needs the sources to provide code completion.

--- End quote ---

Would it be possible then, to not need the sources? Maybe have that information compiled in some manner, like a database instead? Or is that a retarded idea?

marcov:
What is the actual problem?

Navigation

[0] Message Index

[#] Next page

Go to full version