Update Linux build instructions#662
Open
eynhaender wants to merge 3 commits intolibbitcoin:masterfrom
Open
Conversation
evoskuil
requested changes
Mar 24, 2026
| This command will create a static release build with all supported CPU extensions (if supported by the system). Building libbitcoin with unsupported CPU extensions might work but will lead to crashes at runtime. | ||
|
|
||
| ```bash | ||
| $ CFLAGS="-O3" CXXFLAGS="-O3" ./install.sh --prefix=/home/user/libbitcoin/build/release_static/ --build-dir=/home/user/libbitcoin/build/temp --build-secp256k1 --build-boost --disable-shared --enable-ndebug --enable-shani --enable-avx2 --enable-sse41 --enable-isystem |
Member
There was a problem hiding this comment.
These flags are performance critical.
README.md
Outdated
| Usage: bs [-abdfhiklnrsv] [--config value] [--test value] [--write value] | ||
|
|
||
| Info: Runs a full bitcoin server. | ||
| Info: Runs a full bitcoin node server. |
Member
There was a problem hiding this comment.
Maybe: Runs a full node bitcoin server.
README.md
Outdated
|
|
||
| #### Build | ||
| Create a new directory (e.g. `/home/user/libbitcoin`), then use git to fetch the latest repository from GitHub by issuing the following command from within this directory: | ||
| Create a new project directory (e.g. `/home/user/libbitcoin-server`), then use wget to fetch the latest `install.sh` from GitHub by issuing the following command from within this directory: |
Member
There was a problem hiding this comment.
There's no need for this directory, the file may be placed anywhere, such as the desktop. Keep it simple.
README.md
Outdated
|
|
||
| ```bash | ||
| $ ./install.sh --prefix=/home/user/libbitcoin/build/release_static/ --build-secp256k1 --build-boost --disable-shared | ||
| $ ./install.sh --prefix=/home/user/libbitcoin/install/release_static/ --build-dir=/home/user/libbitcoin/build --build-secp256k1 --build-boost --disable-shared |
Member
There was a problem hiding this comment.
Let's drop the release_static/ subdirectory. yes there would be conflicts when performing another configuration build, but these instructions don' t include any other and that's not a common install scenario.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update Linux build instructions.