2013년 7월 3일 수요일

Cygwin+KDE 쉽게 설치하기

http://ptweber.home.comcast.net/kde/
출처는 위의 링크이고, 전문을 인용합니다.
(아직 설치해 보지 않았습니다. KDE는 3.1.4이겠군요, 뒷북인가요?)

Quote:
How to install KDE on Cygwin.
By: Patrick Weber





First off. Make sure that there are no remnants of KDE or Cygwin on your system when you first start this process. Delete your cygwin directory and these registry keys:

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

Then begin this:

How to install KDE on Cygwin
Ok. Installing Cygwin with KDE.

Here is how to do it:

Go and download this file first:
http://cygwin.com/setup.exe

Installation:
When the Cygwin Setup starts, click next.
Choose “Install from Internet”
Click Next
Make your root Directory “C:\Cygwin”
Install for All Users
Default Text File Type: UNIX
Click Next
Local Package Directory “C:\Cygwin\DownloadedFiles”
Direct Connection
For the mirrors I went through ftp://mirrors.umbc.edu
It will download the setup.bz2 file

Selecting Packages:
First, Go to the upper right hand corner and click on the “View” button until the words next to it say “Full”

Then scroll down and click where it says “Skip” to change the value of it and then make sure that the box is checked next to it.

Do that for these packages:

bzip2
cygipc
freetype2
libjpeg
libpng12
libxslt
libxml2
openssl
openssl096
pcre
perl
tiff
XFree86-base
Rebase
cygutils
ghostscript-x11
xfig
xfig-bin
xfig-doc
xfic-etc
xfig-lib
xfig-man
XFree86-bin
XFree86-bin-icons
XFree86-etc
XFree86-doc
XFree86-f100
XFree86-fcyr
XFree86-fenc
XFree86-fnts
XFree86-fscl
XFree86-fsrv
XFree86-html
XFree86-jdoc
XFree86-lib
XFree86-lib-compat
XFree86-man
XFree86-nest
XFree86-prog
XFree86-prt
XFree86-ps
XFree86-startup-scripts
XFree86-vfb
XFree86-xserv
XFree86-xwinclip
Xinetd

Then start the install. When the install completes create your icons.

Then open up your Cygwin Shell (BASH)

Open up your internet browser and download these files:
http://osdn.dl.sourceforge.net/sourceforge/kde-cygwin/kdelibs-3.1.4-3-gc...

http://osdn.dl.sourceforge.net/sourceforge/kde-cygwin/kdebase-3.1.4-1-gc...

http://osdn.dl.sourceforge.net/sourceforge/kde-cygwin/qt-3.2.3-3-gcc3.ta...

Save all those files to you “C:\Cygwin\tmp” directory.

Once they are all in the \tmp\ directory, do these commands in order

Cd /tmp
tar –C / -xjf qt-3.2.3-3-gcc3.tar.bz2
tar –C / -xjf kdelibs-3.1.4-3-gcc3.tar.bz2
tar -C / -xjf kdebase-3.1.4-1-gcc3.tar.bz2

Once that is all finished start a new search inside of your Cygwin Root directory.

Search for the file “.bashrc”. It should turn up 5 files. Edit each of those files and add this to them:

#----------------------------------------
# KDE 3.1.4
#----------------------------------------
export KDEDIR=/opt/kde3
export QTDIR=/opt/qt3
export KDEHOME=$HOME/.kde31
export PATH=$KDEDIR/bin:$KDEDIR/lib:$QTDIR/bin:/usr/X11R6/bin:$PATH
export LTDL_LIBRARY_PATH=$KDEDIR/lib:$KDEDIR/bin:/usr/X11R6/bin
export LD_LIBRARY_PATH=$KDEDIR/lib:$KDEDIR/bin:/usr/X11R6/bin
export DISPLAY=127.0.0.1:0

Close all of your bash shells.

Open up Task manager and make sure that no more bash shells are running in the background.

Then open up one new bash shell and run this command:

Rebaseall –v

Once that has finished, run this:

Startx

Then KDE will start running in its own window.

If you get an error with the rebaseall command where it cannot be found, please make sure that you installed it. If you didn’t, please reinstall it.

There are a few other commands also. If you run StartX again with these flags you can get it to do a couple of things:

-rootless
-multiwindow

ie: "StartX -rootless &"
ie: "StartX -multiwindow &"

What these will do is:
1. The Rootless tag will run KDE without a window border and it will run in Full Screen.
2. The multiwindow command will run it in each of their own windows.

Once the multiwindow command has been entered and run. just type in "konqueror &" in your bash command terminal and you can have konqueror running in its own window like Firefox or IE!

To start KDE in the future after this whole process has been done just run:

startx

the rebaseall command is a run one time only command. It only needs to be done when you first install it.

If you got any questions please ask me.

출처 : http://kldp.org/node/44452

댓글 없음:

댓글 쓰기