Difference between revisions of "fppkg"

From Lazarus wiki
Jump to navigationJump to search
Line 11: Line 11:
 
Output of fppkg -h
 
Output of fppkg -h
 
<pre>
 
<pre>
Generating default global configuration in "c:\fpc\2.3.1\bin\i386-win32\fppkg.cfg"
+
Usage: C:\fpc\utils\fppkg\fppkg.exe [options] <action> <package>
Usage: c:\fpc\2.3.1\bin\i386-win32\fppkg.exe [options] <action> <package>
 
 
Options:
 
Options:
 
   -c --config        Set compiler configuration to use
 
   -c --config        Set compiler configuration to use
 
   -h --help          This help
 
   -h --help          This help
   -v --verbose      Set verbosity
+
   -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:
 
Actions:
 
   update            Update packages list
 
   update            Update packages list
   avail              List available packages
+
   showavail          List available packages
 +
  showall            Show all (including local) packages
 
   build              Build package
 
   build              Build package
 +
  compile            Compile package
 
   install            Install package
 
   install            Install package
 +
  clean              Clean package
 +
  archive            Create archive of package
 
   download          Download package
 
   download          Download package
 
   convertmk          Convert Makefile.fpc to fpmake.pp
 
   convertmk          Convert Makefile.fpc to fpmake.pp

Revision as of 21:51, 23 October 2008

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: C:\fpc\utils\fppkg\fppkg.exe [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
  showavail          List available packages
  showall            Show all (including local) 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

Avail

List available packages

Build

Build package

Install

Install package

Download

Download package

Convertmk

Convert Makefile.fpc to fpmake.pp