Using Smart to install packages from file
Gustavo Niemeyer
gustavo at niemeyer.net
Tue Jun 19 10:43:42 PDT 2007
Hey guys,
>> Does the following command actually work in smart:
>> smart install ./somepackage.file
>
> If you saying that somepackage.file is an RPM file, that should
> perfectly work.
It should work for both rpm and deb packages. The real command
line and errors might help.
> Try removing the ./, and just use the file name.
The "./" is needed for it to be considered a file name.
> If you are saying that somepackage.file is a list o files, "smart
> install < somepackage.file" or "smart install $(cat somepackage.file)"
> should work.
The second one should work. The first one will not.
>> Also what is the maximum number of pkgname arguments that can be
>> listed in the file? I am wanting to install over 800 packages.
>
> Good question... Never tried more than 50. :)
It depends on the shell argument limit.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Smart
mailing list