Skip to content

Commit

Permalink
update Ubuntu older distro version and add note on common missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Rader committed Jul 15, 2024
1 parent 3dfd9ac commit e27ed45
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ To upgrade, you will need to repeat these steps to reinstall.

*Older distributions are missing some required dependencies. Even
though the package may appear to install successfully, `microsoft/
git` will not function as expected. If you are running Ubuntu 18.04 or
git` will not function as expected. If you are running `Ubuntu 20.04` or
older, please follow the install from source instructions below
instead of installing the debian package.

### Other distributions
### Installing From Source

You will need to compile and install `microsoft/git` from source:
On older or other distros you will need to compile and install `microsoft/git` from source:

```shell
git clone https://github.com/microsoft/git microsoft-git
Expand All @@ -199,6 +199,14 @@ sudo make -j12 prefix=/usr/local install
For more assistance building Git from source, see
[the INSTALL file in the core Git project](https://github.com/git/git/blob/master/INSTALL).

#### Common Debian based dependencies
While the INSTALL file covers dependencies in detail, here is a shortlist of common required dependencies on older Debian/Ubuntu distros:

```shell
sudo apt-get update
sudo apt-get install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc
```

Contributing
=========================================================

Expand Down

0 comments on commit e27ed45

Please sign in to comment.