Quote:
|
Originally Posted by technossomy Code: # installing gnome
pkg_add -r gnome2
cd /usr/ports/x11/gnome2
make clean
make install clean
From what I know now about ports and packages, this is a superfluous solution, isn't it? |
It appears that you're first installing the package and then attempting to install the port (which should build but then fail at install time).
Quote:
|
Originally Posted by technossomy I am inclined to have instead: Code: # installing gnome
cd /usr/ports/x11/gnome2
make clean
make install clean
|
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.
Quote:
|
Originally Posted by technossomy May I assume that running make clean and make install clean in sequence is generally a good idea to save on disk space? |
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
/usr/ports/ports-mgmt/portmaster.
See the manpages for
ports(7). This contains a good summary about how the make targets work.