Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| freebsd [2011/08/31 09:49] – [upgrading packages] admin | freebsd [2011/09/11 07:50] (current) – [Avoiding ports] admin | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| A FreeBSD system is composed of: | A FreeBSD system is composed of: | ||
| - | * The base system, consisting of the kernel plus world (the OS files in /usr/src), updated with csup. | + | * The base system, consisting of the kernel plus world (the userland |
| * User installed applications, | * User installed applications, | ||
| ====== FreeBSD update ====== | ====== FreeBSD update ====== | ||
| Line 48: | Line 48: | ||
| pkg_deinstall paket* or pkg_delete paket | pkg_deinstall paket* or pkg_delete paket | ||
| - | - list of installed packages | + | * Unordered List Itemlist |
| pkg_info | pkg_info | ||
| - | - list outdated ports | + | * list outdated ports |
| pkg_version -v | pkg_version -v | ||
| - | - list unused ports | + | * list unused ports |
| pkg_cutleaves | pkg_cutleaves | ||
| - | - find out to which port an application belongs | + | * find out to which port an application belongs |
| pkg_which pkgdb | pkg_which pkgdb | ||
| pkg_which -v kde* | pkg_which -v kde* | ||
| Line 72: | Line 76: | ||
| 2. the utility supports minor and major release upgrades. | 2. the utility supports minor and major release upgrades. | ||
| freebsd-update -r 8.2-RELEASE upgrade | freebsd-update -r 8.2-RELEASE upgrade | ||
| + | See [[http:// | ||
| ===== upgrading packages ===== | ===== upgrading packages ===== | ||
| Line 94: | Line 98: | ||
| ==== Avoiding ports ==== | ==== Avoiding ports ==== | ||
| - | If you have a machine with low resources like e.g. in a VM, or do not want to wait for port compilations, | + | If you have a machine with low resources like e.g. running |
| - | * Base system with 8.1 RELEASE, kept up-to-date with freebsd-update. | + | * Base system with 8.2-RELEASE, kept up-to-date with freebsd-update |
| - | * Packages for RELEASE are never updated, so I install packages from the stable prebuilt package collection from ftp:// | + | * Keep your ports tree updated |
| + | * Set .profile environment variable PACKAGESITE for 8-STABLE to ftp:// | ||
| + | * Install packages using portupgrade -vaRrPP so that portupgrade tries to find the package version given by the updated ports tree and stops when the package is not available | ||