Articles → GIT → Install GIT And Ubuntu

Install GIT And Ubuntu






Download Git Set Up




  1. Open https://git-scm.com/
  2. Once the page gets loaded, click on ‘Downloads’.
  3. Picture showing the git-scm site to download git bash
    Click to Enlarge

  4. From the download page, click the appropriate operating system (in my case, it’s windows)
  5. Picture showing the different download options based on the operating system
    Click to Enlarge

  6. Once you click on ‘Windows’ link, latest version of git is downloaded on your machine.
  7. Picture showing the screen before the download gets started
    Click to Enlarge



Installing Git




  1. Double-click on the set up downloaded from the previous step.
  2. Once you double-click, a window will come to provide information on licensing (see the screen shot below). Click on ‘Next’ button to move to next step.
  3. Picture showing the first window of the git bash installation wizard
    Click to Enlarge

  4. In the next window, setup ask you the path to install git. If you want to specify any particular location, then you can select it using ‘Browse’ button else click on ‘Next’ button
  5. Picture showing the second window of the git bash installation wizard to select the installation path
    Click to Enlarge

  6. In the next window, you can select the components you want to install. Select the components and click on ‘Next’.
  7. Picture showing the third window of the git bash installation wizard to select the components
    Click to Enlarge

  8. Next window informs user that a shortcut icon will be created on the start menu. If you want you can skip this step by clicking on ‘Don’t create a start menu folder’ checkbox. Click ‘Next’.
  9. Picture showing the git bash installation screen for specifying the start menu folder name
    Click to Enlarge

  10. Next window asks you to specify the default editor for git. Select the editor and click on ‘Next’.
  11. Picture showing the git bash installation screen for selecting the default editor
    Click to Enlarge

  12. Next window asks you to select path environment. Select the path environment and click ‘Next’.
  13. Picture showing the git bash installation screen for specifying the path in the environment variables
    Click to Enlarge

  14. In the next window, select the option ‘Use the OpenSSL library’
  15. Picture showing the git bash installation screen for selecting the option Use the OpenSSL library
    Click to Enlarge

  16. In the next window, select the line ending conversions. Select the right option and click ‘Next’.
  17. Picture showing the git bash installation screen for specifying the line ending conversions
    Click to Enlarge

  18. In the next window, select the terminal emulator and click on ‘Next’.
  19. Picture showing the git bash installation screen for selecting the terminal emulator
    Click to Enlarge

  20. In the next window, click on ‘Install’ to install Git
  21. Picture showing the window to with the install button to install git bash
    Click to Enlarge




Check If Git Has Installed




  1. Go to desktop.
  2. Click on the ‘Git Bash’ icon.
  3. Picture showing the git bash icon on the desktop
    Click to Enlarge

  4. A command prompt like window will open. In the window, enter the following command
  5. git – version


    Picture showing the command prompt window for checking the version of the git bash
    Click to Enlarge




Installing Ubuntu




  1. Open windows store (if you are using windows 10).
  2. In the search box, type ‘ubuntu’ and press enter.
  3. Ubuntu application is searched in windows store.
  4. Picture showing the window store to install ubuntu
    Click to Enlarge

  5. Click on ‘Get’ to install ubuntu.

Other Settings




  1. Go to control panel.
  2. Click on ‘Programs’( ‘Turn windows features on or off’.
  3. A window will appear to enable/disable windows features. Select ‘Windows Subsystem for Linux’ checkbox and click Ok.
  4. Picture showing the control panel for adding Windows Subsystem for Linux
    Click to Enlarge




Posted By  -  Karan Gupta
 
Posted On  -  Friday, June 7, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250