Beyond Compare 4下载和安装
1、在线安装
Debian, Ubuntu安装命令:
wget https://www.scootersoftware.com/bcompare-4.4.6.27483_amd64.deb
sudo apt update
sudo apt install ./bcompare-4.4.6.27483_amd64.deb
Redhat Enterprise Linux, Fedora, CentOS安装命令:wget https://www.scootersoftware.com/bcompare-4.4.6.27483.x86_64.rpm
su
rpm --import https://www.scootersoftware.com/RPM-GPG-KEY-scootersoftware
yum install bcompare-4.4.6.27483.x86_64.rpm
2、离线安装
- 在beyond compare官网下载Linux安装包,安装包有64位和32位的,根据你所安装的Linux系统实际情况下载。
BeyondCompare下载地址 - 将下载的安装包放在Linux系统任一目录下
- 到对应目录下执行安装命令即可
Debian, Ubuntu安装命令:
sudo apt install ./bcompare-4.4.6.27483_amd64.deb
edhat Enterprise Linux, Fedora, CentOS安装命令:sudo yum install bcompare-4.4.6.27483.x86_64.rpm
注册
- 先执行以下2条命令即可完成程序解密
bash
cd /usr/lib/beyondcompare/
bash
sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" BCompare
- 此时BCompare文件已被解密,打开软件会提示"Trial Mode Error!"表示成功,输入下面TEAM ZWT生成的密钥即可注册成功,可在终端通过下面命令打开软件,软件界面弹出后,选择Enter license key,将下述密钥填进去即可。
bash
bcompare
bash
--- BEGIN LICENSE KEY ---
GXN1eh9FbDiX1ACdd7XKMV7hL7x0ClBJLUJ-zFfKofjaj2yxE53xauIfkqZ8FoLpcZ0Ux6McTyNmODDSvSIHLYhg1QkTxjCeSCk6ARz0ABJcnUmd3dZYJNWFyJun14rmGByRnVPL49QH+Rs0kjRGKCB-cb8IT4Gf0Ue9WMQ1A6t31MO9jmjoYUeoUmbeAQSofvuK8GN1rLRv7WXfUJ0uyvYlGLqzq1ZoJAJDyo0Kdr4ThF-IXcv2cxVyWVW1SaMq8GFosDEGThnY7C-SgNXW30jqAOgiRjKKRX9RuNeDMFqgP2cuf0NMvyMrMScnM1ZyiAaJJtzbxqN5hZOMClUTE+++
--- END LICENSE KEY -----
成功后在目录~/.config/bcompare/下会生成文件BC4Key.txt 如下
Beyond Compare 4
Licensed to: pwelyn
Quantity: 9999 users
Serial number: 9571-9981
License type: Pro Edition for Windows/Linux/macOS
--- BEGIN LICENSE KEY ---
GXN1eh9FbDiX1ACdd7XKMV7hL7x0ClBJLUJ-zFfKofjaj2yxE53xauIfk
qZ8FoLpcZ0Ux6McTyNmODDSvSIHLYhg1QkTxjCeSCk6ARz0ABJcnUmd3d
ZYJNWFyJun14rmGByRnVPL49QH+Rs0kjRGKCB-cb8IT4Gf0Ue9WMQ1A6t
31MO9jmjoYUeoUmbeAQSofvuK8GN1rLRv7WXfUJ0uyvYlGLqzq1ZoJAJD
yo0Kdr4ThF-IXcv2cxVyWVW1SaMq8GFosDEGThnY7C-SgNXW30jqAOgiR
jKKRX9RuNeDMFqgP2cuf0NMvyMrMScnM1ZyiAaJJtzbxqN5hZOMClUTE+
--- END LICENSE KEY -----
为所有用户注册bcompare 命令
bash
sudo cp ~/.config/bcompare/BC4Key.txt /etc/
如果上述的密钥失效了的话,找个BeyondCompare4注册机自己生成一个即可。
Beyond compare卸载
若你不想继续使用bcompare软件,可通过下述命令进行软件卸载。
bash
Debian, Ubuntu卸载命令:
sudo apt remove bcompare
bash
Redhat Enterprise Linux, Fedora, CentOS卸载命令:
su
yum remove bcompare