Installing PCF Dev on Linux
Page last updated:
This topic describes how to install PCF Dev on Linux.
QEMU + libvirt
To install on Ubuntu systems, run
sudo apt install qemu-kvm libvirt-bin libvirt-doc in a terminal window.
PCF Dev uses the Cloud Foundry Command Line Interface (cf CLI) to push and scale apps.
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.
Install the downloaded package using the package manager for your distribution.
To verify your installation, open a terminal window and enter
cfat the prompt. If your installation was successful, the cf CLI help listing appears.
Download the latest version of PCF Dev from the Pivotal Network.
Install the CF Dev plugin required to run PCF Dev:
$ cf install-plugin cfdev
Start PCF Dev. Enter the following command, replacing
FILEPATH/FILEwith 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.
To stop PCF Dev, run the following command:
$ cf dev stop
To remove PCF Dev, run the following command:
$ cf uninstall-plugin pcfdev