Error when Installing Ethereum: Package 'ethereum' has no installation candidate
Asked Answered
S

4

9

I am installing Ethereum on Ubuntu 17.10 following the steps in this article: https://medium.com/@mvmurthy/full-stack-hello-world-voting-ethereum-dapp-tutorial-part-2-30b3d335aa1f

But when executing the following command:

sudo apt-get install ethereum

I get the following:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ethereum is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'ethereum' has no installation candidate
Sydel answered 13/11, 2017 at 5:47 Comment(0)
S
8

It seems that there is a compatibility issue with the last stable version of Ethereum and Ubuntu 17.10; and the latest unstable version could be installed with no issues:

sudo apt-get install ethereum-unstable

However, this means that in the next stable version of Ethereum there will be no issues.

Sydel answered 13/11, 2017 at 5:54 Comment(1)
Described here too: github.com/ethereum/go-ethereum/issues/… :(Carboniferous
P
6

Have you added the Ethereum repository? If not, try the following:

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum
Palette answered 20/11, 2017 at 14:10 Comment(3)
As mentioned in the question: sudo apt-get install ethereum did not work!Sydel
@MuhammadAltabba If you hadn't added the repository as mentioned above, installing ethereum probably wouldn't work. So it's a valid answer, though badly written.Shakeup
Note that sudo apt install ethereum will not work on newer versions of ubuntu at the time of writing. You can try ethereum-unstable instead.Shakeup
C
3

have you tried common software properties first use this command to install this

(1) sudo apt-get install software-properties-common

and then use ethereum ppa

(2) sudo add-apt-repository -y ppa:ethereum/ethereum

(3) sudo apt-get update

(4) sudo apt-get install ethereum

Congratulation answered 14/6, 2018 at 7:3 Comment(1)
try all steps one by oneCongratulation
S
1

Installing an unstable version of ethereum package does not seem like a good idea.

Considering that package is only about installing a bunch of binaries (geth, swarm and other ethereum tools) into your filesystem. I would suggest to download the latest stable version directly from ethereum CDN servers or compile them yourself following the instructions described at their official github repo

Saucy answered 27/2, 2019 at 18:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.