MySQL Forums
Forum List  »  Source, Builds, Binaries

Disk space requirement when installing from source in a Ubuntu image
Posted by: Mithun Vaidhyanathan
Date: May 18, 2024 09:44PM

Hello,

I am trying to install mysql from source. My reference point is https://dev.mysql.com/doc/refman/8.0/en/source-installation.html. I am using a Ubuntu x86_64 image on VirtualBox. I allotted 25GB disk space, the default one.

Linux my-VirtualBox 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

I ran the cmake command without too many issues - saw some checks as not found, and would progressively try addressing them, but the command itself finished without an error code. The cmake command I ran:

cmake ../ -DBUILD_CONFIG=mysql_release -DCMAKE_INSTALL_PREFIX=/home/me/mysql-installer -DCPACK_MONOLITHIC_INSTALL=1 -DWITH_DEBUG=1 -DWITH_BOOST=/home/me/installers/boost_1_82_0

I then ran the make command, which failed saying that there isn't enough disk space. At the time it failed, the folder I was working on had grown to 12GB. I know one can't say how big an actual DB can grow to, but my question is about the barebones installation from source. How much disk space is required to do so?

Thanks,
Mithun

Options: ReplyQuote


Subject
Views
Written By
Posted
Disk space requirement when installing from source in a Ubuntu image
227
May 18, 2024 09:44PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.