1

I commonly install/remove a bunch of software after installing Ubuntu, I wonder about the methods to automate it.

Is anything like /etc/apt/packages where I could define which packages I want?

Pressed configuration files work on initial setup, however I'd like it to work regardless of the status of the system.

Ron
  • 20,518
  • 6
  • 57
  • 72
Javier López
  • 1,436
  • 2
  • 19
  • 29
  • 3
    possible duplicate of [How can I remove packages using preseed?](http://askubuntu.com/questions/54809/how-can-i-remove-packages-using-preseed) – user.dz Sep 12 '15 at 09:09

2 Answers2

0

You can use any file for that. Just create a file packages in your home folder. List there all the needed packages and install them by

cat packages | xargs sudo apt-get install

or

xargs -a packages sudo apt-get install

The same way you can remove or purge a list of packages.

The list may look like

vlc
ubuntu-restricted-extras
mc
Pilot6
  • 88,764
  • 91
  • 205
  • 313
-2

You can use a kickstart script and pxe boot with puppet and it will be completely configured auto-magically on first boot. Completely hands off.