2019/08/26(月)NetBSD8.1 インストール後のあれこれ
前回設定した .profile .exrc は次の通り。
~/.profile に追記した内容。
export TMOUT=3000 export HISTSIZE=1000000 export HISTFILE=$HOME/.history~/.exrc を作成し記入した内容。
"" nvi Option set autoindent set autowrite set flash set list set number set ruler set shiftwidth=4 set showmatch
パッケージ管理システムとして pkgin コマンドがある。
このコマンドは、apt や yum のコマンドのように使える。
# pkgin update # pkgin upgrade省略でコマンドが入力できるのでそちらを使ってもいい。
# pkgin Usage: pkgin [-cdfFhlnPtvVy] command [package ...] Commands and shortcuts: list (ls ) - List installed local packages avail (av ) - List all available remote packages search (se ) - Search for a remote package install (in ) - Install or upgrade packages update (up ) - Refresh local and remote package lists upgrade (ug ) - Upgrade only packages marked with the keep flag full-upgrade (fug ) - Upgrade all packages remove (rm ) - Remove packages and any dependent packages keep (ke ) - Mark packages that should be kept unkeep (uk ) - Mark packages that can be autoremoved export (ex ) - Display PKGPATH for all keep packages import (im ) - Import keep package list from file show-keep (sk ) - Display keep packages show-no-keep (snk ) - Display autoremovable packages autoremove (ar ) - Remove orphaned dependencies clean (cl ) - Remove downloaded package files show-deps (sd ) - List remote package direct dependencies show-full-deps (sfd ) - List remote package full dependencies show-rev-deps (srd ) - List local package reverse dependencies provides (prov) - Show which shared libraries a package provides requires (req ) - Show which shared libraries a package requires show-category (sc ) - List all packages belonging to a category show-pkg-category (spc ) - Show categories a package belongs to show-all-categories (sac ) - List all known categories pkg-content (pc ) - Show remote package content pkg-descr (pd ) - Show remote package long-description pkg-build-defs (pbd ) - Show remote package build definitions stats (st ) - Show local and remote package statistics
The NetBSD Guide http://www.netbsd.org/docs/guide/en/index.html