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
How AI Predicts the Impact of Major Events on Cryptocurrency Markets The cryptocurrency market has experienced significant volatility and unpredictability in recent years. With numerous major events happening simultaneously, predicting how they will impact the markets is a challenging task. However, artificial intelligence (AI) can play a crucial role in helping traders and analysts make […]
Cryptocurrency Exchange Alert! Are you looking to make the most of your cryptocurrency trading experience? Look no further than Crypto-Futures-Indicators ! In this article, we’ll dive into the world of Futurology, specifically focusing on two key aspects that can significantly impact your crypto trading: Expiring Futures Contracts and Cryptocurrency Exchange Platforms. Expiring Futures Contracts Expiring […]
Ethereum: A Guide to Converting Litecoin Difficulty to Expected Time per Block Solved As a Litecoin miner, you’re constantly battling the ever-changing difficulty landscape. In this article, we’ll delve into how to convert the current Litecoin difficulty of 6 to an expected time per block solved when mining at a rate of 25 kh/s (kilohashes […]
The World of Crypto: A Deep Dive into Market Making, Coins and Scalping The world of cryptocurrencies has exploded in recent years, with new assets being introduced every day. One aspect that has gained significant attention is market making (MM), coin trading and scalping. In this article, we’ll take a closer look at these three […]