Quantcast
Viewing latest article 1
Browse Latest Browse All 5

How to apt-get install without prompts

apt-get install tends to throw lots of Yes or No prompts, asking if dependent packages need to be installed or not. If you are installing a package that is large or with lots of dependencies or installing a number of packages, answering these prompts keeps you from switching to do some work.

One solution is to request apt-get install to automatically answer Yes to all the Yes or Not prompts that might come up during installation.

To do that during an installation of a package Foo:

$ sudo apt-get install --yes Foo

Tried with: Ubuntu 12.04 LTS


Tagged: apt-get, ubuntu Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.

Viewing latest article 1
Browse Latest Browse All 5

Trending Articles