Ubuntu10.04 summary of Git installation exceptions

Source: Internet
Author: User
Ubuntu10.04 general background for Installing Git exceptions: Git is an open-source distributed version control system suitable for efficient and quick management of various project versions. Git is an open source version control software developed by LinuxTorvalds to help manage the Linux kernel. Despite the general background of Installing Git exceptions in the most... Ubuntu10.04: Git is an open-source distributed version control system and is suitable for managing various project versions efficiently and quickly. Git is an open-source version control software developed by Linux Torvalds to help manage the Linux kernel. Although Git was initially developed to assist the Linux kernel development process, Git has become the most popular project version control software. SVN introduction: SVN is an upgraded version of CVS, which is used to replace CVS. because of the internal code problems of CVS, it is difficult to exert more powerful functions. Differences between Git and SVN: (1) Git is distributed, but SVN is not; (2) Git is stored as metadata, and SVN is stored as files; (3) git branches are different from SVN branches. (4) Git does not have a global version number, and SVN has a version number. (5) the integrity of Git content must be caused by SVN. Install Git: tag: Cross-Platform C/C ++ * development language: C/C ++ * project homepage: http://git-scm.com/ * Document address: http://git-scm.com/ Documentation *: http://git-scm.com/ Download download (git-1.6.3.3.tar.gz) decompress, enter the git-1.6.3.3 directory to execute the following steps :#. /configure-prefix =/usr/local/git # make exception: "zlib. h No such file or directory "zlib. h included in the zlibg1-dev; openssl/rand. h is included in libssl-dev and is not installed in the system. OK, install ~, Execute # apt-get install zlib1g-dev libssl-dev in execute make command # make exception: "tclsh failed; using unoptimized loading ". Install tcl ....... Execute # apt-get install build-essential tcl8.4 tk8.4 gettext exception: Do you want to continue [Y/n]? YMedia change: please insert the disc labeled ..... Prompt to insert the disk, but there is no disk. change the configuration file to open the/etc/apt/sources. list file and comment out the # deb cdrom :................... Then run # apt-get install build-essential tcl8.4 tk8.4 gettext and then run it again # make succeeded and # make install succeeded. Finally, don't forget to set the PATH (unless you like to execute git in the absolute PATH) vi/etc/profile Add: export PATH =/usr/local/git/bin:/usr/local/git/libexec/git-core: $ PATH or vi ~ /. Bashrc Add: export PATH =/usr/local/git/bin:/usr/local/git/libexec/git-core: $ PATH
Related Article

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.