[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get install -- packet list from a file



On 11/1/2010 5:13 AM, getting.lists@googlemail.com wrote:
Hi list,

I want to install many packets at once with apt-get.
So I wrote a file, like

file-list:

htop
vim
apache2

apt-get shall use this file as it's input eg apt-get install < file-list
(notworking)

does anyone knows a solution?

heiko kokemoor



Consider using aptitude, if a (curses) GUI would be appropriate. apt-get can take multiple package names on the command line:

#apt-get install pkg1 pkg2 pkg3 pkg4 ...

although dependencies and conflicts might get a little tricky. Or you can write a small bash script.







Reply to: