Installing PCF Dev on Linux

Page last updated:

This topic describes how to install PCF Dev on Linux.


QEMU + libvirt

PCF Dev uses QEMU and libvirt for virtualization.

To install on Ubuntu systems, run sudo apt install qemu-kvm libvirt-bin libvirt-doc in a terminal window.

Cloud Foundry Command Line Interface

PCF Dev uses the Cloud Foundry Command Line Interface (cf CLI) to push and scale apps.

  1. Download the cf CLI for your Linux distribution from the cf CLI repository in GitHub. If you previously used the cf CLI v5 Ruby gem, uninstall this gem first.

  2. Install the downloaded package using the package manager for your distribution.

  3. To verify your installation, open a terminal window and enter cf at the prompt. If your installation was successful, the cf CLI help listing appears.

Install PCF Dev

  1. Download the latest version of PCF Dev from the Pivotal Network.

  2. Install the CF Dev plugin required to run PCF Dev:

    $ cf install-plugin cfdev

  3. Start PCF Dev. Enter the following command, replacing FILEPATH/FILE with the filepath of the .iso or .tgz file you downloaded:

cf dev start -f FILEPATH/FILE

It may take several minutes for the PCF Dev VM and its services to start.

Note: You may be prompted to continue if your available memory is less than the recommended amount.

After the PCF Dev is now running banner appears, you can log in.

Stop PCF Dev

To stop PCF Dev, run the following command:

$ cf dev stop

Uninstall PCF Dev

To remove PCF Dev, run the following command:

$ cf uninstall-plugin pcfdev