58 | | * In the terminal window, check for the presence of Git, GCC/g++, and Clang/clang++ and install if necessary. |
| 58 | * In the terminal window, check for the presence of Git, GCC/g++, and Clang/clang++ and install if necessary. Portions of command responses are shown where helpful: |
| 59 | |
| 60 | {{{ |
| 61 | $ git |
| 62 | The program 'git' is currently not installed. You can install it by typing: |
| 63 | sudo apt-get install git |
| 64 | $ sudo apt-get install git |
| 65 | [sudo] password for beman: |
| 66 | ... |
| 67 | After this operation, 19.7 MB of additional disk space will be used. |
| 68 | Do you want to continue [Y/n]? y |
| 69 | ... |
| 70 | $ g++ |
| 71 | The program 'g++' can be found in the following packages: |
| 72 | * g++ |
| 73 | * pentium-builder |
| 74 | Try: sudo apt-get install <selected package> |
| 75 | $ sudo apt-get install g++ |
| 76 | ... |
| 77 | After this operation, 29.6 MB of additional disk space will be used. |
| 78 | Do you want to continue [Y/n]? y |
| 79 | ... |
| 80 | $ clang++ |
| 81 | The program 'clang++' is currently not installed. You can install it by typing: |
| 82 | sudo apt-get install clang |
| 83 | $ sudo apt-get install clang |
| 84 | ... |
| 85 | After this operation, 141 MB of additional disk space will be used. |
| 86 | Do you want to continue [Y/n]? y |
| 87 | ... |
| 88 | $ git --version |
| 89 | git version 1.8.3.2 |
| 90 | $ g++ --version |
| 91 | g++ (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1 |
| 92 | Copyright (C) 2013 Free Software Foundation, Inc. |
| 93 | This is free software; see the source for copying conditions. There is NO |
| 94 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 95 | |
| 96 | $ clang++ --version |
| 97 | Debian clang version 3.2-7ubuntu1 (tags/RELEASE_32/final) (based on LLVM 3.2) |
| 98 | Target: x86_64-pc-linux-gnu |
| 99 | Thread model: posix |
| 100 | }}} |
| 101 | |
| 102 | == Setup Git == |
| 103 | |
| 104 | {{{ |
| 105 | $ git config --global user.name "Beman Dawes" |
| 106 | $ git config --global user.email bdawes@acm.org |
| 107 | $ git config --global core.autocrlf input |
| 108 | $ git config -l |
| 109 | user.name=Beman Dawes |
| 110 | user.email=bdawes@acm.org |
| 111 | core.autocrlf=input |
| 112 | $ git clone --recursive git@github.com:boostorg/boost.git modular-boost |
| 113 | Cloning into 'modular-boost'... |
| 114 | ... |
| 115 | }}} |