OnWorks favicon

mcpanip - Online in the Cloud

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

This is the command mcpanip 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



mcpani -- A command line tool to manage a CPAN Mini Mirror.


mcpani [options] < --add | --update | --mirror | --inject >


--add Add a new package to the repository
--module Name of the module to add
--authorid Author ID of the module
--modversion Version number of the module
--file tar.gz file of the module

--update Update local CPAN mirror and inject modules
--mirror Update local CPAN mirror from remote
--inject Add modules from repository to CPAN mirror


-h, --help This synopsis
-H, --man Detailed description

-l, --local local location for CPAN::Mini Mirror
-r, --remote CPAN mirror to mirror from
-p, --passive Enable passive ftp for mirroring.
-v, --verbose verbose output
-V, --version Version information.
--signing-key See CPAN::Checksums $SIGNING_KEY


Add a module to the repository for later inclusion in the CPAN Mini mirror. The add
command requires the following parameters:

This is the name of the module (ie CPAN::Mini::Inject).

A CPAN 'like' author ID for the module. The author ID does not need to exist on CPAN.

Version number of the module. This must match the version number in the file name.

"add" in CPAN::Mini::Inject adds all modules found in the file. These options remain
for backward compatibility and do nothing.

File name and path of the module. The file name must follow the standard CPAN naming
convention (the resulting file from a "make tardist").


mcpani --add --module CPAN::Mini::Inject --authorid SSORICHE
--modversion 0.01 --file ./CPAN-Mini-Inject-0.01.tar.gz

Update your local CPAN Mini mirror from a CPAN site. Once completed add the modules
contained in the repository to it. This is the same as running "mcpani --mirror" followed
by "mcpani --inject"

Update the local CPAN Mini mirror from CPAN.

Add the repository modules into the CPAN Mini mirror.

-l, --local
A local directory to store the CPAN Mini mirror in. Specifying this option overrides the
value in the config file.

-r, --remote
A CPAN site to create the local CPAN Mini mirror from.

-v, --verbose
Display verbose processing information

-V, --version
Display version information.


mcpani uses a simple configuration file in the following format:

local: /www/CPAN
remote: ftp://ftp.cpan.org/pub/CPAN ftp://ftp.kernel.org/pub/CPAN
repository: /work/mymodules
passive: yes
dirmode: 0755

Description of options:

· local

location to store local CPAN::Mini mirror (*REQUIRED*)

· remote

CPAN site(s) to mirror from. Multiple sites can be listed, with spaces between them.

· repository

Location to store modules to add to the local CPAN::Mini mirror.

· passive

Enable passive FTP.

· dirmode

Set the permissions of created directories to the specified mode (octal value). The
default value is based on the umask (if supported).

mcpani will search the following four places in order:

· file pointed to by the environment variable MCPANI_CONFIG

· $HOME/.mcpani/config

· /usr/local/etc/mcpani

· /etc/mcpani


Christian Walde "<[email protected]>"

Use mcpanip online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 2
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 3
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    Download Osu!
  • 4
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 5
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    Download Metal detector based on RP2040
  • 6
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • More »

Linux commands