Skip to content

Commit 0479464

Browse files
committed
doc: Update wallet database installation guide for macOS
1 parent 189c9f7 commit 0479464

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

doc/build-osx.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Then install [Homebrew](https://brew.sh).
1919

2020
## Dependencies
2121
```shell
22-
brew install automake berkeley-db4 libtool boost miniupnpc pkg-config python qt libevent qrencode sqlite
22+
brew install automake libtool boost miniupnpc pkg-config python qt libevent qrencode
2323
```
2424

2525
If you run into issues, check [Homebrew's troubleshooting page](https://docs.brew.sh/Troubleshooting).
@@ -30,7 +30,19 @@ If you want to build the disk image with `make deploy` (.dmg / optional), you ne
3030
brew install librsvg
3131
```
3232

33-
## Berkeley DB
33+
### SQLite
34+
35+
Usually, macOS installation already has a suitable SQLite installation.
36+
Also, the Homebrew package could be installed:
37+
38+
```shell
39+
brew install sqlite
40+
```
41+
42+
In that case the Homebrew package will prevail.
43+
44+
### Berkeley DB
45+
3446
It is recommended to use Berkeley DB 4.8. If you have to build it yourself,
3547
you can use [this](/contrib/install_db4.sh) script to install it
3648
like so:
@@ -41,7 +53,11 @@ like so:
4153

4254
from the root of the repository.
4355

44-
**Note**: You only need Berkeley DB if the wallet is enabled (see [*Disable-wallet mode*](/doc/build-osx.md#disable-wallet-mode)).
56+
Also, the Homebrew package could be installed:
57+
58+
```shell
59+
brew install berkeley-db4
60+
```
4561

4662
## Build Bitcoin Core
4763

0 commit comments

Comments
 (0)