# Error message, while installing dependencies to run the node

**URL:** <https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477>\
**Category:** Operate a Stake Pool\
**Created:** [2 October 2022 17:29 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477 "2022-10-02T17:29:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [2 October 2022 17:29 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/1 "2022-10-02T17:29:45Z")

</div>

I,m not a developer.  
When I tried to install the dependencies by following the tutorial video, an error message( **invalid option – ‘y’** ) recieved while executing the below mentioned code.  
**sudo install systemd-devel ncurses-devel ncurses-compat-libs which jq openssl-devel lmdb-devel -y**

Could anyone please help me out?

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [2 October 2022 17:41 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/2 "2022-10-02T17:41:10Z")

</div>

> [@Neeraj](#):
>
> sudo install systemd-devel ncurses-devel ncurses-compat-libs which jq openssl-devel lmdb-devel -y

There is probably an `apt` or `apt-get` missing between `sudo` and `install`. `install` is a different command. You want to install some packages with your distribution’s package manager. And that is `apt` or `apt-get`. (Not really a Cardano question, by the way.)

You don’t have to be a developer, but it would be good to learn some things about Linux and your distribution in addition to understanding what the Cardano things do.

---

<div class="post-metadata">

**Author:** ![jeremyisme](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jeremyisme/32/54872_2.png) [@jeremyisme](https://forum.cardano.org/u/jeremyisme)\
**Post date:** [2 October 2022 17:41 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/3 "2022-10-02T17:41:28Z")

</div>

Which tutotial video?

I’ve found the coincashew guide reliable [Guide: How to Set Up a Cardano Stake Pool - CoinCashew](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node)

---

<div class="post-metadata">

**Author:** ![weebl2000](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/weebl2000/32/36808_2.png) [@weebl2000](https://forum.cardano.org/u/weebl2000)\
**Post date:** [3 October 2022 13:23 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/4 "2022-10-03T13:23:59Z")

</div>

Try typing it manually, I think all that’s wrong is a copy-paste with an extra space between “-” and “y”.

---

<div class="post-metadata">

**Author:** ![jimerman](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jimerman/32/39888_2.png) [@jimerman](https://forum.cardano.org/u/jimerman)\
**Post date:** [3 October 2022 19:55 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/5 "2022-10-03T19:55:39Z")

</div>

Hey Neeraj, was their comments helpful? Did that make sense? You were missing the installer command - in Ubuntu or similar distros, it would be:

sudo _apt-get_ install …

It would help to know which version of Linux you are using.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 11:26 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/6 "2022-10-04T11:26:26Z")

</div>

> [@HeptaSean](#):
>
> apt-get

actually ‘yum’ was missing in between sudo and install. Thanks a lot for your response. I have one more doubt, I’m done with the further steps. Which is the latest version of Cardano-node to be installed/configured.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 11:28 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/7 "2022-10-04T11:28:07Z")

</div>

[Installing cardano-node - Stake pool course](https://cardano-foundation.gitbook.io/stake-pool-course/lessons/lesson-1/installing). This is the link to the course.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 11:30 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/8 "2022-10-04T11:30:03Z")

</div>

yum was missing in between sudo and install. Thanks for ur response. Which is the latest version of the Cardano-node, that has to be installed?

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 11:32 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/9 "2022-10-04T11:32:56Z")

</div>

Yeah, their comment was really helpful and I moved further installing the Cardano node. Which is the newest version of Cardano-node that has to be installed/configured?

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [4 October 2022 11:41 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/10 "2022-10-04T11:41:45Z")

</div>

Latest version is 1.35.3.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 11:44 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/11 "2022-10-04T11:44:25Z")

</div>

I red that there were some issue in installing and running 1.35.3. Is it ok, if I proceed with this version of Cardano-node?

---

<div class="post-metadata">

**Author:** ![weebl2000](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/weebl2000/32/36808_2.png) [@weebl2000](https://forum.cardano.org/u/weebl2000)\
**Post date:** [4 October 2022 11:50 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/12 "2022-10-04T11:50:06Z")

</div>

1.35.3 is good to go and is running on all pools now and latest Daedalus.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 12:13 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/13 "2022-10-04T12:13:20Z")

</div>

after excepting the code ’ git fetch --all --recurse-submodules --tags’ and ‘git tag’ its showing like this.  
1.35.0-rc4  
1.35.1  
1.35.2  
1.35.3  
1.35.3-configs  
1.35.3-rc1  
1.35.3-testnetonly  
1.4.0  
1.5.0  
1.6.0  
1.7.0  
1.8.0  
1.9.0  
1.9.1  
1.9.2  
1.9.3  
alonzo-blue1.0  
alonzo-blue2.0  
alonzo-purple-1.0  
alonzo-purple-1.0.1  
alonzo-purple-1.0.2  
alonzo-white-1.0  
alonzo-white-1.1  
alonzo-white-1.2  
alonzo-white-1.3  
alonzo-white-1.4  
alonzo-white-1.4.1  
backport-2b1d18c  
bar  
do-not-use-3  
docker-restore-10x-2  
foo-sam  
list  
node-qa-1.0  
patch-cardano-ping-fix  
pioneer  
pioneer-1  
pioneer-2  
pioneer-3  
pioneer-4  
pioneer-5  
pioneer-new-address  
pioneer-wave2  
shwow  
test-tag  
vasil-testnet-v1  
workbench-genesis-0  
(END)

I’m not able to execute the code further. Could you please tell what should I need to do

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [4 October 2022 12:21 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/14 "2022-10-04T12:21:14Z")

</div>

Next step would be to `git checkout 1.35.3`.

If you are just not able to quit the pager – the thing showing you just one screen of output if the output would be more than one screen – just hit `q` for “quit”.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 12:23 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/15 "2022-10-04T12:23:48Z")

</div>

im really new with the softwares, but i started learning now. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 13:05 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/16 "2022-10-04T13:05:48Z")

</div>

Now I have installed the node. but when I run the following codes, it shows error that the directory is not correct.

cp -p “$(./scripts/bin-path.sh cardano-node)” ~/.local/bin/  
jq: error: Could not open file dist-newstyle/cache/plan.json: No such file or directory  
Error: cardano-node not built  
cp: cannot stat ‘’: No such file or directory

cp -p “$(./scripts/bin-path.sh cardano-cli)” ~/.local/bin/  
jq: error: Could not open file dist-newstyle/cache/plan.json: No such file or directory  
Error: cardano-cli not built  
cp: cannot stat ‘’: No such file or directory

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [4 October 2022 13:32 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/17 "2022-10-04T13:32:59Z")

</div>

> [@Neeraj](#):
>
> Error: cardano-node not built  
> Error: cardano-cli not built

There has to be an error and the programs were not actually built.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 13:38 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/18 "2022-10-04T13:38:45Z")

</div>

what is the solution that u can suggest. Actually there were no errors while I gave the comment ‘cabal build all’.

---

<div class="post-metadata">

**Author:** ![Neeraj](https://avatars.discourse-cdn.com/v4/letter/n/e47c2d/32.png) [@Neeraj](https://forum.cardano.org/u/Neeraj)\
**Post date:** [4 October 2022 13:46 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/19 "2022-10-04T13:46:50Z")

</div>

yeah ur right.

Error: cabal: Could not resolve dependencies:  
[\_\_0] trying: cardano-crypto-class-2.0.0 (user goal)  
[\_\_1] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config  
package libsecp256k1-any, not found in the pkg-config database)  
[\_\_1] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only  
be changed explicitly)  
[\_\_1] fail (backjumping, conflict set: cardano-crypto-class,  
cardano-crypto-class:secp256k1-support)  
After searching the rest of the dependency tree exhaustively, these were the  
goals I’ve had most trouble fulfilling: cardano-crypto-class,  
cardano-crypto-class:secp256k1-support

---

<div class="post-metadata">

**Author:** ![HeptaSean](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/heptasean/32/82306_2.png) [@HeptaSean](https://forum.cardano.org/u/HeptaSean)\
**Post date:** [4 October 2022 13:53 UTC](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477/20 "2022-10-04T13:53:39Z")

</div>

Did you do all the library installation steps before that? Especially “Installing Secp256k1”?

Depending on what you want to do: You know that you can just download the compiled binaries, don’t you?  
[https://github.com/input-output-hk/cardano-node/releases/tag/1.35.3](https://github.com/input-output-hk/cardano-node/releases/tag/1.35.3)

[Next page](https://forum.cardano.org/t/error-message-while-installing-dependencies-to-run-the-node/108477.md?page=2)
