Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (47 sloc) 1.99 KB
title description keywords kbid weight date updated_at author
Silent install macOS and Linux builds
Sometimes your may need to install a product without any user interaction
Silent install, macOS, Linux
1077
1077
2017-05-19
2017-05-19
Eugene

Problem

Sometimes you may need to install a product without any user interaction. CloudBerry Backup for Windows supports this mode with the following flag:


CloudBerryBackupBuild.exe /S

For macOS and Linux builds this is not the case.

Suggestions and Resolutions

macOS

First, mount the CloudBerryBackup.dmg image using hdiutil:


sudo hdiutil attach CloudBerryBackup.dmg

Once the image mounted to /Volumes/ImageName, the package can be installed:


sudo installer -package /Volumes/ImageName/ImageName.pkg -target /

Change ImageName to yours accordingly!

Once installed, we can detach imagage:


sudo hdiutil detach /Volumes/ImageName

Linux

Linux build is installed using package manager (e.g. dpkg, rpm etc). 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 give us unattended installation:


export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical