<commit_before>UNIX BUILD NOTES
================

Build Instructions: Ubuntu & Debian

Build requirements:
-------------------
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils

BOOST
-----
sudo apt-get install libboost-all-dev

BDB
---
For Ubuntu only: db4.8 packages are available here. You can add the repository and install using the following commands:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which are based on BerkeleyDB 4.8

MINIUPNPC
---------
sudo apt-get install libminiupnpc-dev

QT5
---
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

QRENCODE
--------
sudo apt-get install libqrencode-dev (optional)

Once these are installed, they will be found by configure and a bitcoin-qt executable will be built by default.


secp256k1
---------
sudo apt-get install libsecp256k1-dev

OR 

git clone https://github.com/bitcoin/bitcoin
cd /path/to/bitcoin-sources/src/sect256k1
./autogen.sh
./configure --enable-static --disable-shared --enable-module-recovery
make
sudo make install
<commit_msg>fix doc<commit_after>UNIX BUILD NOTES
================

Build Instructions: Ubuntu & Debian

Build requirements:
-------------------
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils

BOOST
-----
sudo apt-get install libboost-all-dev

BDB
---
For Ubuntu only: db4.8 packages are available here. You can add the repository and install using the following commands:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install BerkeleyDB 5.1 or later, which break binary wallet compatibility with the distributed executables which are based on BerkeleyDB 4.8

MINIUPNPC
---------
sudo apt-get install libminiupnpc-dev

QT5
---
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

QRENCODE
--------
sudo apt-get install libqrencode-dev (optional)

secp256k1
---------
sudo apt-get install libsecp256k1-dev

OR 

git clone https://github.com/bitcoin/bitcoin
cd /path/to/bitcoin-sources/src/sect256k1
./autogen.sh
./configure --enable-static --disable-shared --enable-module-recovery
make
sudo make install

{'fraction_non_alphanumeric': 0.11234745154343144, 'fraction_numerical': 0.022254127781765973, 'mean_word_length': 3.7969018932874357, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3729625', 'n_tokens_mistral': 912, 'n_tokens_neox': 834, 'n_words': 290}