LaTeX forum ⇒ KileKile under Windows ! GREAT THING !

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
CHuber
Posts: 4
Joined: Thu May 29, 2008 12:15 pm

Kile under Windows ! GREAT THING !

Postby CHuber » Thu May 29, 2008 12:22 pm

Hello there!

Yesterday (after a loooooooooong search) I finaly found a way to operate Kile sucessfully under Windows. And it is damn simple. All you have to do is to install "andLinux" and after that you can simply compile for example Kile 2.0.1 for your andLinux-System. So far I have installed:

1) andLinux (http://www.andlinux.org/)
2) Kile 2.0.1 (http://kile.sourceforge.net/)
3) TexLIVE 2007 (http://www.tug.org/texlive/)
4) mpm (Miktex Package Manager for Linux) (http://miktex.org/unx/Default.aspx)

And that all fully integrated into my windows system without any virtualisation. Absolutely amazing! The installation process is VERY simple. Only for compiling kile you have to install some more packages with the synaptic package manager (delivered with andLinux). There is a good README with advices how to compile Kile 2.0.1 in the downloadable packed source code of kile.

Here are some more tips about the installation of andLinux:
http://wiki.ubuntuusers.de/andLinux

And here some links regarding to Miktex Package Manager for Linux:
http://miktex.org/unx/Default.aspx
http://blog.miktex.org/post/2005/08/mpmunix.aspx

So, have fun !

Greetings,
Chris

User avatar
T3.
Posts: 208
Joined: Fri Mar 14, 2008 12:58 pm

Postby T3. » Thu May 29, 2008 7:24 pm

Brilliant! Thanks for sharing.

Can you comment on stability of andLinux? I would like to intall it on my production system but I'm a little bit afraid to mess things up since andLinux is still in beta and it hooks rather deeply into the system.

Also, how resource hungry (in terms of RAM) is it? I have a 2GB machine but I tend to have so many apps open at any one time that even this is not enough.

Cheers,

Tomek

CHuber
Posts: 4
Joined: Thu May 29, 2008 12:15 pm

Postby CHuber » Fri May 30, 2008 12:25 am

Hello T3,

after installing all the programs mentioned below I have to say that andLINUX Beta1 is absolutely stable and also very fast. I also had doubts installing it on my productive system (32bit, single core by the way) but I was looking for a possibility to run KILE under Windows for nearly a year now. So there was no question, I had to try it 8-) . And it's really worth to install ist. Amazing, Kile for Windows... you can have your files in the shared WindowsDirectory or Drive and work just hand in hand with Windows and Kile. Even Copy & Paste is possible (Windows>Linux and back). You can also alter the file associations in windows, so tex files open automatically in kile after a doubleclick in the windows explorer. It's absolutely amazing. I never thought that this will be possible one day :o

So, here is my advice: GET IT :lol:

You can choose to allow the application (andLINUX) using up to 1 Gig of RAM. But 256 or 386 MB is absolutely enough for a latex system. I have chosen 386MB of RAM and it is far enough.

By the way, sorry for my bad english :)
I tried to write a step-by-step advice down. Maybe you can use it. There was some trial-and-error until i got that all. So hopfully you don't need to "try" with this list :)

How to setup a Latex System with Kile 2.0.1 and andLINUX + Miktex Packet Manager
*******************************************************************************

01) Install andLINUX Beta 1
02) Resize the base.drv with toporesize and WITHOUT the resize2fs Optionen to ~7000 MB [check the box infront of the option] (you find the zip file with toporesize in the andLinux Install Directory.
03) In Command Line editor run: resize -f base.drv 1700000
You get a new disk with ~6GB to use in andLINUX

04) copy the texlive ISO in your home (Installing does not work from shared folders, it displayes error messages at the end)
05) create directory /mnt/TL07
06) mount the iso in the home directory with: mount -t iso9660 -o loop,ro /path/image.iso /mnt/TL07
07) Install Texlive (FULL SCHEME) with: ./install-tl.sh
08) Edit the ".profile" file in your home directory to something like this:

# ~/.profile: executed by Bourne-compatible login shells.

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
export PATH
PATH=$PATH:/usr/local/texlive/2007/bin/i386-linux
export PATH
MANPATH=$MANPATH:/usr/local/texlive/2007/texmf/doc/man
export MANPATH
INFOPATH=$INFOPATH:/usr/local/texlive/2007/texmf/doc/info
export INFOPATH



mesg n

