| | FREEBSD | | | | | Documentation: /usr/share/doc
Running sysinstall /stand/sysinstall
Install ports: Go to the directory /usr/ports/ and find the package you wish to install. Enter that directory and issue the command: make && make install | | | | | |  | | Update ports /usr/local/bin/cvsup -g -L 2 /root/cvsup/ports-supfile
[NB. can to look to /usr/ports/UPDATING to see what will be affected and how.]
portsdb -Uu portversion -l "<" [to see if any ports will be upgraded] portupgrade -arR [so dependencies will be installed, if necessary] [NB. If you're ever asked to run pkgdb -F , do it]
[More information at: ]  Update System Create 3 files per http://www.bugman.cx/cvsup/ Once edited per your requirements, then:
o update from cvs # cd /usr/src # make update o build world/kernel in your normal or single-user mode # cd /usr/obj # rm -rf * # cd /usr/src # make buildworld # make buildkernel KERNCONF=YOURKERNEL o install kernel/world in single user mode # reboot # go to loader prompt and type: boot -s # when at promt type: mount -a # cd /usr/src # make installkernel KERNCONF=YOURKERNEL # make installworld o run mergemaster -p # mergemaster -p o reboot # reboot Old method to update system go to directory /usr/local/etc/cvsup do the following command: /usr/local/bin/cvsup -g -L 2 stable-supfile once finished, then go to /usr/src enter the commands: make buildworld KERNCONF=yourkernelname (for name, look to config file found in /usr/src/sys/i386/conf/) make buildkernel KERNCONF=yourkernelname (look to / ) make installkernel KERNCONF=yourkernelname reboot You should boot in single user mode (using boot -s from loader prompt for example). Then continue with: mergemaster -p go to /usr/src and type: make installworld mergemaster update /dev (for 4.x only) reboot |