如何在Debian上安裝VeraCrypt++

在 VeraCrypt 安裝之前更新 Debian

首先,更新您的系統以確保所有現有軟體包都是最新的以避免衝突:

<span class="token function">sudo</span> <span class="token function">apt</span> update <span class="token operator">&amp;&amp;</span> <span class="token function">sudo</span> <span class="token function">apt</span> upgrade

導入 Notesalexp.org APT 儲存庫

預設情況下,VeraCrypt 在 Debian 上不可用,因此您需要匯入 Alex P 維護的第三方儲存庫:

<span class="token function">sudo</span> <span class="token function">apt</span> <span class="token function">install</span> <span class="token punctuation">\</span>
  dirmngr <span class="token punctuation">\</span>
  software-properties-common <span class="token punctuation">\</span>
  apt-transport-https <span class="token punctuation">\</span>
  <span class="token function">curl</span> <span class="token punctuation">\</span>
  lsb-release <span class="token punctuation">\</span>
  ca-certificates <span class="token punctuation">\</span>
  -y

注意:雖然導入第三方存儲庫可能存在風險,但 Alex P 多年來一直在為 Debian 用戶執行此 PPA,並在 LaunchPAD 上為 Ubuntu 用戶維護鏡像。

下一個任務是匯入 GPG 金鑰以驗證儲存庫包的真實性:

<span class="token function">curl</span> -fsSL https://notesalexp.org/debian/alexp_key.asc <span class="token operator">|</span> gpg --dearmor <span class="token operator">|</span> <span class="token function">sudo</span> <span class="token function">tee</span> /usr/share/keyrings/alexp_key.gpg <span class="token operator">&gt;</span> /dev/null

現在匯入 GPG 金鑰後,您可以使用下列命令匯入 LaunchPAD PPA:

window['nitroAds'].createAd('article\_1', { "refreshTime": 30, "renderVisibleOnly": true, "refreshVisibleOnly": true, "sizes": [ ["728", "90"], ["336", "280"], ["300", "250"] ], "report": { "enabled": true, "icon": true, "wording": "Report Ad", "position": "top-right" }, "mediaQuery": "(min-width: 1025px)", });

window['nitroAds'].createAd('article\_1', { "refreshTime": 30, "renderVisibleOnly": true, "refreshVisibleOnly": true, "sizes": [ ["336", "280"], ["300", "250"] ], "report": { "enabled": true, "icon": true, "wording": "Report Ad", "position": "top-right" }, "mediaQuery": "(min-width: 768px) and (max-width: 1024px), (min-width: 320px) and (max-width: 767px)", });

<span class="token builtin class-name">echo</span> <span class="token string">"deb [signed-by=/usr/share/keyrings/alexp_key.gpg] https://notesalexp.org/debian/<span class="token variable"><span class="token variable">$(</span>lsb_release -sc<span class="token variable">)</span></span>/ <span class="token variable"><span class="token variable">$(</span>lsb_release -sc<span class="token variable">)</span></span> main"</span> <span class="token operator">|</span> <span class="token function">sudo</span> <span class="token function">tee</span> /etc/apt/sources.list.d/alexp.list

透過 APT 指令完成 VeraCrypt 安裝

在繼續之前,請執行 APT 更新以反映新匯入的 PPA:

<span class="token function">sudo</span> <span class="token function">apt</span> update

現在,安裝應用程式:

<span class="token function">sudo</span> <span class="token function">apt</span> <span class="token function">install</span> veracrypt

啟動 VeraCrypt

安裝軟體後,可以透過多種方式完成啟動。

CLI 指令

首先,可以使用以下命令啟動該軟體:

veracrypt