• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Git 2.17.0 on Ubuntu 18.04

{{postValue.id}}

To install Git - 2.17.0 on Ubuntu &ndash 18.04
  Git is an open source and most popular Version Control System. When a developer develops software he or she can store the software with its source code in Git repository. You can create a duplicate copy of the stored software to make changes to source code over time. The advantage of Git repository is, even if you make a mistake on source code while editing, it will not affect your live software and you can fix the mistake by comparing it with previously released source code. In this tutorial, we will cover the installation of Git on Ubuntu 18.04

Installation

You can install the git from the default Ubuntu  repository as follows. 

root@linuxhelp1:~# apt-get install git 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
Use ' sudo apt autoremove'  to remove them.
The following additional packages will be installed:
  git-man liberror-perl
Suggested packages:
.
.
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.17.0-1ubuntu1_all.deb ...
Unpacking git-man (1:2.17.0-1ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.17.0-1ubuntu1_amd64.deb ...
Unpacking git (1:2.17.0-1ubuntu1) ...
Setting up git-man (1:2.17.0-1ubuntu1) ...
Setting up liberror-perl (0.17025-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up git (1:2.17.0-1ubuntu1) ...

If you may want to know the version of Git, please run the following command on terminal.

root@linuxhelp1:~# git --version
git version 2.17.0

Post-Installation 
You can now use git to clone any repository. However, if you wish to make git commits you first need to set your personal information which will be submitted to the main branch with each your commit. Enter the following commands to set your Name and email address.

root@linuxhelp1:~# git config --global user.name " linuxhelp1" 
root@linuxhelp1:~# git config --global user.email abc@linuchelp1.com

After configuring the credential into Git, then we have to open a Git configuration file where you can find the  user details as follows.

root@linuxhelp1:~# vim ~/.gitconfig
[..]
[user]
        name = linuxhelp1
        email = abc@linuchelp1.com
[..]

With this, the method to  install Git - 2.17.0 on Ubuntu &ndash 18.04 comes to an end.

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

couldn’t install speedtest-cli in centOS 6.7 . Following error occured: yum install speedtest-cli Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loadi

A

There isn’t any speedtest-cli package available from Yum repositories, the only way is to install it from PIP tool as described in this tutorial. So, first install pip package and then do pip

Q

I installed using pip. run the command "speedtest-cli", but the respond is “Command not found.” I’m using Ubuntu 14.04

A

try the command "speedtest" instead of "speedtest-cli"

Q

All I get is: $ speedtest-cli Retrieving speedtest.net configuration… Retrieving speedtest.net server list… Failed to parse list of speedtest.net servers

A

Change line 345 in the script uh = urlopen(‘http://c.speedtest.net/speedtest-servers-static.php’) to uh = urlopen(‘http://www.speedtest.net/speedtest-servers-static.php’) save and exit. T

Q

nstead of using speedtest, I want to check my current Internet speed from the terminal on Ubuntu. How can I do it?

A

you can also use tespeed,iperf,speedometer to test internet speed

Q

I have seen there is a package called indicator-netspeed-unity to check internet speed . Anyone help me how to install it

A

use the folowing steps sudo add-apt-repository ppa:fixnix/netspeed sudo apt-get update sudo apt-get install indicator-netspeed-unity

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luke ?
workbench for debian

I am using workbench in CentOS whereas now I need to use Debian Operating system so could you please help to install and use in Debian?

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.