Difference between revisions of "Install on Fedora"
From Free Pascal wiki
Jump to navigationJump to search (updates installation commands, adds installation of SourceForge packages) |
|||
Line 1: | Line 1: | ||
{{Platform only|Fedora|Fedora|Fedora}} | {{Platform only|Fedora|Fedora|Fedora}} | ||
− | |||
− | |||
− | + | == Fedora 22 and newer == | |
+ | |||
+ | sudo dnf install lazarus | ||
+ | |||
+ | The latest packages that are included by default on Fedora 29 are: | ||
+ | |||
+ | * lazarus 1.8.4 | ||
+ | * fpc 3.0.4 | ||
+ | |||
+ | == Fedora 21 and below == | ||
+ | |||
+ | sudo yum install lazarus | ||
+ | |||
+ | Notice, that on Fedora 23 Lazarus 1.4 / fpc 2.6 will be installed instead of Lazarus 1.6 / fpc 3.0 | ||
+ | |||
+ | == Install latest packages == | ||
+ | |||
+ | Download the [https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20x86_64%20RPM latest RPM packages from SourceForge]. You need to download the appropriate packages for: | ||
+ | * fpc-src | ||
+ | * fpc | ||
+ | * lazarus | ||
+ | |||
+ | Navigate to your download folder and install the packages in the following order: | ||
+ | |||
+ | sudo dnf install fpc-src-3.0.4-1.x86_64.rpm | ||
+ | sudo dnf install fpc-3.0.4-1.x86_64.rpm | ||
+ | sudo dnf install lazarus-2.0.0RC2-0.x86_64.rpm | ||
+ | |||
+ | Of course you need to replace the filenames in the example above with the files you downloaded before. | ||
[[Category:Fedora]] | [[Category:Fedora]] | ||
[[Category:Install]] | [[Category:Install]] |
Revision as of 17:20, 18 December 2018
This article applies to Fedora only.
See also: Multiplatform Programming Guide
Fedora 22 and newer
sudo dnf install lazarus
The latest packages that are included by default on Fedora 29 are:
- lazarus 1.8.4
- fpc 3.0.4
Fedora 21 and below
sudo yum install lazarus
Notice, that on Fedora 23 Lazarus 1.4 / fpc 2.6 will be installed instead of Lazarus 1.6 / fpc 3.0
Install latest packages
Download the latest RPM packages from SourceForge. You need to download the appropriate packages for:
- fpc-src
- fpc
- lazarus
Navigate to your download folder and install the packages in the following order:
sudo dnf install fpc-src-3.0.4-1.x86_64.rpm sudo dnf install fpc-3.0.4-1.x86_64.rpm sudo dnf install lazarus-2.0.0RC2-0.x86_64.rpm
Of course you need to replace the filenames in the example above with the files you downloaded before.