Perforce Mac Download

Feb 26, 2015 Download Perforce for Mac to version control system that uses SCM protocol. Open Download.zip Download (8 KB) Download.zip Download (8 KB).

Download the latest version of Perforce from their web site (http://www.perforce.com). To setup the server you really only need to download the command-line tools p4 and p4d. Here are links to the versions I used when setting up my server in January 2006.

http://www.perforce.com/downloads/perforce/r05.2/bin.macosx102ppc/p4
http://www.perforce.com/downloads/perforce/r05.2/bin.darwin60ppc/p4d

Perforce Mac Download

Perforce Visual Client Download For Mac Perforce Visual Studio Plug-In is a useful too for the programmers that need to implement the Perforce server features in their development process. The plug-in offers native support for the.

You may also wish to install the graphical tools P4V and P4Merge. These are part of a single disk image.

Perforce Mac Download

Perforce recommends that p4d not be run as root so I created a new user account called p4admin. I also created a new group called perforce. I decided to install the software in the /usr/local/bin directory and to place the depot on a separate drive that is mounted under the /Depot directory.

Automatically starting p4d when the system boots is handled through the utility launchd. Configuring this is done by editing a plist file and then loading it with the utility launchctl. Attached is a copy of the plist file I used. I placed the plist file in the directory /Library/LaunchDaemons. The file is called perforce.plist.

Once the file exists use the launchctl application to tell the launchd program about it. The command I used was:

Download Perforce

$ sudo launchctl load /Library/LaunchDaemons/perforce.plist

Perforce Version

PerforcePerforce Mac Download

If you make changes to the plist file and want to reload it use the command below to unload the existing one. Then repeat the above command to load the changed plist.

$ sudo launchctl unload /Library/LaunchDaemons/perforce.plist

Perforce Mac Client

Perforce recommends setting up a regular job to create a checkpoint and a backup of the depot. The script p4backup illustrates how to handle this. Use the p4backup.plist file to teach launchd about this script so it will run on a regular basis. On my server I run this script every night. The backup is done using a copy from the /Depot directory to the /Depot.Backup directory, which is on a separate filesystem.

Perforce Mac Download Latest

Perforce

perforce.plist GroupName perforce Label com.perforce.p4d OnDemand Program /usr/local/bin/p4d ProgramArguments /usr/local/bin/p4d -r /Depot -p 1666 -J /Depot/journal -L /Depot/p4err RunAtLoad ServiceDescription Perforce Daemon StandardErrorPath /Depot/p4d.stderr.txt StandardOutPath /Depot/p4d.stdout.txt UserName p4admin WorkingDirectory /Depot

Filed under: SCM Tools, Software |