Florius
Florius

Reputation: 407

Install 'standard' packages

Normally during the setup you can choose which group packages you'd like to install. However I'm running a LXC Debian container, so I am missing a LOT of standard packages (even iputils was missing for example.)

How do I install all the 'Standard' packages, without naming them one by one?

Thanks.

Upvotes: 2

Views: 324

Answers (1)

Ortomala Lokni
Ortomala Lokni

Reputation: 62635

You can do this by running tasksel.

Tasksel package provides a simple interface for users who want to configure their system to perform a specific task. This program is used during the installation process, but users can also use tasksel at any time.

enter image description here

=== Update

Packages marked as required and important (such as iptables) are normally installed by debootstrap. If they are missing you can install them by creating files listing these packages with:

aptitude search ~prequired -F"%p" > required.list
aptitude search ~pimportant -F"%p" > important.list

You can then edit these lists according to your needs and install them with:

cat required.list | xargs sudo apt-get install
cat important.list | xargs sudo apt-get install

Upvotes: 1

Related Questions