by admin
Share
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?
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!
STAY IN THE LOOP
Subscribe to our free newsletter.
Leave A Comment
Multiple platform trafficking: Maximizing your business potential in the crypto -market market The world of cryptocurrencies develops rapidly and new and exciting opportunities appear every day. . One key aspect he received ** What is trading with cross platforms? Multiple platform trading applies to the ability to trade cryptocurrencies on multiple platforms simultaneous, such as […]
Reading and interpretation of cryptocurrency trading volume charts As the popularity of cryptocurrencies continues to grow, traders and investors are increasingly using on -line platforms and tools to monitor market trends and make informed decisions. A crucial aspect of cryptocurrency negotiation is to understand how to read and interpret trading volume charts. In this article, […]
Calculating ROI in Cryptocurrency Investments: A Comprehensive Guide Cryptocurrencies has always revolutionized With the rapid of the brand, many investors are to get in the action. However, with the numerous options available, it can can be determine it in investing in in or not. In this article, we will delve in the world of cryptocurrence […]
Cardano (ADA): revolutionize the landscape of cryptocurrency with its unique characteristics In the world of cryptocurrencies, few projects have attracted as much attention and momentum as Cardano (ADA). Founded in 2017 by Charles Hoskinson, a renowned blockchain expert and co-founder of Ethereum, Cardano quickly gained popularity among cryptocurrency fans and investors. One of the main […]