Install many applications using one command The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Installing multiple packages at the same timeInstall multiple deb files while respecting their dependenciesInstall .deb on from CD-ROM while offline with default applications onlyCreating a script to install software after a clean install?How to save applications for re-install or upgrade?Php broken, “held broken packages” error on installWhat is really a package in Ubuntu?Adding path to PATH environment variable using bash script in /etc/environmentdpkg is confused since I manually removed installation files for spotify with sudo rm recursivePackage dowloaded half when installingHow do I reinstall the software packages that came with Ubuntu 18.04?where does “sudo apt-get install <package_name>” get the packages?

Change bounding box of math glyphs in LuaTeX

How do you keep chess fun when your opponent constantly beats you?

How are presidential pardons supposed to be used?

A pet rabbit called Belle

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Is there a writing software that you can sort scenes like slides in PowerPoint?

First use of “packing” as in carrying a gun

He got a vote 80% that of Emmanuel Macron’s

Empty set is subset of every set? If yes, why that...

Does Parliament hold absolute power in the UK?

What information about me do stores get via my credit card?

In horse breeding, what is the female equivalent of putting a horse out "to stud"?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

Windows 10: How to Lock (not sleep) laptop on lid close?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Typeface like Times New Roman but with "tied" percent sign

Didn't get enough time to take a Coding Test - what to do now?

Is above average number of years spent on PhD considered a red flag in future academia or industry positions?

how can a perfect fourth interval be considered either consonant or dissonant?

Problems with Ubuntu mount /tmp

Am I ethically obligated to go into work on an off day if the reason is sudden?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

What can I do if neighbor is blocking my solar panels intentionally?

Create an outline of font



Install many applications using one command



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Installing multiple packages at the same timeInstall multiple deb files while respecting their dependenciesInstall .deb on from CD-ROM while offline with default applications onlyCreating a script to install software after a clean install?How to save applications for re-install or upgrade?Php broken, “held broken packages” error on installWhat is really a package in Ubuntu?Adding path to PATH environment variable using bash script in /etc/environmentdpkg is confused since I manually removed installation files for spotify with sudo rm recursivePackage dowloaded half when installingHow do I reinstall the software packages that came with Ubuntu 18.04?where does “sudo apt-get install <package_name>” get the packages?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















after reinstall system I need install applications again. Is it possible to make bash script or own package where cancan I add needed application and after reinstall system will I install them all using one command?










share|improve this question







New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Related to Installing multiple packages at the same time

    – pomsky
    5 hours ago


















1















after reinstall system I need install applications again. Is it possible to make bash script or own package where cancan I add needed application and after reinstall system will I install them all using one command?










share|improve this question







New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Related to Installing multiple packages at the same time

    – pomsky
    5 hours ago














1












1








1








after reinstall system I need install applications again. Is it possible to make bash script or own package where cancan I add needed application and after reinstall system will I install them all using one command?










share|improve this question







New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












after reinstall system I need install applications again. Is it possible to make bash script or own package where cancan I add needed application and after reinstall system will I install them all using one command?







package-management






share|improve this question







New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 5 hours ago









BElluuBElluu

111




111




New contributor




BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






BElluu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Related to Installing multiple packages at the same time

    – pomsky
    5 hours ago


















  • Related to Installing multiple packages at the same time

    – pomsky
    5 hours ago

















Related to Installing multiple packages at the same time

– pomsky
5 hours ago






Related to Installing multiple packages at the same time

– pomsky
5 hours ago











3 Answers
3






active

oldest

votes


















1














You can use sudo apt install app1 app2 app3 type command in order to install multiple applications from the terminal or a bash script. Simply list all of the applications you wish to install in that command.



For example, if I wanted to install the applications gufw, libreoffice and hexchat, I would simply run the command sudo apt install gufw libreoffice hexchat.



Make sure you use the correct package name for each one because if any one of the package names in the command are misspelled or incorrect, the entire command will fail.






