From 47d90d23a26d136d64b3f71ac3e91303f613ae7a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 25 Sep 2009 14:26:45 -0700 Subject: bulk package pkg_add-ing plus syntax fixes --- software/debian | 4 ++-- software/freebsd-packages | 13 ++++++++++++- software/freebsd-tricks | 4 ++-- software/server-setup | 4 ++-- software/unix-tricks | 4 ++-- 5 files changed, 20 insertions(+), 9 deletions(-) diff --git a/software/debian b/software/debian index 88806df..3cb7638 100644 --- a/software/debian +++ b/software/debian @@ -2,8 +2,8 @@ Debian Linux =========================== -**See also `freebsd `__ and -`unix `__ tricks.** +**See also `freebsd `_ and +`unix `_ tricks.** Some gotchas from installing debian a few times: diff --git a/software/freebsd-packages b/software/freebsd-packages index e61ce02..c58bea4 100644 --- a/software/freebsd-packages +++ b/software/freebsd-packages @@ -49,4 +49,15 @@ The following are large and/or "optional":: The following are added by download:: java ("Diablo Latte" jdk from FreeBSD Foundation) - + +Bulk Installation +----------------- + +``pkg_add`` will fail with a ``getcwd`` error if you try to install many +packages with the same command. Instead, once you have ``bash`` installed, +you want to do something like:: + + $ for i in `echo vim screen python blah blah blah`; do pkg_add -r $i; done + +Note that with many packages it's almost impossible to avoid installing X +windows; I think there's a flag for this somewhere. diff --git a/software/freebsd-tricks b/software/freebsd-tricks index cce7086..3db7d3a 100644 --- a/software/freebsd-tricks +++ b/software/freebsd-tricks @@ -2,8 +2,8 @@ FreeBSD Tricks ===================================== -**See also `unix `__ and -`debian `__ tricks.** +**See also `unix `_ and +`debian `_ tricks.** Set User Shell ----------------------- diff --git a/software/server-setup b/software/server-setup index f98fd99..58b419b 100644 --- a/software/server-setup +++ b/software/server-setup @@ -2,8 +2,8 @@ Generic Server Setup Tricks ========================================= -See also `debian `__ and -`freebsd tricks `__. +See also `debian `_ and +`freebsd tricks `_. bind ------------- diff --git a/software/unix-tricks b/software/unix-tricks index 17479f7..8cc8ebe 100644 --- a/software/unix-tricks +++ b/software/unix-tricks @@ -1,8 +1,8 @@ ===================================== UNIX Tricks ===================================== -**See also `freebsd `__ and -`debian `__ tricks.** +**See also `freebsd `_ and +`debian `_ tricks.** Fork many processes with `xargs` ----------------------------------- -- cgit v1.2.3