Available Packages
The following packages are are available:
- p4p-common-cpp: Integration Library (C++)
- p4p-portal-server: Portal Server
- p4p-portal-shell: Command-line shell for configuring Portal Server
- p4p-portal-docs: Portal Server guide and documentation
- p4p-portal-utils: Portal server utilities
Installing Packages
Platforms
Windows binaries are provided as a ZIP file. The distribution currently
contains only the Integration Library.
The package includes DLLs for necessary external dependencies (libcurl)
so that they do not need to be installed separately.
See http://p4p.cs.yale.edu/files/tarball-bin/windows
for available downloads.
- Add repository for apt-get. Create a file /etc/apt/sources.list.d/p4p.list containing the following:
deb http://p4p.cs.yale.edu/files/main/ubuntu/jaunty/$(ARCH) ./
- Install the desired P4P packages:
apt-get install [package names]
- Add repository for yum. Create a file /etc/yum.repos.d/p4p.repo containing the following:
[p4p]
name=P4P - $releasever - $basearch
baseurl=http://p4p.cs.yale.edu/files/main/fedora/$releasever/$basearch
- Install the desired P4P packages:
yum --nogpgcheck install [package names]
- Install layman and update the list of overlays (if you haven't already):
emerge layman
layman -f
- Add the zugaina overlay (includes libmicrohttpd dependency)
layman -a zugaina
- Add libmicrohttpd to your unmasked packages:
echo "net-libs/libmicrohttpd" >> /etc/portage/package.keywords
- Add the P4P overlay:
layman -o http://p4p.cs.yale.edu/files/main/gentoo/p4p-overlay.xml -f -a p4p-overlay
- Install the desired P4P packages:
emerge [package names]