My question is a little bit different from others already asked, I guess. I've already searched for answers, but I didn't find anything related.

For example, I've always installed K3B via Terminal with the following command "sudo apt-get install k3b". It always worked, of course. One day, I decided to install it via Ubuntu Sofware Center and, to my surprise, there were a few Add-ons I didn't know about. I checked some of them to be installed as well because I found them useful.

Now, here's my question: When we try to install a software via Terminal and this software has add-ons, how do we know that? And how do we install the add-ons via Terminal?

I suppose we have to know the names of the add-ons first, and then install them one by one, once the main software has already been installed. But how do we get to know those names via Terminal? Using the Software Center is cool because it shows the add-ons, a brief description for each one and their names in brackets, right? How about that via Terminal?

I had never paid attention to this until I used the Software Center. By the way, K3B was just an example, of course.

  • one i usually use is sudo apt-cache search firefox it shows the firefox package but also firefox-addon* and firefox-nl/de/en en zo one – blade19899 Sep 21 '12 at 8:52
  • @blade19899: Not anymore. – Alix Axel May 18 '13 at 15:18

Those addons are suggested packages which are meant to enhance your experience with k3b. But those are not essentials for k3b to work properly.

In terminal, you can know the add-on names (at least some of those) by using apt-cache depends k3b command. The add-on names will be shown under "Suggest:" section. For example:

apt-cache depends k3b | grep Suggests
  Suggests: k3b-extrathemes
  Suggests: normalize-audio
  Suggests: sox
  Suggests: movixmaker-2
  Suggests: libk3b6-extracodecs
  Suggests: vcdimager

Please note that, suggested packages are not essentials. Also note, apt-get will install packages which are essential to run k3b (called dependency) and those packages which are recommended.

You may want to visit these link to get some info about this topic:

Also check this question on Superuser.com

As a summary:

  • A depends packages in one, which is required to run the software
  • A recommended package in one, which is required for the software to be functional.
  • A suggested package in one, which can enhance the usability of the software.

Note, Ubuntu install first two category of the software by default from both Software Center and from terminal. So, you are not loosing anything essential. But still you can install them. Also note, Software Center does not install them automatically.

To install suggested packages also from terminal

If you want to install suggested packages from terminal, you can use this command

 sudo apt-get --install-suggests install k3b

This command will install all the suggested packages as well as dependency and recommended packages.

To permanently configure apt to install suggested packages

If you want to configure apt-get permanently to automatically install suggested packages also, You can do this:

  1. Create a file in /etc/apt/apt.conf.d with name 99mysettings

    gksu gedit /etc/apt/apt.conf.d/99mysettings
  2. Then add the configuration option in that file

    APT::Install-Suggests "true";     
  3. Then save the file and exit gedit.

From now, the suggested packages will also get installed automatically by apt-get.

Please note that, apt-get will only install those packages if it finds them in any repositories, Otherwise, it simply ignores them and proceed with installation.

  • 1
    very good command ... liked this very much!! – Pranit Bauva Sep 20 '12 at 15:00
  • 1
    Anwar, thanks a lot for your answer. It was really enlightening. :) Thanks to everybody who answered as well. Cheers. :) brunces – brunces Sep 20 '12 at 18:31
  • @user74660 If it helps, you can accept the answer. It will help future visitors. Thank you :) – Anwar Sep 21 '12 at 0:34

When you install a program through the terminal it will also tell you suggested packages (add-ons, etc). i.e.:

sudo apt-get install k3b
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  k3b-extrathemes sox movixmaker-2 libk3b6-extracodecs vcdimager
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

You should be able to use sudo apt-cache search <name> This should return all packages that have are related to in any way possible.


one possibility is

apt-cache search appname

And you can install all wanted packages in one go

sudo apt-get install package_1 package_2 ...

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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