Difference between revisions of "fppkg"

From Lazarus wiki
(Avail)
(Update fppkg -h output (to what 2.4.0 produces), replaced showavail/all with list, fppkg path with .../ (no windowsisms))
Line 11: Line 11:
 
Output of fppkg -h
 
Output of fppkg -h
 
<pre>
 
<pre>
Usage: C:\fpc\utils\fppkg\fppkg.exe [options] <action> <package>
+
Usage: .../fppkg [options] <action> <package>
 
Options:
 
Options:
 
   -c --config        Set compiler configuration to use
 
   -c --config        Set compiler configuration to use
Line 22: Line 22:
 
Actions:
 
Actions:
 
   update            Update packages list
 
   update            Update packages list
   showavail          List available packages
+
   list              List available and installed packages
  showall            Show all (including local) packages
 
 
   build              Build package
 
   build              Build package
 
   compile            Compile package
 
   compile            Compile package
Line 38: Line 37:
 
Update packages list
 
Update packages list
  
=== Showavail ===
+
=== List ===
List available packages
+
List available and installed packages
  
 
=== Build ===
 
=== Build ===

Revision as of 12:30, 2 April 2010

Introduction

Fppkg is the freepascal package manager. This tool manages packages from a repository, unzips, builds and installs.

See also FPMake.

Basics

Commandline arguments

Output of fppkg -h

Usage: .../fppkg [options] <action> <package>
Options:
  -c --config        Set compiler configuration to use
  -h --help          This help
  -v --verbose       Show more information
  -d --debug         Show debugging information
  -g --global        Force installation to global (system-wide) directory
  -f --force         Force installation also if the package is already installed
  -r --recovery      Recovery mode, use always internal fpmkunit
Actions:
  update             Update packages list
  list               List available and installed packages
  build              Build package
  compile            Compile package
  install            Install package
  clean              Clean package
  archive            Create archive of package
  download           Download package
  convertmk          Convert Makefile.fpc to fpmake.pp

Actions

Update

Update packages list

List

List available and installed packages

Build

Build package

Install

Install package

Download

Download package

Convertmk

Convert Makefile.fpc to fpmake.pp