Installing CImg on ubuntu from bash scriptI Recently Installed Ubuntu Desktop GUI Over My Ubuntu Server Install and I Broke Some Bash CommandsHow to completely restart script from inside the script itselfrun a script as non-root usergsettings not working from within bash functionprocessing arguments with bash functionbash script to run a second command with select output from first command as variableHow to activate a virtualenv within bash script resulting in activated promptHow to run a script in terminal when doubleclickedIs there a better way to create a file in bash other than using touch and echo?
`dd` does not create bootable Ubuntu iso
I will never do it - CE or LE?
Submitting list of forbidden words
Isn't LaTeX a complete software for producing books?
Making recursion optional: Bad practice?
How tall would a rainforest need to be to make it completely dark at ground level
Is a pad just a melody synth with a bunch of reverb and echo?
Does Amoxicillin (as trihydrate) degrade in stomach acid?
LWC not evaluating the if:true statement
Are the graphical depictions in docs drawed in manual labour?
Why are dates (of writing or publication) missing in scientific papers?
What is the process of going from machine code to electrically controlling individual transistors?
Max of the reversed of two numbers
Is it against a Terms of Service/End-User License Agreement to not read it?
Renew British passport which includes visa for return to Australia
How to check whether the permutation is random or not
Cisco ASA 5512X does not allow connections across VLANs to internet
How to build CNOT gate out of universal gates?
I have just 4 hours a month to security check a cloud based application - How to use my time?
Short story about a young psychic man who disrupts a home full of unusual people?
In the top five, I'm odd
Is part of the Mediterranean sea considered Eretz Israel?
A professor commented that my research is too simple as compared to my colleagues. What does that mean about my future prospects?
Can dual US-Canadian citizens travel to the US with an expired US passport but valid Canadian passport?
Installing CImg on ubuntu from bash script
I Recently Installed Ubuntu Desktop GUI Over My Ubuntu Server Install and I Broke Some Bash CommandsHow to completely restart script from inside the script itselfrun a script as non-root usergsettings not working from within bash functionprocessing arguments with bash functionbash script to run a second command with select output from first command as variableHow to activate a virtualenv within bash script resulting in activated promptHow to run a script in terminal when doubleclickedIs there a better way to create a file in bash other than using touch and echo?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I would like to install CImg from a non-interactive bash script
I've tried doing this using
apt install -y cimg-dev
Which works until the installer get to asking me about what region I am in
This is fine if for an interactive install, but I want this to be in a bash script so I don't have to manually set the region each time.
What's a suitable way to do this?
I'm not sure if it is possible to queue up the region selection options somehow, or if there is a way to set them before he command starts.
command-line apt bash default software-uninstall
add a comment
|
I would like to install CImg from a non-interactive bash script
I've tried doing this using
apt install -y cimg-dev
Which works until the installer get to asking me about what region I am in
This is fine if for an interactive install, but I want this to be in a bash script so I don't have to manually set the region each time.
What's a suitable way to do this?
I'm not sure if it is possible to queue up the region selection options somehow, or if there is a way to set them before he command starts.
command-line apt bash default software-uninstall
I think it might be related to dpkg-reconfigure tzdata
– sav
Jul 14 at 3:37
serverfault.com/questions/84521/…
– sav
Jul 14 at 3:38
add a comment
|
I would like to install CImg from a non-interactive bash script
I've tried doing this using
apt install -y cimg-dev
Which works until the installer get to asking me about what region I am in
This is fine if for an interactive install, but I want this to be in a bash script so I don't have to manually set the region each time.
What's a suitable way to do this?
I'm not sure if it is possible to queue up the region selection options somehow, or if there is a way to set them before he command starts.
command-line apt bash default software-uninstall
I would like to install CImg from a non-interactive bash script
I've tried doing this using
apt install -y cimg-dev
Which works until the installer get to asking me about what region I am in
This is fine if for an interactive install, but I want this to be in a bash script so I don't have to manually set the region each time.
What's a suitable way to do this?
I'm not sure if it is possible to queue up the region selection options somehow, or if there is a way to set them before he command starts.
command-line apt bash default software-uninstall
command-line apt bash default software-uninstall
asked Jul 14 at 3:26
savsav
1211 gold badge1 silver badge6 bronze badges
1211 gold badge1 silver badge6 bronze badges
I think it might be related to dpkg-reconfigure tzdata
– sav
Jul 14 at 3:37
serverfault.com/questions/84521/…
– sav
Jul 14 at 3:38
add a comment
|
I think it might be related to dpkg-reconfigure tzdata
– sav
Jul 14 at 3:37
serverfault.com/questions/84521/…
– sav
Jul 14 at 3:38
I think it might be related to dpkg-reconfigure tzdata
– sav
Jul 14 at 3:37
I think it might be related to dpkg-reconfigure tzdata
– sav
Jul 14 at 3:37
serverfault.com/questions/84521/…
– sav
Jul 14 at 3:38
serverfault.com/questions/84521/…
– sav
Jul 14 at 3:38
add a comment
|
1 Answer
1
active
oldest
votes
I found the answer here, it turned out I needed to figure out how to install the timezone (tzdata) program non-interactively, rather than cimg.
For those interested my script is
apt-get update -y
apt-get upgrade -y
apt-get install -y libx11-dev
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y cimg-dev
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158140%2finstalling-cimg-on-ubuntu-from-bash-script%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I found the answer here, it turned out I needed to figure out how to install the timezone (tzdata) program non-interactively, rather than cimg.
For those interested my script is
apt-get update -y
apt-get upgrade -y
apt-get install -y libx11-dev
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y cimg-dev
add a comment
|
I found the answer here, it turned out I needed to figure out how to install the timezone (tzdata) program non-interactively, rather than cimg.
For those interested my script is
apt-get update -y
apt-get upgrade -y
apt-get install -y libx11-dev
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y cimg-dev
add a comment
|
I found the answer here, it turned out I needed to figure out how to install the timezone (tzdata) program non-interactively, rather than cimg.
For those interested my script is
apt-get update -y
apt-get upgrade -y
apt-get install -y libx11-dev
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y cimg-dev
I found the answer here, it turned out I needed to figure out how to install the timezone (tzdata) program non-interactively, rather than cimg.
For those interested my script is
apt-get update -y
apt-get upgrade -y
apt-get install -y libx11-dev
export DEBIAN_FRONTEND=noninteractive
ln -fs /usr/share/zoneinfo/Australia/Brisbane /etc/localtime
apt-get install -y tzdata
dpkg-reconfigure --frontend noninteractive tzdata
apt-get install -y cimg-dev
answered Jul 14 at 4:11
savsav
1211 gold badge1 silver badge6 bronze badges
1211 gold badge1 silver badge6 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158140%2finstalling-cimg-on-ubuntu-from-bash-script%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I think it might be related to dpkg-reconfigure tzdata
– sav
Jul 14 at 3:37
serverfault.com/questions/84521/…
– sav
Jul 14 at 3:38