LoginSignup
1
1

More than 5 years have passed since last update.

FreeBSD/pkg

Last updated at Posted at 2015-01-04

FreeBSD インストール後に pkg でインストールするパッケージについて記載。

zsh

screen

tmux 使えって?

tmux

新年なので環境を変えますか。

~/.tmux.conf は 達人に学ぶ.tmux.confの基本設定 を参考に。screen では prefix key を C-z にしていて慣れているので、そのように修正しつつ。
````
yew00567 /home/reo% pkg search tmux
tmux-1.9a
yew00567 /home/reo% sudo pkg install tmux
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 2 packages will be affected (of 0 checked):

New packages to be INSTALLED:
tmux: 1.9a
libevent2: 2.0.21_3

The process will require 2 MB more space.
462 KB to be downloaded.

Proceed with this action? [y/N]: y
Fetching tmux-1.9a.txz: 100% 210 KB 214.9k/s 00:01
Fetching libevent2-2.0.21_3.txz: 100% 253 KB 258.6k/s 00:01
Checking integrity... done (0 conflicting)
[1/2] Installing libevent2-2.0.21_3...
[1/2] Extracting libevent2-2.0.21_3: 100%
[2/2] Installing tmux-1.9a...
[2/2] Extracting tmux-1.9a: 100%
````

vim-lite

pkg になって make.conf における WITHOUT_X11 とか WITHOUT_GUI に相当するものは何だろう、指定せずに vim を入れて X11 一式を入れられるのはいやだなと思っていたら、vim には vim-lite パッケージが用意されていて、こちらを入れると X11 一式が入らない。

yew00567 /home/reo% pkg search vim
ja-jvim-3.0.j2.1b_1
p5-Shell-EnvImporter-1.07_1
p5-Text-VimColor-0.14_2
p5-Vimana-2010.09303_3
vim-7.4.560
vim-lite-7.4.560
vimb-2.8
vimpager-1.8.9
xpi-vimperator-3.5
yew00567 /home/reo% sudo pkg install vim-lite-7.4.560
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        vim-lite: 7.4.560

The process will require 20 MB more space.
5 MB to be downloaded.

Proceed with this action? [y/N]: y
Fetching vim-lite-7.4.560.txz: 100%    5 MB 445.6k/s    00:11    
Checking integrity... done (0 conflicting)
[1/1] Installing vim-lite-7.4.560...
[1/1] Extracting vim-lite-7.4.560: 100%

rsync

atime や各種属性もそっくりそのままでコピーしたいとき、cpio 使えよーというお話もありますが、rsync に慣れてしまっていていけない。

yew00567 /home/reo% pkg search rsync
grsync-1.2.5
librsync-0.9.7_3
p5-File-DirSync-1.22_1
p5-File-Rsync-0.43_1
p5-File-RsyncP-0.70_1
rsync-3.1.1_3
rsync-bpc-3.0.9.3
rsyncbackup-1.0
rsyncmanager-1.1
rsyncrypto-1.12_1
yew00567 /home/reo% sudo pkg install rsync
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        rsync: 3.1.1_3

The process will require 557 KB more space.
283 KB to be downloaded.

Proceed with this action? [y/N]: y
Fetching rsync-3.1.1_3.txz: 100%  283 KB 289.5k/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Installing rsync-3.1.1_3...
[1/1] Extracting rsync-3.1.1_3: 100%

ezjail

コンテナ型仮想環境 jail をよりシンプルに使うためのユーティリティ ezjail。より正しい説明としては「Jail 管理フレームワーク」。複数の jail を簡単に使う手段を提供し、管理コスト、使用されるリソースを小さくしてくれる。

yew00567 /home/reo% pkg search ezjail
ezjail-3.4.1
py27-ezjailremote-0.2.2_1
py27-ploy_ezjail-1.0.0
yew00567 /home/reo% sudo pkg install ezjail
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        ezjail: 3.4.1

The process will require 116 KB more space.
42 KB to be downloaded.

Proceed with this action? [y/N]: y
Fetching ezjail-3.4.1.txz: 100%   42 KB  43.5k/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Installing ezjail-3.4.1...
[1/1] Extracting ezjail-3.4.1: 100%
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1