<h1 id="silentinstallmacosandlinuxbuilds">Silent install macOS and Linux builds</h1> <h2 id="problem">Problem</h2> <p>Sometimes you may need to install a product without any user interaction. CloudBerry Backup for Windows supports this mode with the following flag:</p> <pre><code>CloudBerryBackupBuild.exe /S </code></pre> <p>For macOS and Linux versions naturally have a different syntax for this purpose:</p> <p>First, mount the <strong>CloudBerryBackup.dmg</strong> image using <strong>hdiutil</strong>:</p> <pre><code>sudo hdiutil attach CloudBerryBackup.dmg </code></pre> <p>Once the image mounted to <strong>/Volumes/ImageName</strong>, the package can be installed:</p> <pre><code>sudo installer -package /Volumes/ImageName/ImageName.pkg -target / </code></pre> <p>Change <strong>ImageName</strong> to yours accordingly!</p> <p>Once installed, we can detach the image:</p> <pre><code>sudo hdiutil detach /Volumes/ImageName </code></pre> <h2 id="linux">Linux</h2> <p>Linux build is installed using package manager (e.g. dpkg, rpmetc). So you may need to check environment variables for those package managers to ignore questions during installation. For example for Debian family the following should disable questions and perform an unattended installation:</p> <pre><code>export DEBIAN_FRONTEND=noninteractive export DEBIAN_PRIORITY=critical </code></pre>