[置顶] 如何在Ubuntu下安装比较工具Beyond Compare

从http://www.scootersoftware.com/download.php 官方地址下载 bcompare-3.3.XXX.tar.gz

http://download.csdn.net/download/qiyulongq/3804341 很不错

 

[置顶] 如何在Ubuntu下安装比较工具Beyond Compare_第1张图片

下面就是破解了,

1. 从网上下载linux bcompare的破解补丁文件keygen(如上的下载链接),仅需要这一个文件,把该文件放入上面解压好的bcompare-3.3.2.14050文件夹下,执行./keygen 注意:要把keygen放于要安装的install.sh同一目录下,他们共同的目录所在的位置必须在linux下的ext4,ext3文件系统中,而不是在ubuntuvirtualbox的vbox-share中,要让keygen有可以执行的权限 sudo chmod a+x keygen 或sudo chmod 777 keygen

$./keygen 
=================================================
******               TEAM ZWT               ******
******Keygen&Patch for Beyond CompareLinux******
******           [email protected]           ******
=================================================
1. Do you want me to patch Beyond Compare?(y/n)y
Begin patching...
Patch and Backup(BCompare.bak) success!
2. Do you want me to generate a valid license?(y/n)y
2.a please give me your user name:google (我用的是安装ubuntu时的用户名,也就是ubuntu的第一个user账户)
2.b please give me the number of licenses:(max 9999)1
2.c please select thePlatform(0,Windows;1,Linux;2,Linux/Windows):1
2.d please select the Edition(0,Pro;1,Standard):0

The License key is:

--- BEGIN LICENSE KEY ---
0V7V86YNslgrp+Uj3R+WjLXv2kxcT5qsRFnzJyxVYPU DcS5h-+BLJ8LwT
dwoOAPOtWP+Pu-QVXERX4-xFGgUFtM1PrkfQr96Czn52qQ hjN+bgTr0If
atliY4hUdXp40AB64mdbjGOJ feMDNXyaxnzS394D1HS4Hp7O 1+Vqwul1U+
--- END LICENSE KEY -----

Bye! Have a nice day!


2.再和上面方法一样,重新安装bcompare

sudo ./install.sh 

[sudo] password for google: 

install prefix? [/usr] /opt

======================================

Please place the following in your .bashrc or .cshrc (etc.)

export PATH=/opt/bin:$PATH

======================================

Executable is /opt/bin/bcompare


3.执行/opt/bin/bcompare ,把上面生成的Licensekey粘帖上,About beyond compare信息显示如下

 


/opt/bin/bcompare 执行的时候出现如下 提示的话,如:

安装过程中出现的问题:
    root@host ~]# /usr/local/bin/bcompare
    Some Shared Libraries were not found
        linux-gate.so.1 =>  (0xb7f35000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f03000)
        libqtc.so.1 => /usr/local/lib/beyondcompare/libqtc.so.1 (0xb79ff000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb78e3000)
        librt.so.1 => /lib/librt.so.1 (0xb78da000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb78c1000)
        libdl.so.2 => /lib/libdl.so.2 (0xb78bc000)
        libc.so.6 => /lib/libc.so.6 (0xb7776000)
        libqt-mt.so.3 => not found
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7767000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7675000)
        libm.so.6 => /lib/libm.so.6 (0xb764e000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7630000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7617000)
        /lib/ld-linux.so.2 (0xb7f36000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7614000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb760f000)
    [root@host ~]#

解决办法是 安装32位运行库

sudo apt-get install ia32-libs

几十分钟后,安装成功后,再执行第三步即可。


后续有的问题:无法点击打开

beyond compare,下文简称bc,安装好后,通过在命令行中输入“/opt/bin/bcompare”可拉起bc应用。但是我没有在Dash Home中找到bc的应用图标。

通过查阅相关文章,我发现原来是bc的应用图标设置不正确。通过如下步骤解决:

1、在命令行中输入 cd /usr/share/applications

2、sudo vim bcompare.desktop

3、通过vim编辑如下,需确保修改如下两项“Exec=/opt/bin/bcompare”和“Icon=/opt/lib/beyondcompare/help/bclogo.png”,使其指向正确的应用程序和图标的位置。

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Beyond Compare
Exec=/opt/bin/bcompare
TryExec=/opt/bin/bcompare
Comment=Compare, sync, and merge files and folders
Terminal=false
Categories=Qt;Development;
Icon=/opt/lib/beyondcompare/help/bclogo.png
Type=Application
MimeType=application/beyond.compare.snapshot;

保存退出后,就可在Dash Home中看到bc的应用图标了。

点击该图标即可拉起bc应用,

你可能感兴趣的:(linux,ubuntu,32位)