This article introduces that many software in Linux is not provided as binary installation package, but rather provides source code directly.
Reasons for not providing installation packages: If you provide an installation package, you will need to provide a binary installation package for each version of Linux. Linux has a very large kernel version, so in order to reduce the size of the distribution package, the source code is provided directly for the user to compile and run directly.
Git is a source code control tool
To install the git command:
# apt-get Install git
# apt-get Install Git-doc git-svn git-email Git-gui gitk (commands are executed under root authority)
To view a git document:
Using the man command: # man Git-checkout
Source code submission and acquisition:
1. Create repository git ini
2. Submit the file to the local repository git commit
3. Create a local branch git branch
4. Switch local branch git checkout
5. Create an open source project on GitHub
6. Upload source to GitHub git push
7. Download source code from github: Git clone
Git is a very useful tool, and it can be a great help in learning Linux.
Welcome to visit my blog address http://home.cnblogs.com/u/haihaizhazha/
Android Deep explore HAL and Driver Development Chapter III