Categories: CRYPTOCURRENCY

by admin

Share

Categories: CRYPTOCURRENCY

by admin

Share

Ethereum: How to install Berkeley DB 4.8 on Linux

As a developer when Ethereum Smart Contractors, you probably met the need. In this article we will go to the youth of installing Berkeley DB 4.8 in Linux Synuk.

What is Berkeley DB?

Ethereum: How to install Berkeley DB 4.8 on Linux?

Berkeley Batabase (Berkeley DB) is a relational Open Source database management system, which allows you to store and ask about the structural structure in a flexible, independent format. It is widely used for Varyus app, including databases, buffering and data sets.

Why do I need Berkeley DB 4.8 on Linux?

To install Ethereum, you will probably have information based on JSON stored in the direction of “Hallet”. Howver, some of the Ethereum version (before version 1.3) required the functioning of the Berkeley DB 4.6 specification.

Fortunately, newer from Berkeley DB: 4.8. We will show you to install it in Linux.

Installation Berkeley DB 4.8 on Linux

Ubuntu and Debian (with LibdB-dev packages)

If you are Ubuntu or Debian, you can easily install Thingsall

`Bash

sudo apt-get install libdb-dev libdb+-dev

After installing, you will be a link to

`Bash

Example g ++ -o

Alternative Method use docker *

To get a more convenient and reproducible impressions, consume the application dock. You can collect Docker’s image from Berkeley DB 4.8 and its installed:

Dockerfile

From Ubuntu: the latest

Start the APT-ET-GET && Apt-Get Install -Y Libdb-DEV Libdb ++ update

Workdir /APP

Copying. /App/

Cmd ["g ++," -o "," example "," example.cpp "]

It is built in the picture, you can pull it out and run your program.

`Bash

Docker Pull Berkeley-DB-4.8-IMAGE

Docker Runit -DB-4.8-IMAGE EXAMPLE

Installation Berkeley DB 4.8 on a non -standard Linux shade

If you use a different Linux distribution (e.g. Fedora, Centos) or hastily “Libdb-devputage, you must manually install Berkeley DB 48:

  • Download the Berkeley DB 4.8 source code from the Offical website:

  • Extract from

  • Create a new catalog for your program and go to it:

Bash

MKDIR MyPROJECT

CD MyProject

  • Place the separate source code Berkeley DB 4.8 in the current one.

  • Use the Berkeley DB 4.8 as follows for compilation:

`

Cd very much

./configure — Prefix =/USR/Local/very good

to do

install sudo

`

  • Check that Berkeley DB 4.8 is installed, checking his presence in /USR/bin ii Lib/` Dicators.

Now you are real for Berkeley DB 4.8 with the Ethereum Smart Comment project!

Ethereum Smart Contract Read

STAY IN THE LOOP

Subscribe to our free newsletter.

Don’t have an account yet? Get started with a 12-day free trial

Leave A Comment

Related Posts

  • Zero copy of the puzzle: Is it always best to use “zero_copy” in Solani? When we have failed in the world of intelligent contracts and the development of blockchain, there is one common question: is the programmers always whose data “zero_copy”? In this article, we examine the concept of “zero_copy” in the structure of Solana […]

  • Ethereum Signature Error: Binance Withdrawal Issue As a user of the Ethereum blockchain, you may encounter an unexpected SignatureError when attempting to withdraw coins from Binance using your preferred programming language. In this article, we will delve into the details of this error and explore potential solutions. What is a Signaturator? In cryptocurrency transactions, a […]

  • Title: The size of Bitcoin transactions: a comparison of regular and fast block freezing transactions (RBF) Introduction Bitcoin, the world’s first decentralized cryptocurrency, has undergone significant changes since its inception. One of these transformations is the implementation of a new feature called Randomized Block Freezing (RBF). RBF is designed to improve Bitcoin’s safety and efficiency, […]

  • Taproot Power Unlock: How Bitcoin New True Traction System store data with effort In a recent article, you may haves seen the term “Taproot” menting in talks on Bitcoin Scalaability and Transction Processing. But the exactly is Taproot, and how of the does it go to store so many data in the blockchain? In this […]