Installing Lazarus/pl

From Lazarus wiki
Revision as of 14:10, 11 November 2021 by Slawek (talk | contribs) (→‎Lazarus system requirements: tłumaczenie na j. polski)
Jump to navigationJump to search

Deutsch (de) English (en) español (es) suomi (fi) français (fr) magyar (hu) 日本語 (ja) 한국어 (ko) polski (pl) português (pt) русский (ru) slovenčina (sk) Tiếng Việt (vi) 中文(中国大陆)‎ (zh_CN)

Instalowanie oprogramowania Lazarus

Przegląd

Dla osób, które po prostu chcą zainstalować Lazarusa i zacząć używać go do programowania, najłatwiejszym sposobem jest pobranie i zainstalowanie najnowszej, dość stabilnej wersji binarnej (takiej jak pakiet „.rpm” dla systemu Linux, instalator „.exe” dla systemu Windows lub obraz dysku „.dmg” systemu macOS lub pakiet instalacyjny „.pkg”).

Dla tych, którzy chcą uczestniczyć w rozwoju kompilatora lub Lazarus IDE, lub dla tych, którzy chcą mieć najbardziej aktualne narzędzia, konieczna jest instalacja z plików źródłowych.

IDE Lazarus zawiera dwie główne części:

  • LCL — biblioteka komponentów Lazarusa
  • IDE - samo narzędzie RAD

Z kolei obie te części zależą od:

  • FPC — darmowy kompilator Pascala
  • FCL - biblioteka Free Pascal Component, zawierająca większość niegraficznych komponentów używanych przez Lazarus IDE.

Wymagania systemowe Lazarusa

  1. Kompilator Free Pascal, pakiety i źródła. (*Ważne*: muszą mieć tą samą wersję/datę)
  2. Obsługiwany zestaw widżetów:
    Win32/Win64
    Można użyć natywnego API Win32 lub zestawu widżetów Qt.
    Linux/BSD
    GTK+ 2.x lub Qt : Większość dystrybucji Linuksa i *BSD już instaluje biblioteki GTK+ 2.x. Można je również znaleźć na http://www.gtk.org.
    /Qt jest również obsługiwane we wszystkich dystrybucjach (jest automatycznie instalowane, jeśli wybierzesz KDE).
    macOS
    Potrzebne będą narzędzia programistyczne Apple Xcode. W przypadku wersji systemu macOS przed 10.15 (Catalina) można używać zestawów widżetów 32-bitowych Carbon lub 64-bitowych Cocoa.
    W przypadku systemu macOS 10.15 i nowszych należy użyć 64-bitowego zestawu widżetów Cocoa, ponieważ cała obsługa 32-bitów została usunięta przez firmę Apple.
    Można też używać Qt, ale wymaga to znacznie więcej wysiłku.
Zestaw widżetów Qt jest obsługiwany na platformach Linux 32/64, Win 32/64, macOS 32/64, FreeBSD 32/64, Haiku i osadzonym systemie Linux (qtopia). Aby uzyskać więcej informacji na temat instalacji Qt, zobacz artykuł Interfejs Qt.

Operating system specific guides

  • Remember that the Free Pascal Compiler and the Lazarus IDE are separate products, you almost certainly need to install FPC, FPC Source and Lazarus (maybe in that order!).
  • Some people recommended using the fpcUP updater-installer for first time users of Lazarus, which installs Free Pascal and Lazarus in one go into a single subdirectory structure ( ~/development ).

FreeBSD

Haiku

Linux

See Installing Lazarus on Linux which covers most of what you need for most Linux Distributions.

  • The command to start Lazarus from a console is startlazarus. If you installed it from a Debian package, you should have a Lazarus menu entry under Application/Programming.
  • Issue: there is an ambiguity with a program also called "lazarus" from a tct package available for Ubuntu.
  • For a fully working Lazarus installation, older versions of the FPC compiler, FPC source or Lazarus can be a problem if present.
  • Some people recommended using fpcUP updater-installer for first time users of Lazarus, which installs Free Pascal and Lazarus in one go into a single subdirectory structure (~/development).

Some distribution specific pages exist, but they may not be as up to date as the Installing Lazarus on Linux guide.

Ubuntu/Debian Linux notes

  • The Debian Testing Repository, unlike Ubuntu Releases, often contains a current or near current version of FPC and Lazarus. Feedback is needed and appreciated; please send your comments to Carlos Laviola <claviola@debian.org>
  • Building debs the easy way - A possible way to get a current working installation of Lazarus is to download and build your own .deb packages by following the instructions at How to setup a FPC and Lazarus Ubuntu repository

macOS

Raspbian

Windows

Multiple Lazarus installs

Please see Multiple Lazarus for details on having more than one Lazarus version installed on one system. We cover issues that can arise due to multiple Lazarus installs here, because they can also happen when installing over a previous version.

Troubleshooting

Troubleshooting details that should (hopefully) be applicable across platforms may be found in the article Installation Troubleshooting.

Lazarus FAQ

The Lazarus FAQ - Frequently Asked Questions - page is available here.

Installing old versions

See Installation hints for old versions

See also