Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7649278b
Commit
7649278b
authored
Apr 27, 2020
by
Katrin Leinweber
Committed by
Achilleas Pipinellis
Apr 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: Prefer Ubuntu's Git-PPA over source compiling
parent
a5ae4265
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
+18
-8
doc/install/installation.md
doc/install/installation.md
+18
-8
No files found.
doc/install/installation.md
View file @
7649278b
...
@@ -142,21 +142,31 @@ Starting with GitLab 12.0, Git is required to be compiled with `libpcre2`.
...
@@ -142,21 +142,31 @@ Starting with GitLab 12.0, Git is required to be compiled with `libpcre2`.
Find out if that's the case:
Find out if that's the case:
```
shell
```
shell
ldd
/usr/local/bin/git
|
grep
pcre2
ldd
$(
which git
)
|
grep
pcre2
```
```
The output should
be similar to:
The output should
contain
`libpcre2-8.so.0`
.
```
plaintext
Is the system packaged Git too old, or not compiled with pcre2?
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007f08461c3000)
Remove it:
```
shell
sudo
apt-get remove git-core
```
```
Is the system packaged Git too old, or not compiled with pcre2? Remove it and compile from source
:
On Ubuntu, install Git from
[
its official PPA
](
https://git-scm.com/download/linux
)
:
```
shell
```
shell
# Remove packaged Git
# run as root!
sudo
apt-get remove git-core
add-apt-repository ppa:git-core/ppa
apt update
apt
install
git
# repeat libpcre2 check as above
```
On Debian, use the following compilation instructions:
```
shell
# Install dependencies
# Install dependencies
sudo
apt-get
install
-y
libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev build-essential
sudo
apt-get
install
-y
libcurl4-openssl-dev libexpat1-dev gettext libz-dev libssl-dev build-essential
...
@@ -180,7 +190,7 @@ make prefix=/usr/local all
...
@@ -180,7 +190,7 @@ make prefix=/usr/local all
# Install into /usr/local/bin
# Install into /usr/local/bin
sudo
make
prefix
=
/usr/local
install
sudo
make
prefix
=
/usr/local
install
# When editing config/gitlab.yml
(Step 5)
, change the git -> bin_path to /usr/local/bin/git
# When editing config/gitlab.yml
later
, change the git -> bin_path to /usr/local/bin/git
```
```
For the
[
Custom Favicon
](
../user/admin_area/appearance.md#favicon
)
to work, GraphicsMagick
For the
[
Custom Favicon
](
../user/admin_area/appearance.md#favicon
)
to work, GraphicsMagick
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment