Install Helix Server on Linux
These steps are for the Ubuntu package manager for Ubuntu 20.04 (Focal Fossa), a popular version of Linux. If you want a different type of installation, see the Installing the server chapter of Helix Core Server Administrator Guide.
-
Make sure that you have root access on your machine.
-
Download the Perforce public key:
$ wget https://package.perforce.com/perforce.pubkey
-
Obtain the fingerprint of the public key:
$ gpg -n --import --import-options import-show perforce.pubkey
-
Verify the downloaded key matches the authentic Perforce fingerprint:
$ gpg -n --import --import-options import-show perforce.pubkey | grep -q "E58131C0AEA7B082C6DC4C937123CB760FF18869" && echo "true"
Iftrue
is the output, the key is valid. -
Add the public key to your keyring:
$ wget -qO - https://package.perforce.com/perforce.pubkey | sudo apt-key add -
-
Create a new file for the Perforce repository:
$ sudo nano /etc/apt/sources.list.d/perforce.list
-
In the new file, input the following line:
deb http://package.perforce.com/apt/ubuntu focal release
-
Save the file and exit your text editor.
Update your machine for the new Perforce repository
-
Run this command:
$ sudo apt-get update
-
Install Helix Core using the built-in Ubuntu package manager:
$ sudo apt-get install helix-p4d
-
Enter
Y
to confirm and wait for the installation to complete.
You now have everything you need to get started:
-
the Helix Core Command-Line Client (p4)
-
the Helix Core Versioning Engine (p4d)
-
a tool for managing the Perforce service (p4dctl)
-
an operating system user named
perforce
that is used to run the service.
Next, go to Install Helix Core Visual Client (P4V).