fppkg

From Lazarus wiki
Revision as of 22:52, 23 October 2008 by FPK (talk | contribs) (Avail)

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

Showavail

List available packages

Build

Build package

Install

Install package

Download

Download package

Convertmk

Convert Makefile.fpc to fpmake.pp