by
Share
by
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?
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/biniiLib/` Dicators.
Now you are real for Berkeley DB 4.8 with the Ethereum Smart Comment project!
STAY IN THE LOOP
Subscribe to our free newsletter.
Leave A Comment
Multiple platform trafficking: Maximizing your business potential in the crypto [...]
Reading and interpretation of cryptocurrency trading volume charts As the [...]
Calculating ROI in Cryptocurrency Investments: A Comprehensive Guide Cryptocurrencies has [...]
Cardano (ADA): revolutionize the landscape of cryptocurrency with its unique [...]
