Use APT To Install A List Of Packages From A File

Posted By Weston Ganger

I wanted to maintain a list of packages in my dotfiles repo so that every time I re-installed the OS I would be able to quickly install the basics. Brew on OSX has the Brewfile so I figured something similar would be nice.

An example package list file

grep -vE '^#' ~/.my-apt-packages | xargs sudo apt install -y

Related External Links:

Article Topic:Software Development - Linux

Date:July 27, 2020