Ubuntu20.04安装Beyond Compare 4.3.7
一、官网下载
方式一:wget https://www.scootersoftware.com/bcompare-4.3.7.25118_amd64.deb
二、安装相关依赖和bcompare
sudo apt-get update
sudo apt-get install gdebi-core
sudo dpkg -i bcompare-4.3.7.25118_amd64.deb
三、破解
进入beyondcompare目录
cd /usr/lib/beyondcompare/
输入下面命令,进行破解:
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生成的密钥即可注册成功
GXN1eh9FbDiX1ACdd7XKMV7hL7x0ClBJLUJ-zFfKofjaj2yxE53xauIfkqZ8FoLpcZ0Ux6McTyNmODDSvSIHLYhg1QkTxjCeSCk6ARz0ABJcnUmd3dZYJNWFyJun14rmGByRnVPL49QH+Rs0kjRGKCB-cb8IT4Gf0Ue9WMQ1A6t31MO9jmjoYUeoUmbeAQSofvuK8GN1rLRv7WXfUJ0uyvYlGLqzq1ZoJAJDyo0Kdr4ThF-IXcv2cxVyWVW1SaMq8GFosDEGThnY7C-SgNXW30jqAOgiRjKKRX9RuNeDMFqgP2cuf0NMvyMrMScnM1ZyiAaJJtzbxqN5hZOMClUTE+++
这样能用即几天,下方可以后续配置可以设为长期使用。
mkdir ~/.config/bcompare_back
cp -rf ~/.config/bcompare/* ~/.config/bcompare_back/sudo mv /usr/bin/bcompare /usr/bin/bcompare.real
sudo gedit /usr/bin/bcompare
在/usr/bin/bcompare文件内,添加如下内容,并保存退出:
#!/bin/sh
cp -rf ~/.config/bcompare_back/* ~/.config/bcompare/
/usr/bin/bcompare.real $@
再修改这个文件的执行权限:
sudo chmod a+x /usr/bin/bcompare
sudo apt-mark hold bcompare
结束。
后续可以查看保留应用
sudo apt-mark showhold
参考借鉴前辈文章:https://blog.csdn.net/croop520/article/details/113772900
原文链接:https://blog.csdn.net/qq_28166701/article/details/123497017