Automate the installation of .run packageOctave package installation: “couldn't create installation directory”Automate installation of VirtualBox Guest Additions via command-lineHow does Google manage its service package installation and upgrade?Where to install mininetRemoving Installation Done outside the Package ManagerUnsupported package installation, the Arch WayWhat's the regex in this package installation?Installing SageMath for multiple users?Installing a .rpm package on a Unix VM - root unable to see the fileTree command package installation?

Generating a list with duplicate entries

How spaceships determine each other's mass in space?

How to install "rounded" brake pads

Why do phishing e-mails use faked e-mail addresses instead of the real one?

How to make sure I'm assertive enough in contact with subordinates?

Insult for someone who "doesn't know anything"

Short SF story. Females use stingers to implant eggs in yearfathers

Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?

How to distinguish easily different soldier of ww2?

Where is the License file location for Identity Server in Sitecore 9.1?

Rationale to prefer local variables over instance variables?

A vote on the Brexit backstop

A running toilet that stops itself

What can I do if someone tampers with my SSH public key?

Is the differential, dp, exact or not?

Why does this boat have a landing pad? (SpaceX's GO Searcher) Any plans for propulsive capsule landings?

ESPP--any reason not to go all in?

Can the Witch Sight warlock invocation see through the Mirror Image spell?

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

Ultrafilters as a double dual

Is this Paypal Github SDK reference really a dangerous site?

How do you use environments that have the same name within a single latex document?

Is there a logarithm base for which the logarithm becomes an identity function?

Having the player face themselves after the mid-game



Automate the installation of .run package


Octave package installation: “couldn't create installation directory”Automate installation of VirtualBox Guest Additions via command-lineHow does Google manage its service package installation and upgrade?Where to install mininetRemoving Installation Done outside the Package ManagerUnsupported package installation, the Arch WayWhat's the regex in this package installation?Installing SageMath for multiple users?Installing a .rpm package on a Unix VM - root unable to see the fileTree command package installation?













1















I would like to automate in a single command execution the installation of .run file (xampp in this case) which requires interactive answer from user:



Here is the manual installation:



sudo ./xampp-linux-1.8.3-5-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

XAMPP Core Files : **Y** (Cannot be edited)

XAMPP Developer Files [Y/n] :**n**

Is the selection above correct? [Y/n]: **Y**

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press **[Enter]** to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: **Y**

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

Installing
0% ______________ 50% ______________ 100%
#########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.


How can I pre-set the following user entry from the beginning without user intervention?
Y
N
Y
[enter]
Y










share|improve this question














bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 2





    expect

    – HalosGhost
    Oct 27 '14 at 23:10











  • Thanks HalosGhost. Looks like expect is the right direction.

    – AJN
    Oct 28 '14 at 0:34















1















I would like to automate in a single command execution the installation of .run file (xampp in this case) which requires interactive answer from user:



Here is the manual installation:



sudo ./xampp-linux-1.8.3-5-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

XAMPP Core Files : **Y** (Cannot be edited)

XAMPP Developer Files [Y/n] :**n**

Is the selection above correct? [Y/n]: **Y**

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press **[Enter]** to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: **Y**

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

Installing
0% ______________ 50% ______________ 100%
#########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.


How can I pre-set the following user entry from the beginning without user intervention?
Y
N
Y
[enter]
Y










share|improve this question














bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 2





    expect

    – HalosGhost
    Oct 27 '14 at 23:10











  • Thanks HalosGhost. Looks like expect is the right direction.

    – AJN
    Oct 28 '14 at 0:34













1












1








1








I would like to automate in a single command execution the installation of .run file (xampp in this case) which requires interactive answer from user:



Here is the manual installation:



sudo ./xampp-linux-1.8.3-5-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

XAMPP Core Files : **Y** (Cannot be edited)

XAMPP Developer Files [Y/n] :**n**

Is the selection above correct? [Y/n]: **Y**

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press **[Enter]** to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: **Y**

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

Installing
0% ______________ 50% ______________ 100%
#########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.


How can I pre-set the following user entry from the beginning without user intervention?
Y
N
Y
[enter]
Y










share|improve this question














I would like to automate in a single command execution the installation of .run file (xampp in this case) which requires interactive answer from user:



Here is the manual installation:



sudo ./xampp-linux-1.8.3-5-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

XAMPP Core Files : **Y** (Cannot be edited)

XAMPP Developer Files [Y/n] :**n**

Is the selection above correct? [Y/n]: **Y**

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press **[Enter]** to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: **Y**

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

Installing
0% ______________ 50% ______________ 100%
#########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.


How can I pre-set the following user entry from the beginning without user intervention?
Y
N
Y
[enter]
Y







software-installation






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 27 '14 at 23:04









AJNAJN

1184




1184





bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









  • 2





    expect

    – HalosGhost
    Oct 27 '14 at 23:10











  • Thanks HalosGhost. Looks like expect is the right direction.

    – AJN
    Oct 28 '14 at 0:34












  • 2





    expect

    – HalosGhost
    Oct 27 '14 at 23:10











  • Thanks HalosGhost. Looks like expect is the right direction.

    – AJN
    Oct 28 '14 at 0:34







2




2





expect

– HalosGhost
Oct 27 '14 at 23:10





expect

– HalosGhost
Oct 27 '14 at 23:10













Thanks HalosGhost. Looks like expect is the right direction.

– AJN
Oct 28 '14 at 0:34





Thanks HalosGhost. Looks like expect is the right direction.

– AJN
Oct 28 '14 at 0:34










1 Answer
1






active

oldest

votes


















0














There is the mysterious



 --optionfile <optionfile> Installation option file


with no documentation I could find (which would be combined with --mode unattended).



Otherwise, I've had some success with the hackish echo -e "YNYnY" | <command> where <command> will be sudo ./xampp-linux-1.8.3-5-installer.run. (N.B. I've done the installing EMC Networker, not XAMPP.)






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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/3.0/"u003ecc by-sa 3.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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f164525%2fautomate-the-installation-of-run-package%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









    0














    There is the mysterious



     --optionfile <optionfile> Installation option file


    with no documentation I could find (which would be combined with --mode unattended).



    Otherwise, I've had some success with the hackish echo -e "YNYnY" | <command> where <command> will be sudo ./xampp-linux-1.8.3-5-installer.run. (N.B. I've done the installing EMC Networker, not XAMPP.)






    share|improve this answer



























      0














      There is the mysterious



       --optionfile <optionfile> Installation option file


      with no documentation I could find (which would be combined with --mode unattended).



      Otherwise, I've had some success with the hackish echo -e "YNYnY" | <command> where <command> will be sudo ./xampp-linux-1.8.3-5-installer.run. (N.B. I've done the installing EMC Networker, not XAMPP.)






      share|improve this answer

























        0












        0








        0







        There is the mysterious



         --optionfile <optionfile> Installation option file


        with no documentation I could find (which would be combined with --mode unattended).



        Otherwise, I've had some success with the hackish echo -e "YNYnY" | <command> where <command> will be sudo ./xampp-linux-1.8.3-5-installer.run. (N.B. I've done the installing EMC Networker, not XAMPP.)






        share|improve this answer













        There is the mysterious



         --optionfile <optionfile> Installation option file


        with no documentation I could find (which would be combined with --mode unattended).



        Otherwise, I've had some success with the hackish echo -e "YNYnY" | <command> where <command> will be sudo ./xampp-linux-1.8.3-5-installer.run. (N.B. I've done the installing EMC Networker, not XAMPP.)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 28 '14 at 0:48









        Mark WagnerMark Wagner

        1,35667




        1,35667



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f164525%2fautomate-the-installation-of-run-package%23new-answer', 'question_page');

            );

            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







            Popular posts from this blog

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

            fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox