将来必要になるであろうと思われるファイルをインストールしておきます。
ここに記載しているのは、私が覚えているものだけですから、実際にはこれより数多くインストールしております。
実際にソフトのインストール時には、あれが無いこれが無いと言われますので、その都度入れる必要があります。

apt-get でインストールされるパッケージのダウンロード元は、/etc/apt/sources.list に書いてあります。
私の場合は、
deb http://ftp.jp.debian.org/debian etch main contrib non-free
deb http://security.debian.org etch/updates main contrib non-free
となっておりました。

[kurobox ~]# apt-get install make
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
make-doc-non-dfsg
The following NEW packages will be installed:
make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 381kB of archives.
After unpacking 1229kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main make 3.81-2 [381kB]
Fetched 381kB in 1s (194kB/s)
Selecting previously deselected package make.
(Reading database ... 16726 files and directories currently installed.)
Unpacking make (from .../archives/make_3.81-2_arm.deb) ...
Setting up make (3.81-2) ...
kurobox:~#

make が無いと言われてインストールしました。
後で考えたら、もっと開発ツールを入れるべきだと思って入れたのが下記です。
make はだぶっていますが気にしなくて良いでしょう。
結局は、bzip2が無かっただけのようです。

kurobox:~# apt-get install gcc make libc6-dev bzip2
Reading package lists... Done
Building dependency tree... Done
gcc is already the newest version.
make is already the newest version.
libc6-dev is already the newest version.
The following NEW packages will be installed:
bzip2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 268kB of archives.
After unpacking 496kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main bzip2 1.0.3-6 [268kB]
Fetched 268kB in 1s (174kB/s)
Selecting previously deselected package bzip2.
(Reading database ... 16760 files and directories currently installed.)
Unpacking bzip2 (from .../archives/bzip2_1.0.3-6_arm.deb) ...
Setting up bzip2 (1.0.3-6) ...

kurobox:~#


kurobox:~# apt-get install nkf
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
nkf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 118kB of archives.
After unpacking 239kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main nkf 2.07-1 [118kB]
Fetched 118kB in 0s (163kB/s)
Selecting previously deselected package nkf.
(Reading database ... 16793 files and directories currently installed.)
Unpacking nkf (from .../archives/nkf_2.07-1_arm.deb) ...
Setting up nkf (2.07-1) ...
kurobox:~#


kurobox:~# apt-get install xfsprogs
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
xfsdump attr dvhtool quota
The following NEW packages will be installed:
xfsprogs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1385kB of archives.
After unpacking 2986kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main xfsprogs 2.8.11-1 [1385kB]
Fetched 1385kB in 5s (240kB/s)
Selecting previously deselected package xfsprogs.
(Reading database ... 16804 files and directories currently installed.)
Unpacking xfsprogs (from .../xfsprogs_2.8.11-1_arm.deb) ...
Setting up xfsprogs (2.8.11-1) ...

kurobox:~#


kurobox:~# apt-get install sysv-rc-conf
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libcurses-perl libcurses-ui-perl libterm-readkey-perl
The following NEW packages will be installed:
libcurses-perl libcurses-ui-perl libterm-readkey-perl sysv-rc-conf
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 405kB of archives.
After unpacking 1426kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org etch/main libcurses-perl 1.13-1 [107kB]
Get:2 http://ftp.jp.debian.org etch/main libterm-readkey-perl 2.30-3 [31.3kB]
Get:3 http://ftp.jp.debian.org etch/main libcurses-ui-perl 0.95-5 [242kB]
Get:4 http://ftp.jp.debian.org etch/main sysv-rc-conf 0.99-5 [23.9kB]
Fetched 405kB in 2s (145kB/s)
Selecting previously deselected package libcurses-perl.
(Reading database ... 10795 files and directories currently installed.)
Unpacking libcurses-perl (from .../libcurses-perl_1.13-1_arm.deb) ...
Selecting previously deselected package libterm-readkey-perl.
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-3_arm.deb) ...
Selecting previously deselected package libcurses-ui-perl.
Unpacking libcurses-ui-perl (from .../libcurses-ui-perl_0.95-5_all.deb) ...
Selecting previously deselected package sysv-rc-conf.
Unpacking sysv-rc-conf (from .../sysv-rc-conf_0.99-5_all.deb) ...
Setting up libcurses-perl (1.13-1) ...
Setting up libterm-readkey-perl (2.30-3) ...
Setting up libcurses-ui-perl (0.95-5) ...
Setting up sysv-rc-conf (0.99-5) ...
meckk:~#


kurobox:~# apt-get install mailx
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light liblockfile1
Suggested packages:
mail-reader eximon4 exim4-doc-html exim4-doc-info gnutls-bin openssl
libmail-spf-query-perl
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light liblockfile1 mailx
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 1865kB of archives.
After unpacking 4063kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org etch/main exim4-config 4.63-17 [334kB]
Get:2 http://ftp.jp.debian.org etch/main exim4-base 4.63-17 [936kB]
Get:3 http://ftp.jp.debian.org etch/main exim4-daemon-light 4.63-17 [423kB]
Get:4 http://ftp.jp.debian.org etch/main exim4 4.63-17 [2080B]
Get:5 http://ftp.jp.debian.org etch/main liblockfile1 1.06.1 [14.1kB]
Get:6 http://ftp.jp.debian.org etch/main mailx 1:8.1.2-0.20050715cvs-1 [156kB]
Fetched 1865kB in 7s (244kB/s)
Preconfiguring packages ...
Selecting previously deselected package exim4-config.
(Reading database ... 17374 files and directories currently installed.)
Unpacking exim4-config (from .../exim4-config_4.63-17_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.63-17_arm.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.63-17_arm.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.63-17_all.deb) ...
Selecting previously deselected package liblockfile1.
Unpacking liblockfile1 (from .../liblockfile1_1.06.1_arm.deb) ...
Selecting previously deselected package mailx.
Unpacking mailx (from .../mailx_1%3a8.1.2-0.20050715cvs-1_arm.deb) ...
Setting up exim4-config (4.63-17) ...
Adding system-user for exim (v4)

Setting up exim4-base (4.63-17) ...

Setting up exim4-daemon-light (4.63-17) ...
Starting MTA: exim4.

Setting up exim4 (4.63-17) ...

Setting up liblockfile1 (1.06.1) ...
Setting up mailx (8.1.2-0.20050715cvs-1) ...

kurobox:~#



kurobox:~# apt-get install patch
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
diff-doc
The following NEW packages will be installed:
patch
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 101kB of archives.
After unpacking 197kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main patch 2.5.9-4 [101kB]
Fetched 101kB in 0s (124kB/s)
Selecting previously deselected package patch.
(Reading database ... 18141 files and directories currently installed.)
Unpacking patch (from .../archives/patch_2.5.9-4_arm.deb) ...
Setting up patch (2.5.9-4) ...
kurobox:~#


kurobox:~# apt-get install procmail 
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
procmail
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 142kB of archives.
After unpacking 262kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main procmail 3.22-16 [142kB]
Fetched 142kB in 1s (139kB/s)
Selecting previously deselected package procmail.
(Reading database ... 15317 files and directories currently installed.)
Unpacking procmail (from .../procmail_3.22-16_arm.deb) ...
Setting up procmail (3.22-16) ...
kurobox:~#


kurobox:~# apt-get install dpkg-dev 
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
debian-keyring
The following NEW packages will be installed:
dpkg-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 165kB of archives.
After unpacking 700kB of additional disk space will be used.
Get:1 http://ftp.jp.debian.org etch/main dpkg-dev 1.13.26 [165kB]
Fetched 165kB in 1s (112kB/s)
Selecting previously deselected package dpkg-dev.
(Reading database ... 15837 files and directories currently installed.)
Unpacking dpkg-dev (from .../dpkg-dev_1.13.26_all.deb) ...
Setting up dpkg-dev (1.13.26) ...
kurobox:~#

kurobox:~# apt-get install alien
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
debhelper file gettext gettext-base html2text intltool-debian libbeecrypt6 libneon25
librpm4 po-debconf rpm
Suggested packages:
lsb-rpm lintian dh-make cvs gettext-doc
Recommended packages:
libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
alien debhelper file gettext gettext-base html2text intltool-debian libbeecrypt6
libneon25 librpm4 po-debconf rpm
0 upgraded, 12 newly installed, 0 to remove and 2 not upgraded.
Need to get 5213kB of archives.
After unpacking 16.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.jp.debian.org etch/main file 4.17-5etch3 [32.2kB]
Get:2 http://ftp.jp.debian.org etch/main gettext-base 0.16.1-1 [121kB]
Get:3 http://ftp.jp.debian.org etch/main html2text 1.3.2a-3 [109kB]
Get:4 http://ftp.jp.debian.org etch/main gettext 0.16.1-1 [2180kB]
Get:5 http://ftp.jp.debian.org etch/main intltool-debian 0.35.0+20060710.1 [30.8kB]
Get:6 http://ftp.jp.debian.org etch/main po-debconf 1.0.8 [111kB]
Get:7 http://ftp.jp.debian.org etch/main debhelper 5.0.42 [510kB]
Get:8 http://ftp.jp.debian.org etch/main libbeecrypt6 4.1.2-6 [144kB]
Get:9 http://ftp.jp.debian.org etch/main libneon25 0.25.5.dfsg-6 [96.5kB]
Get:10 http://ftp.jp.debian.org etch/main librpm4 4.4.1-13 [947kB]
Get:11 http://ftp.jp.debian.org etch/main rpm 4.4.1-13 [828kB]
Get:12 http://ftp.jp.debian.org etch/main alien 8.64 [104kB]
Fetched 5213kB in 23s (218kB/s)
Selecting previously deselected package file.
(Reading database ... 17626 files and directories currently installed.)
Unpacking file (from .../file_4.17-5etch3_arm.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.16.1-1_arm.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_arm.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-1_arm.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.8_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.42_all.deb) ...
Selecting previously deselected package libbeecrypt6.
Unpacking libbeecrypt6 (from .../libbeecrypt6_4.1.2-6_arm.deb) ...
Selecting previously deselected package libneon25.
Unpacking libneon25 (from .../libneon25_0.25.5.dfsg-6_arm.deb) ...
Selecting previously deselected package librpm4.
Unpacking librpm4 (from .../librpm4_4.4.1-13_arm.deb) ...
Selecting previously deselected package rpm.
Unpacking rpm (from .../archives/rpm_4.4.1-13_arm.deb) ...
Selecting previously deselected package alien.
Unpacking alien (from .../archives/alien_8.64_all.deb) ...
Setting up file (4.17-5etch3) ...
Setting up gettext-base (0.16.1-1) ...

Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.16.1-1) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.8) ...
Setting up debhelper (5.0.42) ...
Setting up libbeecrypt6 (4.1.2-6) ...

Setting up libneon25 (0.25.5.dfsg-6) ...

Setting up librpm4 (4.4.1-13) ...

Setting up rpm (4.4.1-13) ...

Setting up alien (8.64) ...
kurobox:~#

debian でルートになれるグループの設定は、/etc/pam.d/su で行います。
ファイル内の、
auth required pam_wheel.so group=foo
のようにすれば、グループ「foo」に属しているユーザしか、suできません。nobodyをこのグループに追加するか、この設定自体をコメントアウトすればよいようです。

ちなみにコメントアウトした状態では、(auth required pam_wheel.so use_uid)wheel グループのみがルートになれます。
特定のユーザーをwheelグループにするには、usermod -G wheel fedora (ユーザーfedora)のようにします。

[戻る] [TOP] [次へ]