[{"data":1,"prerenderedAt":1364},["Reactive",2],{"content-query-71BF54X7tj":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":1359,"_id":1360,"_source":1361,"_file":1362,"_extension":1363},"/docs/dev/guides/building-beam","guides",false,"","Building Beam","This document will serve as a guide for building Beam and BeamUI projects. Users have the option to download the binaries directly from GitHub, however, for this walkthrough, users must have some technical knowledge, including basic knowledge of the Command-Line.",{"type":11,"children":12,"toc":1335},"root",[13,21,46,53,58,149,155,162,167,177,183,188,196,202,207,243,253,272,278,290,511,517,530,626,632,638,645,672,720,726,768,774,779,791,818,823,850,856,862,886,942,948,971,1014,1020,1025,1035,1061,1066,1076,1102,1108],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"building-beam",[19],{"type":20,"value":8},"text",{"type":14,"tag":22,"props":23,"children":24},"p",{},[25,27,36,38,44],{"type":20,"value":26},"This document will serve as a guide for building Beam and BeamUI projects. Users have the option to download the binaries directly from ",{"type":14,"tag":28,"props":29,"children":33},"a",{"href":30,"rel":31},"https://github.com/BeamMW/beam",[32],"nofollow",[34],{"type":20,"value":35},"GitHub",{"type":20,"value":37},", however, for this walkthrough, users must have ",{"type":14,"tag":39,"props":40,"children":41},"em",{},[42],{"type":20,"value":43},"some",{"type":20,"value":45}," technical knowledge, including basic knowledge of the Command-Line.",{"type":14,"tag":47,"props":48,"children":50},"h2",{"id":49},"things-youll-need",[51],{"type":20,"value":52},"Things you'll need",{"type":14,"tag":22,"props":54,"children":55},{},[56],{"type":20,"value":57},"To avoid any issues, have the following installed on your machine before starting your build:",{"type":14,"tag":59,"props":60,"children":61},"ol",{},[62,83,98,113,134],{"type":14,"tag":63,"props":64,"children":65},"li",{},[66,68,78],{"type":20,"value":67},"The latest version of ",{"type":14,"tag":28,"props":69,"children":72},{"href":70,"rel":71},"https://git-scm.com/book/en/v2/Getting-Started-Installing-Git",[32],[73],{"type":14,"tag":39,"props":74,"children":75},{},[76],{"type":20,"value":77},"Git",{"type":14,"tag":39,"props":79,"children":80},{},[81],{"type":20,"value":82},".",{"type":14,"tag":63,"props":84,"children":85},{},[86,96],{"type":14,"tag":28,"props":87,"children":90},{"href":88,"rel":89},"https://cmake.org/download/",[32],[91],{"type":14,"tag":39,"props":92,"children":93},{},[94],{"type":20,"value":95},"CMake",{"type":20,"value":97}," (version 3.13 and newer to generate the build environment).",{"type":14,"tag":63,"props":99,"children":100},{},[101,111],{"type":14,"tag":28,"props":102,"children":105},{"href":103,"rel":104},"https://www.boost.org/users/history/version_1_66_0.html",[32],[106],{"type":14,"tag":39,"props":107,"children":108},{},[109],{"type":20,"value":110},"Boost library",{"type":20,"value":112}," (version 1.66 and newer_)._",{"type":14,"tag":63,"props":114,"children":115},{},[116,133],{"type":14,"tag":28,"props":117,"children":120},{"href":118,"rel":119},"https://www.openssl.org/source/",[32],[121,126,128],{"type":14,"tag":39,"props":122,"children":123},{},[124],{"type":20,"value":125},"OpenSSL",{"type":20,"value":127}," ",{"type":14,"tag":39,"props":129,"children":130},{},[131],{"type":20,"value":132},"Library",{"type":20,"value":82},{"type":14,"tag":63,"props":135,"children":136},{},[137,147],{"type":14,"tag":28,"props":138,"children":141},{"href":139,"rel":140},"https://visualstudio.microsoft.com/vs/older-downloads/",[32],[142],{"type":14,"tag":39,"props":143,"children":144},{},[145],{"type":20,"value":146},"Microsoft Visual Studio",{"type":20,"value":148}," (2017 and newer; Windows users only).",{"type":14,"tag":47,"props":150,"children":152},{"id":151},"first-steps",[153],{"type":20,"value":154},"First steps",{"type":14,"tag":156,"props":157,"children":159},"h3",{"id":158},"downloading-the-binaries",[160],{"type":20,"value":161},"Downloading the binaries",{"type":14,"tag":22,"props":163,"children":164},{},[165],{"type":20,"value":166},"Launch a terminal window and enter the following command:",{"type":14,"tag":168,"props":169,"children":171},"pre",{"code":170},"git clone https://github.com/BeamMW/beam.git\n",[172],{"type":14,"tag":173,"props":174,"children":175},"code",{"__ignoreMap":7},[176],{"type":20,"value":170},{"type":14,"tag":156,"props":178,"children":180},{"id":179},"creating-submodules",[181],{"type":20,"value":182},"Creating submodules",{"type":14,"tag":22,"props":184,"children":185},{},[186],{"type":20,"value":187},"As a prerequisite, Beam requires the creation of submodules before starting the build. To create submodules, launch your terminal window and enter the following commands:",{"type":14,"tag":168,"props":189,"children":191},{"code":190},"cd beam\ngit submodule update --init --recursive\n",[192],{"type":14,"tag":173,"props":193,"children":194},{"__ignoreMap":7},[195],{"type":20,"value":190},{"type":14,"tag":156,"props":197,"children":199},{"id":198},"branch-convention",[200],{"type":20,"value":201},"Branch Convention",{"type":14,"tag":22,"props":203,"children":204},{},[205],{"type":20,"value":206},"Beam is entirely open-source, and we encourage users interested in contributing or testing our tech to follow the Branch convention below to avoid any issues.",{"type":14,"tag":59,"props":208,"children":209},{},[210,221,232],{"type":14,"tag":63,"props":211,"children":212},{},[213,219],{"type":14,"tag":173,"props":214,"children":216},{"className":215},[],[217],{"type":20,"value":218},"Master",{"type":20,"value":220}," branch is for development.",{"type":14,"tag":63,"props":222,"children":223},{},[224,230],{"type":14,"tag":173,"props":225,"children":227},{"className":226},[],[228],{"type":20,"value":229},"Testnet",{"type":20,"value":231}," branch is a sandbox for users interested in testing Beam.",{"type":14,"tag":63,"props":233,"children":234},{},[235,241],{"type":14,"tag":173,"props":236,"children":238},{"className":237},[],[239],{"type":20,"value":240},"Mainnet",{"type":20,"value":242}," branch is the most recent version of each Beam project.",{"type":14,"tag":156,"props":244,"children":246},{"id":245},"cmake-options",[247,251],{"type":14,"tag":39,"props":248,"children":249},{},[250],{"type":20,"value":95},{"type":20,"value":252}," Options",{"type":14,"tag":22,"props":254,"children":255},{},[256,258,262,264,270],{"type":20,"value":257},"Beam uses ",{"type":14,"tag":39,"props":259,"children":260},{},[261],{"type":20,"value":95},{"type":20,"value":263}," to generate the build environment with several options for building the project. Refer to ",{"type":14,"tag":173,"props":265,"children":267},{"className":266},[],[268],{"type":20,"value":269},"CMakeLists.txt",{"type":20,"value":271}," file for more details.",{"type":14,"tag":47,"props":273,"children":275},{"id":274},"windows",[276],{"type":20,"value":277},"Windows",{"type":14,"tag":22,"props":279,"children":280},{},[281,283,288],{"type":20,"value":282},"This guide assumes you have the latest version ",{"type":14,"tag":28,"props":284,"children":286},{"href":70,"rel":285},[32],[287],{"type":20,"value":77},{"type":20,"value":289}," installed on your machine.",{"type":14,"tag":59,"props":291,"children":292},{},[293,316,344,382,400,433],{"type":14,"tag":63,"props":294,"children":295},{},[296,298,302,304,315],{"type":20,"value":297},"Install ",{"type":14,"tag":39,"props":299,"children":300},{},[301],{"type":20,"value":146},{"type":20,"value":303}," with ",{"type":14,"tag":28,"props":305,"children":308},{"href":306,"rel":307},"https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-160#building-cmake-projects",[32],[309,313],{"type":14,"tag":39,"props":310,"children":311},{},[312],{"type":20,"value":95},{"type":20,"value":314}," support",{"type":20,"value":82},{"type":14,"tag":63,"props":317,"children":318},{},[319,321,328,330,336,338,343],{"type":20,"value":320},"Download and install the Boost ",{"type":14,"tag":28,"props":322,"children":325},{"href":323,"rel":324},"https://sourceforge.net/projects/boost/files/boost-binaries/1.68.0/boost_1_68_0-msvc-14.1-64.exe",[32],[326],{"type":20,"value":327},"prebuilt",{"type":20,"value":329}," binaries, adding ",{"type":14,"tag":173,"props":331,"children":333},{"className":332},[],[334],{"type":20,"value":335},"BOOST_ROOT",{"type":20,"value":337}," to the ",{"type":14,"tag":39,"props":339,"children":340},{},[341],{"type":20,"value":342},"Environment Variables",{"type":20,"value":82},{"type":14,"tag":63,"props":345,"children":346},{},[347,349,353,354,360,362,368,370,376,377,381],{"type":20,"value":348},"Download and install the ",{"type":14,"tag":39,"props":350,"children":351},{},[352],{"type":20,"value":125},{"type":20,"value":127},{"type":14,"tag":28,"props":355,"children":358},{"href":356,"rel":357},"https://slproweb.com/products/Win32OpenSSL.html",[32],[359],{"type":20,"value":327},{"type":20,"value":361}," binaries (",{"type":14,"tag":173,"props":363,"children":365},{"className":364},[],[366],{"type":20,"value":367},"Win64 OpenSSL v1.1.0h",{"type":20,"value":369}," for example). Add ",{"type":14,"tag":173,"props":371,"children":373},{"className":372},[],[374],{"type":20,"value":375},"OPENSSL_ROOT_DIR",{"type":20,"value":337},{"type":14,"tag":39,"props":378,"children":379},{},[380],{"type":20,"value":342},{"type":20,"value":82},{"type":14,"tag":63,"props":383,"children":384},{},[385,387,393,394,399],{"type":20,"value":386},"Add ",{"type":14,"tag":173,"props":388,"children":390},{"className":389},[],[391],{"type":20,"value":392},".../boost_1_68_0/lib64-msvc-14.1",{"type":20,"value":337},{"type":14,"tag":39,"props":395,"children":396},{},[397],{"type":20,"value":398},"System Path",{"type":20,"value":82},{"type":14,"tag":63,"props":401,"children":402},{},[403,405,410,412,418,420,424,426,432],{"type":20,"value":404},"Open project folder in ",{"type":14,"tag":39,"props":406,"children":407},{},[408],{"type":20,"value":409},"Visual Studio",{"type":20,"value":411},", select your target (",{"type":14,"tag":173,"props":413,"children":415},{"className":414},[],[416],{"type":20,"value":417},"Release-x64",{"type":20,"value":419}," for example, if you downloaded 64bit Boost and ",{"type":14,"tag":39,"props":421,"children":422},{},[423],{"type":20,"value":125},{"type":20,"value":425},") and select ",{"type":14,"tag":173,"props":427,"children":429},{"className":428},[],[430],{"type":20,"value":431},"CMake -> Build All",{"type":20,"value":82},{"type":14,"tag":63,"props":434,"children":435},{},[436,438,442,447,450,452,457,459,467,469,475,477,480,481,486,488,493,494,498,500,509],{"type":20,"value":437},"Open cache folder:",{"type":14,"tag":439,"props":440,"children":441},"br",{},[],{"type":14,"tag":443,"props":444,"children":446},"img",{"alt":7,"src":445},"../.gitbook/assets/Screen%20Shot%202021-11-28%20at%203.27.04%20PM.png",[],{"type":14,"tag":439,"props":448,"children":449},{},[],{"type":20,"value":451},"For ",{"type":14,"tag":39,"props":453,"children":454},{},[455],{"type":20,"value":456},"Visual Studio 2017",{"type":20,"value":458}," users, go to ",{"type":14,"tag":39,"props":460,"children":461},{},[462],{"type":14,"tag":463,"props":464,"children":465},"strong",{},[466],{"type":20,"value":95},{"type":20,"value":468},"** > Cache > Open Cache Folder > ",{"type":14,"tag":173,"props":470,"children":472},{"className":471},[],[473],{"type":20,"value":474},"Beam",{"type":20,"value":476},"**",{"type":14,"tag":439,"props":478,"children":479},{},[],{"type":20,"value":451},{"type":14,"tag":39,"props":482,"children":483},{},[484],{"type":20,"value":485},"Visual Studio 2019",{"type":20,"value":487}," users**, Project > ",{"type":14,"tag":463,"props":489,"children":490},{},[491],{"type":20,"value":492},"_",{"type":20,"value":95},{"type":14,"tag":463,"props":495,"children":496},{},[497],{"type":20,"value":492},{"type":20,"value":499}," cache > Open in explorer** (the binaries can be found in ",{"type":14,"tag":463,"props":501,"children":502},{},[503],{"type":14,"tag":173,"props":504,"children":506},{"className":505},[],[507],{"type":20,"value":508},"beam/..., wallet/cli/..., explorer/... subfolders",{"type":20,"value":510},").",{"type":14,"tag":47,"props":512,"children":514},{"id":513},"linux",[515],{"type":20,"value":516},"Linux",{"type":14,"tag":22,"props":518,"children":519},{},[520,522,528],{"type":20,"value":521},"Locate the downloaded Beam node and Command Line (CLI) wallet in the ",{"type":14,"tag":173,"props":523,"children":525},{"className":524},[],[526],{"type":20,"value":527},"beam/wallet/cli",{"type":20,"value":529}," folder.",{"type":14,"tag":59,"props":531,"children":532},{},[533,605],{"type":14,"tag":63,"props":534,"children":535},{},[536,538,545,547,554,557,562,564,571,573,579,581,584,586,595,597],{"type":20,"value":537},"Clone the Beam binaries from ",{"type":14,"tag":28,"props":539,"children":542},{"href":540,"rel":541},"https://github.com/BeamMW",[32],[543],{"type":20,"value":544},"Github",{"type":20,"value":546}," by entering the following command:",{"type":14,"tag":168,"props":548,"children":549},{"code":170},[550],{"type":14,"tag":173,"props":551,"children":552},{"__ignoreMap":7},[553],{"type":20,"value":170},{"type":14,"tag":439,"props":555,"children":556},{},[],{"type":14,"tag":463,"props":558,"children":559},{},[560],{"type":20,"value":561},"Please note",{"type":20,"value":563},": The above command will clone the latest master branch. The master branch is where the Beam team develops upcoming versions of Beam. Users should select the appropriate ",{"type":14,"tag":28,"props":565,"children":568},{"href":566,"rel":567},"https://github.com/BeamMW/beam/branches",[32],[569],{"type":20,"value":570},"branch",{"type":20,"value":572}," then ",{"type":14,"tag":173,"props":574,"children":576},{"className":575},[],[577],{"type":20,"value":578},"git checkout",{"type":20,"value":580}," after cloning the main Beam repository.",{"type":14,"tag":439,"props":582,"children":583},{},[],{"type":20,"value":585},"To clone the ",{"type":14,"tag":463,"props":587,"children":588},{},[589],{"type":14,"tag":173,"props":590,"children":592},{"className":591},[],[593],{"type":20,"value":594},"Double Doppler 4.0",{"type":20,"value":596}," release branch, enter the following:",{"type":14,"tag":168,"props":598,"children":600},{"code":599},"cd beam\ngit checkout double_doppler_4.0RC\n",[601],{"type":14,"tag":173,"props":602,"children":603},{"__ignoreMap":7},[604],{"type":20,"value":599},{"type":14,"tag":63,"props":606,"children":607},{},[608,610,616,618],{"type":20,"value":609},"The standard tutorials for Building beam will create the latest Beam Masternet build (development version, development blockchain). Build the Testnet for testing and development or build the Mainnet for real-world blockchain utilization by editing the ",{"type":14,"tag":173,"props":611,"children":613},{"className":612},[],[614],{"type":20,"value":615},"beam/CMakeLists.txt",{"type":20,"value":617}," file lines 151-157. Uncomment (remove the '#' sign) respective definitions for the version Beam you wish to build.",{"type":14,"tag":168,"props":619,"children":621},{"code":620},"# uncomment next line for testnet\n#set(BEAM_TESTNET TRUE)\n# uncomment next line for mainnet\n#set(BEAM_MAINNET TRUE)\n\n# uncomment next line for swap mainnet\n#set(SWAP_MAINNET TRUE)\n",[622],{"type":14,"tag":173,"props":623,"children":624},{"__ignoreMap":7},[625],{"type":20,"value":620},{"type":14,"tag":47,"props":627,"children":629},{"id":628},"ubuntu-and-desktop-server",[630],{"type":20,"value":631},"Ubuntu and desktop server",{"type":14,"tag":156,"props":633,"children":635},{"id":634},"ubuntu-1804",[636],{"type":20,"value":637},"Ubuntu  18.04",{"type":14,"tag":639,"props":640,"children":642},"h4",{"id":641},"desktop",[643],{"type":20,"value":644},"Desktop",{"type":14,"tag":22,"props":646,"children":647},{},[648,650,655,657,662,664,670],{"type":20,"value":649},"The instructions below are valid for a default ",{"type":14,"tag":463,"props":651,"children":652},{},[653],{"type":20,"value":654},"Ubuntu 18.04.03 Desktop LTS install",{"type":20,"value":656},". For older systems, verify that steps 1, 2 & 4 do not overwrite or conflict with more recent versions of ",{"type":14,"tag":173,"props":658,"children":660},{"className":659},[],[661],{"type":20,"value":95},{"type":20,"value":663}," and ",{"type":14,"tag":173,"props":665,"children":667},{"className":666},[],[668],{"type":20,"value":669},"boost",{"type":20,"value":671}," previously installed on your machine.",{"type":14,"tag":59,"props":673,"children":674},{},[675,688,707],{"type":14,"tag":63,"props":676,"children":677},{},[678,680],{"type":20,"value":679},"Install dependencies:",{"type":14,"tag":168,"props":681,"children":683},{"code":682},"sudo add-apt-repository ppa:mhier/libboost-latest\nsudo apt-get update && sudo apt-get upgrade\nsudo apt-get install g++-8 libssl-dev curl wget git make \nsudo apt-get install libgl1-mesa-dev zlib1g-dev libboost1.67-dev\n",[684],{"type":14,"tag":173,"props":685,"children":686},{"__ignoreMap":7},[687],{"type":20,"value":682},{"type":14,"tag":63,"props":689,"children":690},{},[691,692,697,699],{"type":20,"value":297},{"type":14,"tag":173,"props":693,"children":695},{"className":694},[],[696],{"type":20,"value":95},{"type":20,"value":698},":",{"type":14,"tag":168,"props":700,"children":702},{"code":701},"wget https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.sh\nsudo sh ./cmake-3.13.0-Linux-x86_64.sh --skip-license --prefix=/usr\n",[703],{"type":14,"tag":173,"props":704,"children":705},{"__ignoreMap":7},[706],{"type":20,"value":701},{"type":14,"tag":63,"props":708,"children":709},{},[710,712],{"type":20,"value":711},"Find your Beam project folder, start the release build:",{"type":14,"tag":168,"props":713,"children":715},{"code":714},"export CC=gcc-8 && export CXX=g++-8\ncmake -DCMAKE_BUILD_TYPE=Release && make -j4\n",[716],{"type":14,"tag":173,"props":717,"children":718},{"__ignoreMap":7},[719],{"type":20,"value":714},{"type":14,"tag":639,"props":721,"children":723},{"id":722},"server",[724],{"type":20,"value":725},"Server",{"type":14,"tag":59,"props":727,"children":728},{},[729,740,757],{"type":14,"tag":63,"props":730,"children":731},{},[732,733],{"type":20,"value":679},{"type":14,"tag":168,"props":734,"children":735},{"code":682},[736],{"type":14,"tag":173,"props":737,"children":738},{"__ignoreMap":7},[739],{"type":20,"value":682},{"type":14,"tag":63,"props":741,"children":742},{},[743,744,749,750],{"type":20,"value":297},{"type":14,"tag":173,"props":745,"children":747},{"className":746},[],[748],{"type":20,"value":95},{"type":20,"value":698},{"type":14,"tag":168,"props":751,"children":752},{"code":701},[753],{"type":14,"tag":173,"props":754,"children":755},{"__ignoreMap":7},[756],{"type":20,"value":701},{"type":14,"tag":63,"props":758,"children":759},{},[760,761],{"type":20,"value":711},{"type":14,"tag":168,"props":762,"children":763},{"code":714},[764],{"type":14,"tag":173,"props":765,"children":766},{"__ignoreMap":7},[767],{"type":20,"value":714},{"type":14,"tag":156,"props":769,"children":771},{"id":770},"ubuntu-1910",[772],{"type":20,"value":773},"Ubuntu 19.10",{"type":14,"tag":639,"props":775,"children":777},{"id":776},"desktop-1",[778],{"type":20,"value":644},{"type":14,"tag":22,"props":780,"children":781},{},[782,784,789],{"type":20,"value":783},"Instructions below are valid for a minimal ",{"type":14,"tag":463,"props":785,"children":786},{},[787],{"type":20,"value":788},"Ubuntu 19.10 Desktop install",{"type":20,"value":790}," (\"update during install\" option enabled).",{"type":14,"tag":59,"props":792,"children":793},{},[794,806],{"type":14,"tag":63,"props":795,"children":796},{},[797,798],{"type":20,"value":679},{"type":14,"tag":168,"props":799,"children":801},{"code":800},"sudo apt-get install g++ git make cmake libboost-all-dev zlib1g-dev\nsudo apt-get install libssl-dev \n",[802],{"type":14,"tag":173,"props":803,"children":804},{"__ignoreMap":7},[805],{"type":20,"value":800},{"type":14,"tag":63,"props":807,"children":808},{},[809,810],{"type":20,"value":711},{"type":14,"tag":168,"props":811,"children":813},{"code":812},"cmake -DCMAKE_BUILD_TYPE=Release . && make -j4\n",[814],{"type":14,"tag":173,"props":815,"children":816},{"__ignoreMap":7},[817],{"type":20,"value":812},{"type":14,"tag":639,"props":819,"children":821},{"id":820},"server-1",[822],{"type":20,"value":725},{"type":14,"tag":59,"props":824,"children":825},{},[826,839],{"type":14,"tag":63,"props":827,"children":828},{},[829,831],{"type":20,"value":830},"Install dependencies",{"type":14,"tag":168,"props":832,"children":834},{"code":833},"sudo apt-get update && sudo apt-get upgrade\nsudo apt-get install g++ git make cmake libboost-all-dev zlib1g-dev\nsudo apt-get install libssl-dev\n",[835],{"type":14,"tag":173,"props":836,"children":837},{"__ignoreMap":7},[838],{"type":20,"value":833},{"type":14,"tag":63,"props":840,"children":841},{},[842,843],{"type":20,"value":711},{"type":14,"tag":168,"props":844,"children":845},{"code":812},[846],{"type":14,"tag":173,"props":847,"children":848},{"__ignoreMap":7},[849],{"type":20,"value":812},{"type":14,"tag":47,"props":851,"children":853},{"id":852},"centos",[854],{"type":20,"value":855},"CentOS",{"type":14,"tag":156,"props":857,"children":859},{"id":858},"centos-70",[860],{"type":20,"value":861},"CentOS 7.0",{"type":14,"tag":22,"props":863,"children":864},{},[865,866,871,873,878,880,885],{"type":20,"value":649},{"type":14,"tag":463,"props":867,"children":868},{},[869],{"type":20,"value":870},"CentOS 7.0-1908 minimal install",{"type":20,"value":872},". For older systems, verify that steps two and three do not overwrite or conflict with more recent versions of ",{"type":14,"tag":173,"props":874,"children":876},{"className":875},[],[877],{"type":20,"value":95},{"type":20,"value":879},"and ",{"type":14,"tag":173,"props":881,"children":883},{"className":882},[],[884],{"type":20,"value":669},{"type":20,"value":671},{"type":14,"tag":59,"props":887,"children":888},{},[889,901,914,931],{"type":14,"tag":63,"props":890,"children":891},{},[892,893],{"type":20,"value":679},{"type":14,"tag":168,"props":894,"children":896},{"code":895},"sudo yum update && shutdown -r now\nsudo yum install centos-release-scl yum-utils\nsudo yum-config-manager --enable rhel-server-rhscl-8-rpms\nsudo yum install devtoolset-8-gcc* \nscl enable devtoolset-8 bash\nsudo yum install git make wget openssl-devel\n",[897],{"type":14,"tag":173,"props":898,"children":899},{"__ignoreMap":7},[900],{"type":20,"value":895},{"type":14,"tag":63,"props":902,"children":903},{},[904,906],{"type":20,"value":905},"Build & install boost. This step could take considerable amount of time",{"type":14,"tag":168,"props":907,"children":909},{"code":908},"wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz\ntar xzvf boost_1_66_0.tar.gz\ncd boost_1_66_0 && ./bootstrap.sh && sudo ./b2 install && cd ~\n",[910],{"type":14,"tag":173,"props":911,"children":912},{"__ignoreMap":7},[913],{"type":20,"value":908},{"type":14,"tag":63,"props":915,"children":916},{},[917,918,923,924],{"type":20,"value":297},{"type":14,"tag":173,"props":919,"children":921},{"className":920},[],[922],{"type":20,"value":95},{"type":20,"value":698},{"type":14,"tag":168,"props":925,"children":926},{"code":701},[927],{"type":14,"tag":173,"props":928,"children":929},{"__ignoreMap":7},[930],{"type":20,"value":701},{"type":14,"tag":63,"props":932,"children":933},{},[934,935],{"type":20,"value":711},{"type":14,"tag":168,"props":936,"children":937},{"code":812},[938],{"type":14,"tag":173,"props":939,"children":940},{"__ignoreMap":7},[941],{"type":20,"value":812},{"type":14,"tag":156,"props":943,"children":945},{"id":944},"centos-80",[946],{"type":20,"value":947},"CentOS 8.0",{"type":14,"tag":22,"props":949,"children":950},{},[951,952,957,959,964,965,970],{"type":20,"value":649},{"type":14,"tag":463,"props":953,"children":954},{},[955],{"type":20,"value":956},"CentOS 8.0-1905 minimal install",{"type":20,"value":958},". For older systems, verify that step two does not overwrite or conflict with more recent versions of ",{"type":14,"tag":173,"props":960,"children":962},{"className":961},[],[963],{"type":20,"value":95},{"type":20,"value":879},{"type":14,"tag":173,"props":966,"children":968},{"className":967},[],[969],{"type":20,"value":669},{"type":20,"value":671},{"type":14,"tag":59,"props":972,"children":973},{},[974,986,1003],{"type":14,"tag":63,"props":975,"children":976},{},[977,978],{"type":20,"value":679},{"type":14,"tag":168,"props":979,"children":981},{"code":980},"sudo dnf update\nsudo dnf config-manager --set-enabled PowerTools\nsudo dnf install git make cmake gcc-c++ libstdc++-static boost-devel \nsudo dnf install openssl-devel tar wget \n",[982],{"type":14,"tag":173,"props":983,"children":984},{"__ignoreMap":7},[985],{"type":20,"value":980},{"type":14,"tag":63,"props":987,"children":988},{},[989,990,995,996],{"type":20,"value":297},{"type":14,"tag":173,"props":991,"children":993},{"className":992},[],[994],{"type":20,"value":95},{"type":20,"value":698},{"type":14,"tag":168,"props":997,"children":998},{"code":701},[999],{"type":14,"tag":173,"props":1000,"children":1001},{"__ignoreMap":7},[1002],{"type":20,"value":701},{"type":14,"tag":63,"props":1004,"children":1005},{},[1006,1007],{"type":20,"value":711},{"type":14,"tag":168,"props":1008,"children":1009},{"code":812},[1010],{"type":14,"tag":173,"props":1011,"children":1012},{"__ignoreMap":7},[1013],{"type":20,"value":812},{"type":14,"tag":47,"props":1015,"children":1017},{"id":1016},"fedora",[1018],{"type":20,"value":1019},"Fedora",{"type":14,"tag":639,"props":1021,"children":1023},{"id":1022},"desktop-2",[1024],{"type":20,"value":644},{"type":14,"tag":22,"props":1026,"children":1027},{},[1028,1029,1034],{"type":20,"value":649},{"type":14,"tag":463,"props":1030,"children":1031},{},[1032],{"type":20,"value":1033},"Fedora 31-1.9 Workstation install",{"type":20,"value":82},{"type":14,"tag":59,"props":1036,"children":1037},{},[1038,1050],{"type":14,"tag":63,"props":1039,"children":1040},{},[1041,1042],{"type":20,"value":679},{"type":14,"tag":168,"props":1043,"children":1045},{"code":1044},"sudo dnf update && shutdown -r now\nsudo dnf install git make cmake gcc-c++ libstdc++-static boost-devel \nsudo dnf install zlib-devel openssl-devel tar \n",[1046],{"type":14,"tag":173,"props":1047,"children":1048},{"__ignoreMap":7},[1049],{"type":20,"value":1044},{"type":14,"tag":63,"props":1051,"children":1052},{},[1053,1054],{"type":20,"value":711},{"type":14,"tag":168,"props":1055,"children":1056},{"code":812},[1057],{"type":14,"tag":173,"props":1058,"children":1059},{"__ignoreMap":7},[1060],{"type":20,"value":812},{"type":14,"tag":639,"props":1062,"children":1064},{"id":1063},"server-2",[1065],{"type":20,"value":725},{"type":14,"tag":22,"props":1067,"children":1068},{},[1069,1070,1075],{"type":20,"value":649},{"type":14,"tag":463,"props":1071,"children":1072},{},[1073],{"type":20,"value":1074},"Fedora 31-1.9 Headless Server install",{"type":20,"value":82},{"type":14,"tag":59,"props":1077,"children":1078},{},[1079,1091],{"type":14,"tag":63,"props":1080,"children":1081},{},[1082,1083],{"type":20,"value":679},{"type":14,"tag":168,"props":1084,"children":1086},{"code":1085},"sudo dnf update && shutdown -r now\nsudo dnf install git make cmake gcc-c++ libstdc++-static boost-devel \nsudo dnf install zlib-devel openssl-devel tar\n",[1087],{"type":14,"tag":173,"props":1088,"children":1089},{"__ignoreMap":7},[1090],{"type":20,"value":1085},{"type":14,"tag":63,"props":1092,"children":1093},{},[1094,1095],{"type":20,"value":711},{"type":14,"tag":168,"props":1096,"children":1097},{"code":812},[1098],{"type":14,"tag":173,"props":1099,"children":1100},{"__ignoreMap":7},[1101],{"type":20,"value":812},{"type":14,"tag":47,"props":1103,"children":1105},{"id":1104},"macos",[1106],{"type":20,"value":1107},"MacOS",{"type":14,"tag":59,"props":1109,"children":1110},{},[1111,1179,1198,1211,1237,1262,1275,1287,1316],{"type":14,"tag":63,"props":1112,"children":1113},{},[1114,1115,1120,1121,1128,1131,1136,1138,1141,1142,1148,1150,1158,1161,1163,1169,1171],{"type":20,"value":537},{"type":14,"tag":28,"props":1116,"children":1118},{"href":540,"rel":1117},[32],[1119],{"type":20,"value":544},{"type":20,"value":698},{"type":14,"tag":168,"props":1122,"children":1123},{"code":170},[1124],{"type":14,"tag":173,"props":1125,"children":1126},{"__ignoreMap":7},[1127],{"type":20,"value":170},{"type":14,"tag":439,"props":1129,"children":1130},{},[],{"type":14,"tag":463,"props":1132,"children":1133},{},[1134],{"type":20,"value":1135},"Please note:",{"type":20,"value":1137}," The Git command above will clone the latest master branch. The master branch is where the Beam team develops upcoming versions of the Beam.",{"type":14,"tag":439,"props":1139,"children":1140},{},[],{"type":20,"value":585},{"type":14,"tag":173,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":20,"value":1147},"mainnet",{"type":20,"value":1149},", enter the following command:",{"type":14,"tag":168,"props":1151,"children":1153},{"code":1152},"git clone --branch mainnet https://github.com/BeamMW/beam.git\n",[1154],{"type":14,"tag":173,"props":1155,"children":1156},{"__ignoreMap":7},[1157],{"type":20,"value":1152},{"type":14,"tag":439,"props":1159,"children":1160},{},[],{"type":20,"value":1162},"To clone the Beam ",{"type":14,"tag":173,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":20,"value":1168},"testnet",{"type":20,"value":1170},", use:",{"type":14,"tag":168,"props":1172,"children":1174},{"code":1173},"git clone --branch testnet https://github.com/BeamMW/beam.git\n",[1175],{"type":14,"tag":173,"props":1176,"children":1177},{"__ignoreMap":7},[1178],{"type":20,"value":1173},{"type":14,"tag":63,"props":1180,"children":1181},{},[1182,1189,1190,1196],{"type":14,"tag":28,"props":1183,"children":1186},{"href":1184,"rel":1185},"https://docs.brew.sh/Installation",[32],[1187],{"type":20,"value":1188},"Install",{"type":20,"value":127},{"type":14,"tag":173,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":20,"value":1195},"Brew",{"type":20,"value":1197}," Package Manager.",{"type":14,"tag":63,"props":1199,"children":1200},{},[1201,1203],{"type":20,"value":1202},"To install all necessary packages, enter:",{"type":14,"tag":168,"props":1204,"children":1206},{"code":1205},"brew install openssl cmake\n",[1207],{"type":14,"tag":173,"props":1208,"children":1209},{"__ignoreMap":7},[1210],{"type":20,"value":1205},{"type":14,"tag":63,"props":1212,"children":1213},{},[1214,1216,1221,1223,1228,1229],{"type":20,"value":1215},"Remove any existing ",{"type":14,"tag":173,"props":1217,"children":1219},{"className":1218},[],[1220],{"type":20,"value":1195},{"type":20,"value":1222}," installations of ",{"type":14,"tag":173,"props":1224,"children":1226},{"className":1225},[],[1227],{"type":20,"value":669},{"type":20,"value":698},{"type":14,"tag":168,"props":1230,"children":1232},{"code":1231},"brew uninstall --ignore-dependencies boost\n",[1233],{"type":14,"tag":173,"props":1234,"children":1235},{"__ignoreMap":7},[1236],{"type":20,"value":1231},{"type":14,"tag":63,"props":1238,"children":1239},{},[1240,1246,1248,1253,1254],{"type":14,"tag":28,"props":1241,"children":1243},{"href":1184,"rel":1242},[32],[1244],{"type":20,"value":1245},"Download",{"type":20,"value":1247}," and install a compatible version of ",{"type":14,"tag":173,"props":1249,"children":1251},{"className":1250},[],[1252],{"type":20,"value":669},{"type":20,"value":698},{"type":14,"tag":168,"props":1255,"children":1257},{"code":1256},"curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/5da5895add2f6b9320d654dd844d4827f6876c8b/Formula/boost.rb\nbrew install ./boost.rb\n",[1258],{"type":14,"tag":173,"props":1259,"children":1260},{"__ignoreMap":7},[1261],{"type":20,"value":1256},{"type":14,"tag":63,"props":1263,"children":1264},{},[1265,1267],{"type":20,"value":1266},"To set your Environment Variables, enter:",{"type":14,"tag":168,"props":1268,"children":1270},{"code":1269},"- export OPENSSL_ROOT_DIR=\"/usr/local/opt/openssl@1.1\"\n",[1271],{"type":14,"tag":173,"props":1272,"children":1273},{"__ignoreMap":7},[1274],{"type":20,"value":1269},{"type":14,"tag":63,"props":1276,"children":1277},{},[1278,1280],{"type":20,"value":1279},"Find your Beam project folder, then enter:",{"type":14,"tag":168,"props":1281,"children":1282},{"code":812},[1283],{"type":14,"tag":173,"props":1284,"children":1285},{"__ignoreMap":7},[1286],{"type":20,"value":812},{"type":14,"tag":63,"props":1288,"children":1289},{},[1290,1292,1298,1300,1306,1308],{"type":20,"value":1291},"Use ",{"type":14,"tag":173,"props":1293,"children":1295},{"className":1294},[],[1296],{"type":20,"value":1297},"cpack",{"type":20,"value":1299}," to get ",{"type":14,"tag":173,"props":1301,"children":1303},{"className":1302},[],[1304],{"type":20,"value":1305},".dmg file.",{"type":20,"value":1307}," Find Beam project folder and then enter:",{"type":14,"tag":168,"props":1309,"children":1311},{"code":1310},"cpack\n",[1312],{"type":14,"tag":173,"props":1313,"children":1314},{"__ignoreMap":7},[1315],{"type":20,"value":1310},{"type":14,"tag":63,"props":1317,"children":1318},{},[1319,1321,1326,1327,1333],{"type":20,"value":1320},"Locate the completed Beam node in the ",{"type":14,"tag":173,"props":1322,"children":1324},{"className":1323},[],[1325],{"type":20,"value":527},{"type":20,"value":663},{"type":14,"tag":173,"props":1328,"children":1330},{"className":1329},[],[1331],{"type":20,"value":1332},"beam/explorer",{"type":20,"value":1334}," subfolders",{"title":7,"searchDepth":1336,"depth":1336,"links":1337},2,[1338,1339,1347,1348,1349,1353,1357,1358],{"id":49,"depth":1336,"text":52},{"id":151,"depth":1336,"text":154,"children":1340},[1341,1343,1344,1345],{"id":158,"depth":1342,"text":161},3,{"id":179,"depth":1342,"text":182},{"id":198,"depth":1342,"text":201},{"id":245,"depth":1342,"text":1346},"CMake Options",{"id":274,"depth":1336,"text":277},{"id":513,"depth":1336,"text":516},{"id":628,"depth":1336,"text":631,"children":1350},[1351,1352],{"id":634,"depth":1342,"text":637},{"id":770,"depth":1342,"text":773},{"id":852,"depth":1336,"text":855,"children":1354},[1355,1356],{"id":858,"depth":1342,"text":861},{"id":944,"depth":1342,"text":947},{"id":1016,"depth":1336,"text":1019},{"id":1104,"depth":1336,"text":1107},"markdown","docs:docs:dev:guides:building-beam.md","docs","docs/dev/guides/building-beam.md","md",1777630718368]