Completely Noob On FreeBSD? Here :)

Quickly create a (backup) package for an installed port$ pkg_create -xb amsn

$ pkg_info | grep amsncan be replaced by$ pkg_info -xI amsnit's more fast
 
There is `pkgdb -F` in your manual, but nothing said about portupgrade (pkgdb is part of it)
 
Sometimes if a dependency is missing and run pkgdb -F ask me if I want to install it. After that, tells: Fixed. I was not sure but I add it for any case. Remove it?
 
Code:
cd /usr/ports
make search name=the pkg you want
What if ports doesn't exist? This command will fail.

Code:
sudo cp /usr/share/examples/cvsup/ports-supfile /etc/ports-supfile

edit /etc/ports-supfile and change the host, i.e.:
Code:
*default host=cvsup.uk.FreeBSD.org
Then run:
Code:
csup -L2 /etc/ports-supfile
to download your ports.

Probably it's required to add to /etc/make.conf following line:
Code:
PORTSSUPFILE=/etc/ports-supfile
to be able to do: make search in /usr/ports.

Or maybe it's required only when you want to do: make update

But probably as you mentioned portsnap is the easier way.
---
whereis, and locate is nice as well
---
Code:
pkg_add -rv portupgrade && rehash
Then you have access to following commands:
Just: portinstall amsn
It's easier?
Than:
Code:
cd /usr/ports/net-im/amsn
make install clean
make clean
etc.
---
 
Back
Top