Skip to content

Instantly share code, notes, and snippets.

@ssmythe
Last active January 26, 2024 18:21
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ssmythe/193681fe70b5af289881 to your computer and use it in GitHub Desktop.
Save ssmythe/193681fe70b5af289881 to your computer and use it in GitHub Desktop.
Install P4 cli on CentOS 6
#!/usr/bin/env bash
#
# P4 CLIENT
#
echo "p4-cli: Install p4 yum repo"
cat > /etc/yum.repos.d/perforce.repo <<EOF
[perforce]
name=Perforce
baseurl=http://package.perforce.com/yum/rhel/6/x86_64/
enabled=1
gpgcheck=1
EOF
echo "p4-cli: Install p4 yum repo signing key"
rpm --import http://package.perforce.com/perforce.pubkey
echo "p4-cli: Install p4"
yum -y install perforce-cli
@rudolfwalter
Copy link

The package is nowadays called helix-cli.

@raq007
Copy link

raq007 commented Nov 6, 2020

Thanks for sharing the steps and also the last comment about 'helix-cli', worked for me!

@Macoseduardo
Copy link

@Macoseduardo
Copy link

also, this seems to be the new client
yum -y install helix-cli

@ssmythe
Copy link
Author

ssmythe commented Jan 26, 2024

I'm glad the community is using these gists. I wrote them back in the day to help speed up installs and super common tasks. I'm glad to hear they provide value still. Enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment