Configure KDIFF3 for Git, take effect gitk

Source: Internet
Author: User
Tags diff

Front: Git itself with the diff tool is not good, generally consider replacing the Git diff tool with KDIFF3. GITK is accompanied by git installation, but not normal use, missing gitk since the wish package.

Operation: 1, installation qt4.7

http://download.qt.io/archive/qt/4.7/
qt-everywhere-opensource-src-4.7.3.tar.gz "Download QT package, pay attention to watch, do not download win or Mac version of:"
./configure
O
Yes
Gmake//takes about 3-4 hours to consume
Gmake All

2, kdiff3-0.9.95.tar.gz online a lot, not difficult to download.

./configure Qt4

Make

Make install

#注意此时生成的kdiff3包, you can copy directly to the/usr/bin directory and avoid adding KDIFF3 path for each user. Make needs to rely on Step 1 at this point.

#注意点: If your environment has already deployed QT, the version may be low, kdiff3 need to find the QT library, you might prefer to install locally. At this point, modify Ld_library_path to add the QT library to the front of the variable:

such as Ld_library_path=/usr/lib: $LD _library_path

3, tk8.5.10-src.tar.gz download address: http://download.qt-project.org/archive/qt/4.7/

Installation steps with 2. The main generated package needs to be copied to the development location;

Install the TK package, execute GITK, will be prompted to find the TCL package, use Find in the installation of the TK directory to find. The effect is as follows:



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.