Install via Port
October 30, 2008 Posted by KP
A visitor followed a post to install AwStats, this post is three years old, it’s absolutely not recommended. Ports are changing very quickly. Even if the program itself doesn’t change much, the post-installation configuration has very probably changed many times.
I would install a program via port like this:
1. Find the port with whereis command, or make search under /usr/ports/ if you don’t know the exact name, this is very common with version number in the name. Sometimes, browsing the ports directory is a good way as well.
2. Read Makefile.conf. Some programs will popup an option Window, but many don’t such as Emacs.
3. Read the screen output, import information is usually printed at the end. If you use make install clean, at least you can see a list of installed ports.
4. If the program should be started at boot time, it may put a script under /usr/local/etc/rc.d/, read the script, you may have to modify /etc/rc.conf.
5. If the program has a page on FreeBSD Handbook, read it. The handbook seems quite up-to-date. It also has some official tips
.
This is not a guide, just some random thoughts on the visitor’s comment.
Related Posts:
- Screen Command
- Install Awstats on FreeBSD
- I Love FreeBSD!
- Change FTP Port
- Install ProFTPD
- Change sshd Port
- Crazy Emacs Installation
- Install a Proxy Server – Privoxy
Filed Under: Ports