Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Why can't APT install more than one application at a time? Why does it need to exit before installing the next. I know with MS Windows you can install how many application at once. This problem is not unique to Ubuntu but to all distros, that I have notice.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

That's because each package has specific details about how it can be installed.

Post-processing for a package sometimes has follow up (symlinking, documentation generation, et cetera). Such processing may pre-depend on other processes having completed.

This isn't a Linux flaw. It's a "computation" flaw. (https://en.wikipedia.org/wiki/Halting_problem).

No package manager can determine if it's successfully installed the dependencies shy of actually trying to install. Windows is not immune from this.

share|improve this answer
    
If there isn't another one by the next time that I look at this. I will accepted this as my answer. Properly no later than 2 days. –  Andrew Apr 21 at 5:28
    
+1 for referring to the halting problem –  Joren Apr 21 at 22:51

Both dpkg and RPM can handle more than one application install at a time. For instance:

sudo apt-get install firefox thunderbird

This command will install both Firefox and Thunderbird in the same command. More recent versions of apt-get will actually begin the downloads using potentially different sources as well.

yum, zypper, and dnf also handle multiple applications in the same way.

share|improve this answer
3  
But they install like 1 than 2, not like all of the same time! –  Andrew Apr 21 at 1:03
2  
That's because each package has specific details about how it can be installed. Post-processing for a package sometimes has follow up (symlinking, documentation generation, et cetera). Such processing may predepend on other processes having completed. This isn't a Linux flaw. It's a "computation" flaw. (en.wikipedia.org/wiki/Halting_problem). No package manager can determine if it's successfully installed the dependencies shy of actually trying to install. Windows is not immune from this. –  K. Darien Freeheart Apr 21 at 1:20
1  
Post it as an answer. –  Andrew Apr 21 at 2:38
1  
Done. And now I feel dirty. :P –  K. Darien Freeheart Apr 21 at 2:49

You can install more than one application at once by typing the following command in terminal
sudo apt-get install <package-one> <package-one> ...
replace the latter by package names

It will install the packages sequentially not all at once but it will save you the trouble for waiting one installation to finish and the entering another to installation

share|improve this answer
1  
It doesnot install apps all at once but it installs them in given order one by one. –  Registered User Apr 21 at 4:37
    
Sorry, I entered the edit earlier but there was a network problem at my place –  akabhirav Apr 21 at 22:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.