share|improve this answer






























    1














    To build a list of installed packages use:



    sudo dpkg --get-selections > package.list


    To restore the packages use:



    sudo dpkg --set-selections < package.list
    sudo apt-get dselect-upgrade





    share|improve this answer






























      1














      If the packages come from apt repositories , it is sufficient to provide a long list on command line



      sudo apt install pkg1 pkg2 pkg3


      If the list is large you may run into argument list too long error. In such case you can create a text file with list of packages one per line and run something like



      sudo xargs --arg-file packages.txt apt install


      Remember to update package cache before installing



      sudo apt update



      For deb packages found locally on disk, you could use sudo dpkg -i ./*.deb in current working directory or sudo dpkg -R -i debfiles/ to recursively traverse debfiles/ directory ( user-defined , can be replaced with another name). However, there are issues when those packages may need dependencies first, and the linked post provides a Python script to resolve that via topological sort.






      share|improve this answer

























        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/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
        );



        );






        BElluu is a new contributor. Be nice, and check out our Code of Conduct.









        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133594%2finstall-many-applications-using-one-command%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        You can use sudo apt install app1 app2 app3 type command in order to install multiple applications from the terminal or a bash script. Simply list all of the applications you wish to install in that command.



        For example, if I wanted to install the applications gufw, libreoffice and hexchat, I would simply run the command sudo apt install gufw libreoffice hexchat.



        Make sure you use the correct package name for each one because if any one of the package names in the command are misspelled or incorrect, the entire command will fail.






        share|improve this answer



























          1














          You can use sudo apt install app1 app2 app3 type command in order to install multiple applications from the terminal or a bash script. Simply list all of the applications you wish to install in that command.



          For example, if I wanted to install the applications gufw, libreoffice and hexchat, I would simply run the command sudo apt install gufw libreoffice hexchat.



          Make sure you use the correct package name for each one because if any one of the package names in the command are misspelled or incorrect, the entire command will fail.






          share|improve this answer

























            1












            1








            1







            You can use sudo apt install app1 app2 app3 type command in order to install multiple applications from the terminal or a bash script. Simply list all of the applications you wish to install in that command.



            For example, if I wanted to install the applications gufw, libreoffice and hexchat, I would simply run the command sudo apt install gufw libreoffice hexchat.



            Make sure you use the correct package name for each one because if any one of the package names in the command are misspelled or incorrect, the entire command will fail.






            share|improve this answer













            You can use sudo apt install app1 app2 app3 type command in order to install multiple applications from the terminal or a bash script. Simply list all of the applications you wish to install in that command.



            For example, if I wanted to install the applications gufw, libreoffice and hexchat, I would simply run the command sudo apt install gufw libreoffice hexchat.



            Make sure you use the correct package name for each one because if any one of the package names in the command are misspelled or incorrect, the entire command will fail.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 5 hours ago









            GerowenGerowen

            802514




            802514























                1














                To build a list of installed packages use:



                sudo dpkg --get-selections > package.list


                To restore the packages use:



                sudo dpkg --set-selections < package.list
                sudo apt-get dselect-upgrade





                share|improve this answer



























                  1














                  To build a list of installed packages use:



                  sudo dpkg --get-selections > package.list


                  To restore the packages use:



                  sudo dpkg --set-selections < package.list
                  sudo apt-get dselect-upgrade





                  share|improve this answer

























                    1












                    1








                    1







                    To build a list of installed packages use:



                    sudo dpkg --get-selections > package.list


                    To restore the packages use:



                    sudo dpkg --set-selections < package.list
                    sudo apt-get dselect-upgrade





                    share|improve this answer













                    To build a list of installed packages use:



                    sudo dpkg --get-selections > package.list


                    To restore the packages use:



                    sudo dpkg --set-selections < package.list
                    sudo apt-get dselect-upgrade






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 5 hours ago









                    SteveInBavariaSteveInBavaria

                    642419




                    642419





















                        1














                        If the packages come from apt repositories , it is sufficient to provide a long list on command line



                        sudo apt install pkg1 pkg2 pkg3


                        If the list is large you may run into argument list too long error. In such case you can create a text file with list of packages one per line and run something like



                        sudo xargs --arg-file packages.txt apt install


                        Remember to update package cache before installing



                        sudo apt update



                        For deb packages found locally on disk, you could use sudo dpkg -i ./*.deb in current working directory or sudo dpkg -R -i debfiles/ to recursively traverse debfiles/ directory ( user-defined , can be replaced with another name). However, there are issues when those packages may need dependencies first, and the linked post provides a Python script to resolve that via topological sort.






                        share|improve this answer





























                          1














                          If the packages come from apt repositories , it is sufficient to provide a long list on command line



                          sudo apt install pkg1 pkg2 pkg3


                          If the list is large you may run into argument list too long error. In such case you can create a text file with list of packages one per line and run something like



                          sudo xargs --arg-file packages.txt apt install


                          Remember to update package cache before installing



                          sudo apt update



                          For deb packages found locally on disk, you could use sudo dpkg -i ./*.deb in current working directory or sudo dpkg -R -i debfiles/ to recursively traverse debfiles/ directory ( user-defined , can be replaced with another name). However, there are issues when those packages may need dependencies first, and the linked post provides a Python script to resolve that via topological sort.






                          share|improve this answer



























                            1












                            1








                            1







                            If the packages come from apt repositories , it is sufficient to provide a long list on command line



                            sudo apt install pkg1 pkg2 pkg3


                            If the list is large you may run into argument list too long error. In such case you can create a text file with list of packages one per line and run something like



                            sudo xargs --arg-file packages.txt apt install


                            Remember to update package cache before installing



                            sudo apt update



                            For deb packages found locally on disk, you could use sudo dpkg -i ./*.deb in current working directory or sudo dpkg -R -i debfiles/ to recursively traverse debfiles/ directory ( user-defined , can be replaced with another name). However, there are issues when those packages may need dependencies first, and the linked post provides a Python script to resolve that via topological sort.






                            share|improve this answer















                            If the packages come from apt repositories , it is sufficient to provide a long list on command line



                            sudo apt install pkg1 pkg2 pkg3


                            If the list is large you may run into argument list too long error. In such case you can create a text file with list of packages one per line and run something like



                            sudo xargs --arg-file packages.txt apt install


                            Remember to update package cache before installing



                            sudo apt update



                            For deb packages found locally on disk, you could use sudo dpkg -i ./*.deb in current working directory or sudo dpkg -R -i debfiles/ to recursively traverse debfiles/ directory ( user-defined , can be replaced with another name). However, there are issues when those packages may need dependencies first, and the linked post provides a Python script to resolve that via topological sort.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited 3 hours ago

























                            answered 5 hours ago









                            Sergiy KolodyazhnyySergiy Kolodyazhnyy

                            75.4k9155328




                            75.4k9155328




















                                BElluu is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded


















                                BElluu is a new contributor. Be nice, and check out our Code of Conduct.












                                BElluu is a new contributor. Be nice, and check out our Code of Conduct.











                                BElluu is a new contributor. Be nice, and check out our Code of Conduct.














                                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.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133594%2finstall-many-applications-using-one-command%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

                                Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                                How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

                                Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її