How to install v1 7 3 of Geth using ppa

0 votes

I am trying to install a specific version v1.7.3 of geth using

sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update 
sudo apt install ethereum

This installs the latest package available (geth v1.8.2). But I want another package with same package name ethereum but different content (1.7.3+build11486+zesty)

I need the commands to install v1.7.3. I have to use it in a dockerfile.

Oct 17, 2018 in Blockchain by sabby
• 4,390 points
985 views

1 answer to this question.

0 votes

The Ethereum PPA generally provides the latest version of Geth. However, if you specifically need version 1.7.3, you can try the following approach. Note that it might not always work, as PPAs usually maintain the latest versions.

FROM ubuntu:latest
# Install necessary dependencies
RUN apt-get update \
    && apt-get install -y software-properties-common

# Add the Ethereum PPA
RUN add-apt-repository -y ppa:ethereum/ethereum

# Update the package list
RUN apt-get update

# Install the desired version of geth
RUN apt-get install -y ethereum=1.7.3+build11486+zesty

# Clean up
RUN apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Your other Dockerfile commands go here

In this Dockerfile, the ethereum=1.7.3+build11486+zesty specifies the version you want to install. Note that the success of this approach depends on whether the PPA maintains the older versions.

Keep in mind that using a specific version like this may result in missing out on important updates and security fixes. It's generally recommended to use the latest stable version of software. If possible, consider updating your application to be compatible with the latest version of Geth.

answered Oct 17, 2018 by Christine
• 15,790 points

Related Questions In Blockchain

0 votes
1 answer

How to transact custom token instead of ethers using JSON rpc?

First create your custom token. Then develop ...READ MORE

answered Jul 10, 2018 in Blockchain by digger
• 26,740 points
864 views
+1 vote
4 answers

How to connect peers to a private network using geth?

Follow the below steps to connect peers ...READ MORE

answered Jul 13, 2018 in Blockchain by slayer
• 29,350 points
13,286 views
+2 votes
5 answers

How to install Ganache.appx on Windows 7

Go to https://github.com/trufflesuite/ganache/releases there are a set of ...READ MORE

answered Aug 17, 2018 in Blockchain by Omkar
• 69,210 points
13,835 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,426 views
+1 vote
1 answer

How can I connect to the specified nodes using IPFS?

You can actually connect to the specific ...READ MORE

answered Apr 25, 2018 in Blockchain by Christine
• 15,790 points
1,793 views
0 votes
1 answer

How to connect two instances of Hyperledger Fabric?

Before getting on with your question, let ...READ MORE

answered Jun 11, 2018 in Blockchain by Christine
• 15,790 points
951 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP