Results 1 to 3 of 3
Some months ago I wrote a script to ease configuring a fresh FreeBSD install and it contained among others the following lines:
Code:
# installing gnome
pkg_add -r gnome2
cd ...
- 08-12-2007 #1Linux User
- Join Date
- Dec 2004
- Posts
- 323
Botchy script?
Some months ago I wrote a script to ease configuring a fresh FreeBSD install and it contained among others the following lines:
From what I know now about ports and packages, this is a superfluous solution, isn't it? I am inclined to have instead:Code:# installing gnome pkg_add -r gnome2 cd /usr/ports/x11/gnome2 make clean make install clean
May I assume that running make clean and make install clean in sequence is generally a good idea to save on disk space?Code:# installing gnome cd /usr/ports/x11/gnome2 make clean make install clean
Last edited by technossomy; 08-12-2007 at 11:56 AM. Reason: Added question.
- 08-13-2007 #2It appears that you're first installing the package and then attempting to install the port (which should build but then fail at install time).
Originally Posted by technossomy
Or just install the package (your choice). The larger DEs take quite a long time to install from ports, depending on your box's horsepower.
Originally Posted by technossomy
The first make clean doesn't hurt. It recursively cleans up cruft from the port's last build. The make install clean is a standard way to install a port (without a third-party utility). For a handy third-party utility, check out
Originally Posted by technossomy
/usr/ports/ports-mgmt/portmaster.
See the manpages for ports(7). This contains a good summary about how the make targets work.
- 08-13-2007 #3Linux User
- Join Date
- Dec 2004
- Posts
- 323
Thanks for the response.


Reply With Quote
