- What is PPM Repositories ?
- Repository Types
- PPM Server 3
- PPM Server 2
- Web Repositories
- FTP Repositories
- Local Repositories
- Why add new Repositories ?
- Add PPM Repositories
- PPM Version 3
- PPM older versions
- Manage PPM Repositories
- Repositories Resources
- Default Repository
- Additional Repositories
- Perl 5.10
- Perl 5.8
- My PPM has AS Servers:
- Other 5.8 only:
- May also work for 5.6:
- Perl 5.6
- Installing non-ActiveState modules:
What is PPM? PPM is the package management utility for ActivePerl. It simplifies the task of locating, installing, upgrading and removing Perl packages. The PPM client accesses PPM repositories on the Internet or on a local network. It is also used to update previously installed packages with the latest versions and to remove unused packages from your system.
What is PPM Repositories ?It is collections of Perl packages/modules.
Repository TypesPPM3 supports several types of package repositories:
1. PPM Server 3
ActiveState's SOAP-driven package server. Because all searches are done server-side, the server can deliver much richer information about packages than other repositories.
2. PPM Server 2
3. Web Repositories
Older versions of PPM used non-SOAP repositories (directories full of PPD files accessible using a web browser). Over the history of PPM, there have been several different ways of organising the files so that PPM can search for packages properly. PPM3 tries to download a summary file first -- if that fails, it gets the directory index. It parses the summary or the index, and caches it. Searches are done from the cache.
4. FTP Repositories
FTP is another way of exposing a directory full of PPD files. PPM3 consideres FTP repositories a subset of Web repositories. Treat them as identical: PPM3 downloads the summary or the "index" (file listing in this case), parses it, and then searches from it.
5. Local Repositories
To support installing packages from the ActiveCD, a local directory can be a repository. PPM searches the files in the directory. All valid path formats are supported, including UNC paths.
Why add new Repositories ?
If you are using PPM (Perl Package Manager) from ActiveState, you may only be using ActiveState own repository to grab and install CPAN modules. However, there are many more repositories around the world, which hold many modules and packages that ActiveState haven't yet loaded into their repository.
By adding these extra repositories, when you type 'install
Add PPM Repositories
To add new Repositories type
rep add [name] [Location]
where [name] is user define name for repositories and
Example :
PPM> rep add DevelopHelp http://ppd.develop-help.com/ppd/
PPM older versionsOlder versions of PPM use a different syntax to the current release.
PPM> set repository [name] [Location]
where name is user define name for repositories and Location
Example:
PPM> set repository DevelopHelp http://ppd.develop-help.com/ppd/
PPM> set save
Manage PPM Repositories
PPM Provide many commands to manage Repositories. Some are following.
rep delete Deletes specified repository
rep describe
rep rename
rep on
rep off
rep up
rep down
Note :
- The
needs to be put inside double quotes if it contains any spaces. - The *repository* (or *rep*) command controls two lists or repositories:
- The list of "active" repositories. This is the list of repositories used by *search*, *install*, and *upgrade*.
- The list of all known repositories. You can designate a repository "inactive", which means PPM will not use it in any commands.
- If no arguments are given, the rep command will list the active repositories defined in the PPM settings.
- The order is significant:
- When searching, PPM merges the results of all the repositories together, so the order is less important (see the *search* command).
- When installing a package, PPM will try the first repository, then thesecond, and so on, until it find the package you asked for.
Repositories Resources
Default Repository
Additional Repositories
- http://ppm4.activestate.com/MSWin32-x86/5.10/1002/ (x86)
- http://ppm4.activestate.com/MSWin32-x64/5.10/1002/ (x64)
- http://cpan.uwinnipeg.ca/PPMPackages/10xx/
- http://trouchelle.com/ppm10/
- http://www.bribes.org/perl/ppm/
- http://www.wxperl.co.uk/repository/ (WxPerl modules)
My PPM has AS Servers:
- http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer (PPMServer 2.0)
- http://ppm.ActiveState.com/PPM/ppmserver-5.8-windows.plex?urn:/PPM/Server/SQL (PPMServer 3.0)
Other 5.8 only:
- http://theoryx5.uwinnipeg.ca/ppms/ (use this for ActivePerl builds 8xx)
- http://www.bribes.org/perl/ppm/
- http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 (PPMServer 2.0)
- http://chorny.net/perlmod/ (.zip only for now) - includes patched modules, but no longer updated
- http://chorny.net/ppm4/ (ppm4 only, from build 820) - includes patched modules
- http://trouchelle.com/ppm/
- http://ppm.tcool.org/archives/ (for AP build 818 and above)
- http://ppm.tcool.org/server/ppmserver.cgi?urn:PPMServer (PPMServer 2.0)
- Latest OpenGL 5.8 PPMs
- http://savage.net.au/Perl-modules.html
- http://ppm.pagefile.de/
- http://voltar.org/active/5.8/ (up-to-date Gtk2-perl, et al)
- http://www.wxperl.co.uk/repository/ (WxPerl modules)
May also work for 5.6:
- http://Jenda.Krynicky.cz/perl/
- http://www.Bribes.org/perl/ppm/
- http://www.Roth.net/perl/packages
- Latest OpenGL 5.6 PPMs
- http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/ (build status)
- http://theoryx5.uwinnipeg.ca/ppmpackages/ (use this for ActivePerl builds 6xx)
- http://www.soulcage.net/ppds/ppds/
- http://www.bribes.org/perl/ppm/
- http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer (PPMServer 2.0)
- Latest OpenGL 5.6 PPMs
Installing non-ActiveState modules:You can now access a larger number of PPM packaged modules, including mod_perl :
PPM> install mod_


Hi,its a good thing that you are sharing your knowledge with us. Looking forward for more topics under Srijan.
ReplyDeleteGr8 work om..!!
ReplyDelete