Sign in Join
Wiki copytemporary

FPCupDeLuxe install on Linux cheatsheet: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11long story short:
22
33- install Lazarus via **apt** or some other package-manager
44- download, unzip and compile [[fpcupdeluxe]] - or use fpcupdeluxe-binary and omit steps 1 and 3
55- purge the above Lazarus
66- now use [[fpcupdeluxe]] to install an isolated Laz: choose **trunk**, **x86_64**, **linux**, **trunk** and click the **green thumbs-up button**.
77- **fpc**, the actual Pascal compiler, will not be in the searchpath, hence **make** will require extra parameters; a mere **make all** won't work now.
88- Use the provided launcher in ~ or home/YOU/Desktop (.desktop file) to run "**startlazarus**" employing a **--[[pcp]]** directive to keep multiple Lazaruses apart.
99- This method may or may not succeed. It can be made to work though.
1010
1111## Likely problems to occur
1212
1313Since the Mint / Ubuntu Laz package and f.deluxe do not harmonize, you will very likely end up with 2 compilers in \$PATH if you mix **f-deluxe**, **make** from sources and **apt** methods. Do **ls** to verify in case that nothing ever compiles due to "**unit not found**" errors :
1414
1515``` bash
1616 ls -l /usr/bin/fpc-3.0.0 ## mv /xx
1717 ls -l /usr/local/bin/fpc ## <--- which fpc -- must remain !
1818```
1919
2020Move /usr/bin/fpc* out of the path e.g.
2121
2222`sudo mv -f /usr/bin/fpc* /xxbroken`
2323
2424After IDE restart, everything compiles nicely.
2525
26-> **Note:** This condition can also be found via clicking <span class="kbd">project options</span> button, then <span class="kbd">Test</span> [[IDE Window: Project Options|Test-button]] to find problematic path settings.
26+> **Note:** This condition can also be found via clicking `project options` button, then `Test` [[IDE Window: Project Options|Test-button]] to find problematic path settings.
2727
2828See also:
2929
3030- [[Unit not found - How to find units]]
3131
3232---
3333*From the Free Pascal wiki, page "FPCupDeLuxe install on Linux cheatsheet", as it stood on 2020-06-29 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
3434Category: Install
3535Category: Troubleshooting

Back to history