如何刪除 /opt/perforce 目錄中的 perforce 二進位文件

如何刪除 /opt/perforce 目錄中的 perforce 二進位文件

當我跑步時p4dp4我得到了[p4: command not found]

我沒有二進位文件p4dp4/選擇/強制/目錄。因此無法運行perforce伺服器和客戶端。我嘗試過卸載 perforce 伺服器和客戶端。我用的是ubuntu。

最後,如何獲得 perforce 二進位來運行伺服器和客戶端

sudo apt-get install helix-p4d

removing existing dangling p4d link
/usr/sbin/p4d
linking /opt/perforce/sbin/p4d to /usr/sbin/p4d

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::  Thank you for choosing Perforce Helix
::  The following has been installed by the 'helix-p4d' package:
::
::  - The Helix Version Engine (p4d)
::  - A 'perforce' system user
::  - p4dctl, a tool for managing Perforce service instances
::  - The Helix Command-Line Client (p4)
::
::  The Helix Version Engine is now installed, but not yet configured.
::  You must run the following to configure p4d (as root):
::
::    sudo /opt/perforce/sbin/configure-helix-p4d.sh
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Started 0 services.
No services configured.


linking failed: linking /opt/perforce/sbin/p4d to /usr/sbin/p4d, because there is no p4d.

如何取得所有 perforce 二進位。

答案1

Perforce 需要至少兩個執行檔:Perforce 服務(Unix 上的 p4d,Windows 上的 p4s.exe)和至少一個 Perforce 應用程式(例如 UNIX 上的 p4 或 Windows 上的 p4.exe)。

有一個很長的先決條件清單。您是否遵循這樣的安裝過程:“Linux 中的 p4search perforce 應用程式安裝與設定指南」。

您不應該收到該訊息,而是應該看到以下內容:

apt-get install helix-p4d  
Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
The following additional packages will be installed:  
  helix-cli helix-cli-base helix-p4d-base helix-p4d-base-16.2 helix-p4dctl  
The following NEW packages will be installed:  
  helix-cli helix-cli-base helix-p4d helix-p4d-base helix-p4d-base-16.2 helix-p4dctl  
0 upgraded, 6 newly installed, 0 to remove and 267 not upgraded.  
Need to get 6,722 kB of archives.  
After this operation, 15.5 MB of additional disk space will be used.  
Do you want to continue? [Y/n] y
...

[Removed many lines]

...  
Setting up helix-p4d-base-16.2  
(2016.2-1468155~trusty) ...  
update-alternatives: using /opt/perforce/sbin/p4d.16.2 to provide /opt/perforce/sbin/p4d (helix-p4d) in auto mode  
Setting up helix-p4d-base (2016.2-1468155~trusty) ...  
Setting up helix-p4d (2016.2-1468155~trusty) ...  
linking /opt/perforce/sbin/p4d to /usr/sbin/p4d  

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  
::  
::  Thank you for choosing Perforce Helix  
::  The following has been installed by the 'helix-p4d' package:  
::  
::  - The Helix Version Engine (p4d)  
::  - A 'perforce' system user  
::  - p4dctl, a tool for managing Perforce service instances  
::  - The Helix Command-Line Client (p4)  
::  
::  The Helix Version Engine is now installed, but not yet configured.  
::  You must run the following to configure p4d (as root):  
::  
::    sudo /opt/perforce/sbin/configure-helix-p4d.sh  
:: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  
Started 0 services.  
No services configured.  
Processing triggers for systemd (229-4ubuntu10)  
...  
Processing triggers for ureadahead (0.100.0-19)  
...

請閱讀安裝文件:“安裝和升級伺服器」。

「使用 apt-get 或 yum 的軟體包更新命令不會完成更新 Perforce 服務的過程。Linux 軟體包僅簡化了該過程的某些步驟。

在未完成其餘更新過程的情況下更新軟體包會使您的 Perforce 服務處於不穩定狀態。在更新任何軟體包之前,請務必閱讀並理解整個過程。

你需要:

  1. 配置 Perforce 包存儲庫。

  2. 導入 Perforce 包簽署金鑰。

  3. 安裝適當的 Perforce 服務包。

  4. 運行安裝後配置腳本。

請參閱上面的連結(“安裝和升級伺服器”)了解完整的詳細資訊。

相關內容