09) copy Miktex tools in your home directory + unpack it (don't unpack it in windows, double click on it in the konqueror)
10) compile it (several packages have to be installed bevore, ...read readme and watch out for error messages)
compile running this command: cmake -G "Unix Makefiles" -DMIKTEX_INSTALLROOT=/usr/share/texmf
11) run this command: sudo ldconfig
12) run this command: initexmf -u
13) run this command: sudo mpm --update-db
14) Look here on how to use miktex package manager: http://blog.miktex.org/post/2005/08/mpmunix.aspx
Don't forget to run "texhash" command after every package installation

15) copy Kile in your home directory + unpack it (again, ..unpack it directly in andLINUX not with windows)
16) compile it (several packages have to be installed bevore, ...read readme and watch out for error messages)
here is the compile command: ./configure --prefix=/usr --with-qt-dir=/usr/lib/qt3
17) run this command: make
18) run this command: make install

19) run this command: wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
20) Add the following repositories in the synaptics package manager
1.Box enter: http://packages.medibuntu.org/
2.Box enter: gutsy
3.Box enter: non-free

and

1.Box enter: http://packages.medibuntu.org/
2.Box enter: gutsy
3.Box enter: free
21) Install acroread and other related acroread packages with the package manager
22) Install Imagemagick with the packagemanager
23) turn off the previously added package repositories


ENJOY !


And for all who do not believe this:
[img=http://img256.imageshack.us/img256/1262/kileunderandlinuxvb6.th.jpg]


Added some new information because the mpm package manager did not work correctly. Now it does :-)
Last edited by CHuber on Fri May 30, 2008 1:08 pm, edited 3 times in total.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9513
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Fri May 30, 2008 12:38 am

Hi Chris,

these are good news!
At the moment I am using exclusively Ubuntu Linux on several computers, but when I get Windows together with a new computer then I will try andLinux and of course KILE on Windows because I am very satisfied with KILE.

Stefan
Site admin

User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

Postby tripwire45 » Fri May 30, 2008 4:03 pm

I can see this being handy if you work in an environment that uses Windows exclusively and aren't able to work on a Linux platform. Where I am currently, my machine dual boots into Ubuntu 7.10 and Windows XP. I spend about 90% of my time in Ubuntu and use Kile for most of my documentation needs. I use GIMP for almost all of my graphics creation and editing and just about everything else I need to so can be handled with an open source solution.

That said, there are a few tasks around here that require I occasionally boot into Windows. I sometimes must edit a slide show created by various executives in PowerPoint 2007 (which doesn't really work and play well with OpenOffice.org 2.3 Impress). Also, I don't find that Dia really holds a candle to Microsoft Visio, so if I need to create any serious diagrams, I need to be in Windows.

If my future takes me to a Windows-only shop *and* if I need to be creating documentation in LaTeX (a rare combination...at least as far as technical writing goes in my little corner of the world), your Kile under Windows solution has much merit. Thanks.

necro
Posts: 1
Joined: Thu Oct 30, 2008 4:30 pm

Postby necro » Thu Oct 30, 2008 4:31 pm

i realy dont know what u did man.. i installed andLinux and started kile by typing kile in the kde-console.. and it worked.. what the hell are all the other steps for???????

skidzo
Posts: 8
Joined: Mon Sep 22, 2008 9:45 am

Postby skidzo » Sun Dec 21, 2008 5:20 pm

I was using andlinux also for a while, It's true that you can simply add the kile package via synaptic.

You can also have more than one or more ntfs or ext2 partitions mounted in andlinux with the cofs driver.

I also did a dist-upgrade (simply deselecting the old repositorys and replacing with the new ones) and checked some KDE 4 applications under andlinux in XP. This all worked quite savely.

But I also think this is just for some linux experienced and windows experienced users really of advantage.

There are allways nice native windows compiled apps to use...

CM
Posts: 5
Joined: Tue Dec 08, 2009 7:29 pm

Postby CM » Sun Feb 14, 2010 11:20 pm

I gave it a try but it won't start any application.
A window pops up saying 'Could not launch Kile. Could not connect to xxx.xxx.xxx.xxx'

It's allowed in Firewall.

Any Ideas?

benibela
Posts: 97
Joined: Thu Aug 09, 2007 8:13 pm

Postby benibela » Mon Feb 15, 2010 10:07 pm

Perhaps you have to start an X Server first?

Marion
Posts: 1
Joined: Sat Mar 27, 2010 12:16 pm

Postby Marion » Sat Mar 27, 2010 12:20 pm

sounds great and I will give it a try!

But why did you install TexLive and MikTex? Are they not both Tex-Compiler? Would it also work when I use MikTex only?

Thanks,
Marion


Return to “Kile”

Who is online

Users browsing this forum: No registered users and 1 guest