I am trying to install a list of software with the following command:
sudo apt-get install $(cat installed_software.txt)
But I receive an error message:
sudo: unable to execute /usr/bin/apt-get: Argument list too long
Can anyone help me solve this problem? Thanks!
(Oh, and I have also tried:
xargs -rxa installed_software.txt -- sudo apt-get install --
With no success).