KDE3.1のインストール
Windowmaker はテーマを持ち、メニューを持ち、日本語化もでき、軽く、あのドックアプリを広めるのに貢献したXウィンドウマネージャだ。
しかし、
Windowmakerに少し飽きてきた+KDE3.1がリリースされた+スケスケ(透過)メニューに憧れていた
ということで、debianパッケージを利用して楽にKDEへ移行してみたいと思ったわけだ。
管理者権限でインストール作業をするため、suコマンドでrootになる。
(sudoコマンドを使ってもよいかと。)
まず、 /etc/apt/sources.list に以下を書き加える。
# for kde ver.3.1
deb http://download.kde.org/stable/3.1/Debian stable main
|
そうしたら、このKDE本家のdebianパッケージ置場(?)を apt line に加えるため以下のコマンドを叩く。
これで
apt-get install kde のようなコマンドで kde を入れられるのかと思いきや、
root@jaga[/etc/apt]# apt-get install kde
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
Sorry, but the following packages have unmet dependencies:
kde: Depends: kdelibs3 but it is not going to be installed
Depends: libkmid or
libkmid-alsa but it is not going to be installed or
libkmid-bin but it is not installable
Depends: kdebase but it is not going to be installed or
kdebase3 but it is not installable
Depends: kdebase-audiolibs but it is not going to be installed or
kdebase3-audiolibs but it is not installable
Depends: kdebase-libs but it is not going to be installed or
kdebase3-libs but it is not installable
Depends: libkonq3 but it is not going to be installed or
libkonq4 but it is not going to be installed
Depends: konqueror but it is not going to be installed or
konqueror3 but it is not installable
Depends: kate but it is not going to be installed or
kate3 but it is not installable
Depends: konsole but it is not going to be installed or
konsole3 but it is not installable
Depends: kdebase-doc but it is not going to be installed or
kdebase3-doc but it is not installable
Depends: kscreensaver but it is not going to be installed or
kscreensaver3 but it is not installable
Depends: kuser but it is not going to be installed
Depends: ksysv but it is not going to be installed
Depends: kcron but it is not going to be installed
Depends: kpackage but it is not going to be installed
Depends: secpolicy but it is not going to be installed
Depends: kghostview but it is not going to be installed
Depends: kview but it is not going to be installed
Depends: kmail but it is not going to be installed
Depends: korn but it is not going to be installed
Depends: ark but it is not going to be installed
Depends: kab but it is not going to be installed
Depends: karm but it is not going to be installed
Depends: kcalc but it is not going to be installed
Depends: kcharselect but it is not going to be installed
Depends: kdepasswd but it is not going to be installed
Depends: kdf but it is not going to be installed
Depends: kedit but it is not going to be installed
Depends: kfind but it is not going to be installed
Depends: khexedit but it is not going to be installed
Depends: kjots but it is not going to be installed
Depends: knotes but it is not going to be installed
Depends: kpm but it is not going to be installed
Depends: kpaint but it is not going to be installed
Depends: kiconedit but it is not going to be installed
Depends: kfract but it is not going to be installed
Depends: ksnapshot but it is not going to be installed
Depends: kruler but it is not going to be installed
Depends: kdict but it is not going to be installed
Depends: kit but it is not going to be installed
Depends: knode but it is not going to be installed
Depends: ksirc but it is not going to be installed
Depends: koffice but it is not going to be installed
Depends: knewsticker but it is not going to be installed
Depends: ktimer but it is not going to be installed
Depends: kcoloredit but it is not going to be installed
E: Sorry, broken packages
|
激しくエラー・・・・。
エラー出力を睨みつつ、依存関係を満たすようにこんなコマンド(長いけど1行)を打ってみるも・・・
root@jaga[/etc/apt]# apt-get install kde kdelibs3 libkmid-alsa kdebase3 kdebase3-audiolibs kdebase3-libs libkonq3 konqueror3 kate3 konsole3 kdebase3-doc kscreensaver3 kuser ksysv kcron kpackage secpolicy kghostview kview kmail korn ark kab karm kcalc kcharselect kdepasswd kdf kedit kfind khexedit kjots knotes kpm kpaint kiconedit kfract ksnapshot kruler kdict kit knode ksirc koffice knewsticker ktimer kcoloredit kde-i18n-ja
|
上のコマンドに対する出力。
Reading Package Lists... Done
Building Dependency Tree... Done
Package kdebase3 has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
W: Couldn't stat source package list file: stable/non-free Packages (/var/lib/apt/lists/_cdrom_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list file: stable/non-free Packages (/var/lib/apt/lists/_cdrom_dists_stable_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package kdebase3 has no installation candidate
|
やっぱり・・・。
結局エラーメッセージに振り回され撃沈。
どうやるんだ、インストール?
やっぱり改めてネットで方法を調べるか、と思い直し、
Xttp://davidpashley.com/debian-kde/faq.html
こんな資料あるやんか。
結局以下のコマンドでOKらしい。
root@jaga[/etc/apt]# apt-get install arts kdelibs kdebase kdenetwork kdepim kdegraphics kdeadmin kdemultimedia
|
でも依存関係により、
wine
(窓エミュレータ)が消されてしまった。
あとついでに、
# apt-get install kde-i18n-ja
|
とかもやったら、rootでの作業は終わり。
root から 「KDEを使うユーザ」に戻ったら、さっそく startkde コマンドを打つ。
と思ったら Windowmaker を起動したままだった。
まあとりあえずそのままで 操作や挙動、GUIの設定を行う。
最後に、xdm ログイン時に Windowmaker ではなく、kde が上がるように設定する。
startkde の PATH を調べてから、~/.xsessionを書き換える。
~/.xsession ファイルの骨子は以下のようしてある。
WINDOW_MANAGER=/usr/bin/startkde
export WINDOW_MANAGER
kinput2-canna-wnn -jserver localhost &
LANG=ja_JP.eucJP
export LANG
PATH=$HOME/bin:$PATH
if [ -x "$WINDOW_MANAGER" ]; then
realstartup=$WINDOW_MANAGER
elif [ -x /usr/bin/x-session-manager ]; then
realstartup=x-session-manager
elif [ -x /usr/bin/x-window-manager ]; then
realstartup=x-window-manager
elif [ -x /usr/bin/x-terminal-emulator ]; then
realstartup=x-terminal-emulator
fi
exec $realstartup
|
これでめでたく xdm からログインすると KDE が上がるようになった。
ひとりスクリーンショット自慢大会
- 全体図(420KB)
メニューが透けてるよ(; ´Д`)ハァハァ
- Konqueror(86KB)
画像・動画ファイル、テキストデータとわかるものを勝手に展開表示するファイラ。
ファイラだけでなく、webブラウザにもなる。
KDE附属のソフト(概して、k から始まる名称が多い)はかなり重い・・・。