I just moved one of the packages to a different folder and everything works fine
1. Get "Primary config directory" from "View" > "IDE Internals" > "About IDE"
2. Close Lazarus IDE
3. Move whole package folder to different folder (or just rename folder)
4. Open packagefiles.xml for editing, find the moved package by name and change the Filename to point to the new folder
5. Open Lazarus IDE - opens normally, projects compile normally, Build Lazarus with Profile: Normal IDE also builds normally
- - -
Hi
I keep most of the loaded packages in a specific folder 'packages1'.
Now I want to move them in different folder 'packages2'
I imagine this to happen by executing the following steps:
1. Close Lazarus IDE
2. Open packages configuration file and Replace All packages1 with packages2 occurrences
3. Open Lazarus IDE
4. Build Lazarus with Profile
But not sure if this approach is possible and if there is better solution.
Why don't you just use the IDE the way it was intended to be used? Remove the packages, move them to the new directory, and reinstall them from the new directory.
There are a lot of packages