Difference between revisions of "Online Package Manager"

From Free Pascal wiki
Line 21: Line 21:
  
 
=== Installation ===
 
=== Installation ===
* Create a directory for the components, such as ''lazarus\components\onlinepackagemanager''.
+
* Create a directory for the components, such as "($LazarusDir)\components\onlinepackagemanager".
 
* In this directory, unzip the files from the zip file.
 
* In this directory, unzip the files from the zip file.
 
* Open lazarus
 
* Open lazarus
* Open the package ''onlinepackagemanager.lpk'' from the main folder with ''Package/Open package file (.lpk)''.
+
* Open the package "onlinepackagemanager.lpk" from the main folder with Lazarus Menu-->Package-->Open package file (.lpk).
 
* Click Compile then Install.
 
* Click Compile then Install.
 +
 +
 +
 +
== Using the package manager ==
 +
=== Getting started ===
 +
Go to Lazarus Menu-->Package-->Online Package Manager. On startup the package manager will automatically download a list(JSON) with the available repository packages, the package list is displayed in a tree. You can always refresh the list by pressing the refresh button.
 +
 +
=== Filter the tree/Locate a package ===
 +
[[File:OPM3.png]]
 +
 +
You can filter the list by:
 +
  - Packagename 
 +
  - Package file(.lpk)-->a repository package can contain multiple lpk files
 +
  - Package category
 +
  - Package status
 +
  - Version
 +
  - Description   
 +
  - Author   
 +
  - Lazarus compatibility
 +
  - FPC compatibility
 +
  - Supported widget sets
 +
  - Packagetype
 +
  - Dependencies
 +
  - License
 +
 +
=== Operation with the packages ===
 +
[[File:OPM4.png]]
 +
 +
==== Refresh package list ====
 +
Pressing this button will download the JSON file again.
 +
 +
==== Download a package ====
 +
Check one or more packages then press the download button.
 +
==== Install a package ====

Revision as of 09:15, 17 November 2016

English (en) español (es) русский (ru)

About

Online Package Manager is a tool that automates the process of installing, upgrading, configuring Lazarus packages.

Screenshot

OPM1.png

OPM2.png

License

GNU General Public License

Download

https://github.com/getmem/LazOpkMan/archive/master.zip

Dependencies / System Requirements

  • FPC 3.0.0 or newer
  • Lazarus 1.6.0 or newer
  • These versions were available at the time of writing this update.

Installation

  • Create a directory for the components, such as "($LazarusDir)\components\onlinepackagemanager".
  • In this directory, unzip the files from the zip file.
  • Open lazarus
  • Open the package "onlinepackagemanager.lpk" from the main folder with Lazarus Menu-->Package-->Open package file (.lpk).
  • Click Compile then Install.


Using the package manager

Getting started

Go to Lazarus Menu-->Package-->Online Package Manager. On startup the package manager will automatically download a list(JSON) with the available repository packages, the package list is displayed in a tree. You can always refresh the list by pressing the refresh button.

Filter the tree/Locate a package

OPM3.png

You can filter the list by:

 - Packagename   
 - Package file(.lpk)-->a repository package can contain multiple lpk files
 - Package category
 - Package status
 - Version
 - Description     
 - Author    
 - Lazarus compatibility
 - FPC compatibility
 - Supported widget sets
 - Packagetype 
 - Dependencies
 - License

Operation with the packages

OPM4.png

Refresh package list

Pressing this button will download the JSON file again.

Download a package

Check one or more packages then press the download button.

Install a package