From 983de2dd9d059cc0a820bc494df29af7a5cf73bf Mon Sep 17 00:00:00 2001 From: Jurijs I Date: Tue, 28 Mar 2023 16:11:10 +0300 Subject: [PATCH 1/6] Update installing-cardano-node with Ubuntu 22 &etc Update installing-cardano-node.md with Ubuntu 22 remarks and some other small fixes --- docs/get-started/installing-cardano-node.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/get-started/installing-cardano-node.md b/docs/get-started/installing-cardano-node.md index 0ec285e66c..4f6710376d 100644 --- a/docs/get-started/installing-cardano-node.md +++ b/docs/get-started/installing-cardano-node.md @@ -177,7 +177,7 @@ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" Once saved, we will then reload your shell profile to use the new variables. We can do that by typing `source $HOME/.bashrc` or `source $HOME/.zshrc` (***depending on the shell application you use***). -We need to install Secp256k1 what is required for 1.35.0 cardano-node version +We need to install Secp256k1 what is required from 1.35.0 cardano-node version Download and install libsecp256k1: ```bash @@ -417,7 +417,7 @@ llvm installation path might differs based on your installation, if you used def Once saved, we will then reload your shell profile to use the new variables. We can do that by typing `source $HOME/.bashrc` or `source $HOME/.zshrc` (***depending on the shell application you use***). -We need to install Secp256k1 what is required for 1.35.0 cardano-node version +We need to install Secp256k1 what is required from 1.35.0 cardano-node version Download and install libsecp256k1: ```bash From 22e0bc8257eb4c8c1e9a7fc2e02a590d7da32a82 Mon Sep 17 00:00:00 2001 From: Jurijs I Date: Tue, 28 Mar 2023 16:34:41 +0300 Subject: [PATCH 2/6] installing-cardano-node, updated GHCup version The GHCup Haskell installer, version 0.1.19.2 --- docs/get-started/installing-cardano-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/get-started/installing-cardano-node.md b/docs/get-started/installing-cardano-node.md index 4f6710376d..ed1133cf8c 100644 --- a/docs/get-started/installing-cardano-node.md +++ b/docs/get-started/installing-cardano-node.md @@ -102,7 +102,7 @@ Once complete, you should have `ghc` and `cabal` installed to your system. You can check if `ghcup` has been installed correctly by typing `ghcup --version` into the terminal. You should see something similar to the following: ``` -The GHCup Haskell installer, version v0.1.17.8 +The GHCup Haskell installer, version 0.1.19.2 ``` `ghcup` will install the latest stable version of `ghc`. However, as of the time of writing this, [Input-Output](https://iohk.io) recommends using `ghc 8.10.7`. So, we will use `ghcup` to install and switch to the required version. From 31c3d1e32c853ef8158f0c819ae3ac491e160673 Mon Sep 17 00:00:00 2001 From: Jurijs I Date: Tue, 28 Mar 2023 17:11:57 +0300 Subject: [PATCH 3/6] Updated requirement for disk space Updated requirement for disk space --- docs/get-started/installing-cardano-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/get-started/installing-cardano-node.md b/docs/get-started/installing-cardano-node.md index ed1133cf8c..5764085c66 100644 --- a/docs/get-started/installing-cardano-node.md +++ b/docs/get-started/installing-cardano-node.md @@ -28,7 +28,7 @@ To set up the components, you will need: * **Windows**, **MacOS**, or **Linux** for your operating system * An Intel or AMD x86 processor with **two or more cores, at 1.6GHz or faster** (2GHz or faster for a stake pool or relay) -* **16GB** of RAM and at least **75GB** of free disk space +* **16GB** of RAM and at least **125GB** of free disk space :::note If intending to connect to Mainnet instance, the requirements for RAM and storage would increase beyond baselines above. From 4d338926dbd0ecfc2d3cd7a1c9d9ad5fe6dbab4c Mon Sep 17 00:00:00 2001 From: Jurijs I Date: Tue, 28 Mar 2023 17:33:59 +0300 Subject: [PATCH 4/6] Now official building manual includes cabal update Now official building manual includes cabal update, so I think it is time to have it here too. --- docs/get-started/installing-cardano-node.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/get-started/installing-cardano-node.md b/docs/get-started/installing-cardano-node.md index 5764085c66..53ec69d13c 100644 --- a/docs/get-started/installing-cardano-node.md +++ b/docs/get-started/installing-cardano-node.md @@ -245,6 +245,7 @@ sudo ln -s /usr/bin/clang-9 /usr/bin/clang We can now build the `Haskell-based` `cardano-node` to produce executable binaries. ```bash +cabal update cabal build cardano-node cardano-cli ``` @@ -481,6 +482,7 @@ echo "" >> cabal.project.local #### Building and installing the node ```bash +cabal update cabal build all ``` :::caution From 47d99147d0091ee4839acb850716730f2e4cb49e Mon Sep 17 00:00:00 2001 From: Jurijs I Date: Tue, 28 Mar 2023 17:36:12 +0300 Subject: [PATCH 5/6] Maybe lets have cabal build all everywhere Now we have for Mac `cabal build all` and for linux `cabal build cardano-node cardano-cli`, I think it will be good idea to have more or less same approach for Mac and Linux --- docs/get-started/installing-cardano-node.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/get-started/installing-cardano-node.md b/docs/get-started/installing-cardano-node.md index 53ec69d13c..abdbe1bd49 100644 --- a/docs/get-started/installing-cardano-node.md +++ b/docs/get-started/installing-cardano-node.md @@ -246,7 +246,7 @@ We can now build the `Haskell-based` `cardano-node` to produce executable binari ```bash cabal update -cabal build cardano-node cardano-cli +cabal build all ``` Install the newly built node and CLI commands to the $HOME/.local/bin directory: From 57257e87a3029a54388a8d0b6bbe11bec295c853 Mon Sep 17 00:00:00 2001 From: Robert Phair Date: Tue, 28 Mar 2023 22:26:38 +0530 Subject: [PATCH 6/6] clarify Secp256k1 requirement by node version --- docs/get-started/installing-cardano-node.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/get-started/installing-cardano-node.md b/docs/get-started/installing-cardano-node.md index abdbe1bd49..9443706188 100644 --- a/docs/get-started/installing-cardano-node.md +++ b/docs/get-started/installing-cardano-node.md @@ -177,7 +177,7 @@ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" Once saved, we will then reload your shell profile to use the new variables. We can do that by typing `source $HOME/.bashrc` or `source $HOME/.zshrc` (***depending on the shell application you use***). -We need to install Secp256k1 what is required from 1.35.0 cardano-node version +We need to install Secp256k1 which is required from 1.35.0 cardano-node version onward: Download and install libsecp256k1: ```bash @@ -418,7 +418,7 @@ llvm installation path might differs based on your installation, if you used def Once saved, we will then reload your shell profile to use the new variables. We can do that by typing `source $HOME/.bashrc` or `source $HOME/.zshrc` (***depending on the shell application you use***). -We need to install Secp256k1 what is required from 1.35.0 cardano-node version +We need to install Secp256k1 which is required from 1.35.0 cardano-node version onward: Download and install libsecp256k1: ```bash