1. 程式人生 > >Usage of P4V on Ubuntu 16.04

Usage of P4V on Ubuntu 16.04

SOLUTION

Double-click the file to unpack the archive. If this does not extract the files on your Linux system, use this command to unpack the archive:

tar -xvzf p4v.tgz

This will create a new directory with the name of the application and a version number in the name, such as:

p4v-2012.1.490402

Enter the directory. Open the bin

 subdirectory.

Double-click (sudo sh ) on p4v to start the application. You can add a shortcut to the application on your desktop.

You can add the bin directory to your PATH so that you can launch P4V from anywhere on the command-line. For example:

echo 'export PATH=${PATH}:~/Downloads/p4v-2012.1.490402/bin' >> ~/.bashrc

The exact procedure to edit the PATH can vary depending on your system. Then open a new terminal window and type:

p4v

This will start p4v.