OnWorks favicon

debpear - Online in the Cloud

Run debpear in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command debpear that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



debpear - automatically builds and installs PEAR packages as Debian packages


debpear [options] <pear-package-name>


debpear is a tool to automatically create and build a Debian package out of a PHP PEAR
package. It will download the PEAR package from pear.php.net, then by looking into it,
create the corresponding Debian package, and eventually also installs it.



Defines the PEAR package name you want to install, as seen on the
http://pear.php.net/ site. Make sure respect the case in the name of the package
(for example: Package_NAME).



Specify the directory where the Debian package will be built.


Makes debpear more verbose.

--channel|-c channel-alias

Specify the channel-alias which provide from the pear-channels package, pear and
pecl channel.

--tarball|-t tarball --pkg-version|-pv pkg-version [ --wget|-w URL ]

Do not use "pear download" to optain the PEAR package from upstream authors.
Instead, use tarball and use pkg-version when building the package. Eventually
also download the tarball from URL using wget before building.


Install the resulting debian package in your system. Note that you must be root to
use this option. If you aren't root, then debpear will try to get root using sudo.


debpear -i Auth_RADIUS

This will create a php-auth-radius package in ./build-area, and automatically
install it. Because it's written in the package.xml shipped with Auth_RADIUS at
pear.php.net, php-auth-radius will depend on php5-radius.

debpear -t current.tgz -pv 1.3.1 -w http://downloads.jasig.org/cas-clients/php/current.tgz

Downloads cas-clients from http://downloads.jasig.org/cas-clients/php/current.tgz,
as current.tgz in the current directory, then builds it as if it was downloaded as
CAS-1.3.1.tgz by "pear download".

debpear -c pecl gnupg

This will create a php-gnupg package from the pecl.php.net channel.

debpear -c phpunit DbUnit

This will create a php-dbunit package from the pear.phpunit.de channel.


Note that the debian/copyright file generated by debpear isn't good enough for
redistribution of the created packages. You should carefuly review the PEAR package
license before doing so. Also, debpear has been created for convenience, but it
will never replace the manual work of an experienced Debian maintainer for creating
PEAR packages. It can, however, be used to create a template package quickly,
before a careful review, in order to save time building a Debian PEAR package.


debpear has been written by Thomas Goirand <[email protected]>, and is maintained
inside the PKG PHP PEAR Debian team, that can be reached at:
<[email protected]>.


Use debpear online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 2
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 3
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    Download XISMuS
  • 4
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • 5
    PHP QR Code
    PHP QR Code
    PHP QR Code is open source (LGPL)
    library for generating QR Code,
    2-dimensional barcode. Based on
    libqrencode C library, provides API for
    creating QR Code barc...
    Download PHP QR Code
  • 6
    Freeciv is a free turn-based
    multiplayer strategy game, in which each
    player becomes the leader of a
    civilization, fighting to obtain the
    ultimate goal: to bec...
    Download Freeciv
  • 7
    Cuckoo Sandbox
    Cuckoo Sandbox
    Cuckoo Sandbox uses components to
    monitor the behavior of malware in a
    Sandbox environment; isolated from the
    rest of the system. It offers automated
    analysis o...
    Download Cuckoo Sandbox
  • More »

Linux commands