A number of these got me thinking of new ways to use pacman.
The new workstation is running fine...
John E. A.
]]>I want to choose a large number of packages for initial install. The ISO CD install recommends only installing BASE and then updating online.
That's not to say that you can't select more than Base at install time. I just threw that in there for new (ie, never installed Arch before) users that may think that pacman has frozen at install time. It takes a good while to resolve dependencies of a larger package set, and some users just bail, thinking that the installer has locked up. As far as I know, the Current repository doesn't contain any conflicting packages, so you should be able to install the entire thing at once, if you're willing to wait 10 minutes for pacman to figure out the dependencies and do all the file-conflict checks. I've tested a full install multiple times, and it worked fine.
Another option, if you're building multiple boxes, is to save your package list from one and then install that same list on another.
box1# pacman -Q | awk '{print $1}' >pkglist
box2# pacman -Sy `cat pkglist`
John Andrews wrote:The group options (e.g. pacman -Sg) would seem to be the solution to this, but the existing groups do not include a large number of the available packages. It seems there should be groups for devel, servers or deamons, etc. Almost a group for each subdirectory in the abs tree.
I think that is a good idea. You should submit a feature request on the bug tracker for adding the groups in abs as groups for pacman also.
-wd
The response to the feature request would go something like this:
abs
pacman -S `ls /var/abs/category`
grouping things like xfce4 or kde and other related packages (all cup related packages or all lprng packages) makes sense.
]]>The group options (e.g. pacman -Sg) would seem to be the solution to this, but the existing groups do not include a large number of the available packages. It seems there should be groups for devel, servers or deamons, etc. Almost a group for each subdirectory in the abs tree.
I think that is a good idea. You should submit a feature request on the bug tracker for adding the groups in abs as groups for pacman also.
-wd
pacman -Sy package1 package2 package3 and so on...basically after typing pacman -Sy just type each package name with a space between each one. Once done it will install every package you typed including the needed dependancies.
I always do an ftp install and only do a base install and that is it.
#!/bin/bah
PACKAGES='bind postfix httpd'
pacman -Sy pacman
for varx in $PACKAGES
do
pacman -S $varx
done
You will have to press Y or N occasionally to say whether or not you really want to install..I'm sure there is an argument to pacman that can assume yes, but I don't offhand know what it is....
]]>I'm in the process of setting up my third arch box.
I'm running into the same trouble I ran into the first two times. This time I think I'm aware enough to describe it.
I want to choose a large number of packages for initial install. The ISO CD install recommends only installing BASE and then updating online.
I agree this is best, but the problem is that update (pacman -Su) only applies to packages that are already installed.
How do I get a large number of packages onto the system initially, without running pacman -S package-name for each and every one?
The group options (e.g. pacman -Sg) would seem to be the solution to this, but the existing groups do not include a large number of the available packages. It seems there should be groups for devel, servers or deamons, etc. Almost a group for each subdirectory in the abs tree.
Anyway, I know there's probably a way to accomplish this that I just haven't managed to stumble onto.
Thanks to all of the Archers that have helped me in the past!
This is a GREAT distro...
John E. A.
]]>