Kile ⇒ A problem with compiling in Kile on Ubuntu
Re: A problem with compiling in Kile on Ubuntu
Thanks! I already looked at that topic, and since I have deinstalled both kile and texlive2007, and just installed texlive 2008, I am going to try the equivs procedure.
Can you explain to me what a control file is, and how to create one and make it big? I don't know that much about ubuntu/linux. Thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
A problem with compiling in Kile on Ubuntu
You know, I tried this when I was having the same problem, and it didn't work. Even after using equivs, following the instructions at the site linked to above, Synaptic still refused to install Kile without the old version of TeXlive.Stefan_K wrote:Hi David,
perhaps this post could be useful for you: Kile and TeX Live 2008 on Ubuntu Linux. You could uninstall TeX Live 2007 before installing v2008 and fulfill the dependencies of Kile using equivs, but have a look at the comments there, make the control file big enough.
It could certainly have been that I didn't do things right. The directions there are pretty vague. (The comments there weren't there when I did it... in fact, they're only a couple days old. I wish panos had gone into detail about what he did.)
I ended up keeping both versions of TeXlive installed. So long as I installed TeXlive 2008 afterwards, and put it first in my path, Kile would use it, but I couldn't install Kile without it there.
Perhaps you'll have better luck, however.
Re: A problem with compiling in Kile on Ubuntu
From your post I get two things (1) set path, (2) set symbols?
I tried to set path, but failed, and I don't even know what symbols mean. Can you tell me how to do this?
Re: A problem with compiling in Kile on Ubuntu
For adding TeXlive to my path, I opened a terminal and typed:
gedit .profile
And made the final line:
PATH=/usr/local/texlive/2008/bin/i386-linux:$PATH
(Saved, exited, and restarted Ubuntu.)
So this goes into effect whenever I log into Ubuntu. (If you have multiple user accounts on your system, and they all use LaTeX, you may want to do it a different way.)
I didn't have to do anything else to make Kile use TL2008, I don't think.
Re: A problem with compiling in Kile on Ubuntu
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
I change:
PATH="$HOME/bin:$PATH"
to:
PATH=/usr/local/texlive/2008/bin/x86_64-linux:$PATH ?
Thanks!
Edit: I did this, and some other path changes I saw on the internet, but it still doesn't give the correct version:P
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
A problem with compiling in Kile on Ubuntu
you could have mentioned it within a comment there.frabjous wrote: I tried this when I was having the same problem, and it didn't work. Even after using equivs, following the instructions at the site linked to above, Synaptic still refused to install Kile without the old version of TeXlive.
It could certainly have been that I didn't do things right. The directions there are pretty vague. (The comments there weren't there when I did it... in fact, they're only a couple days old. I wish panos had gone into detail about what he did.)

Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
A problem with compiling in Kile on Ubuntu
try the path change on the command line and check if it shows an effect at all.DavidM wrote: I did this, and some other path changes I saw on the internet, but it still doesn't give the correct version:P
If the change of .profile doesn't help you could edit ~/.bashrc instead. I've made some changes on my .bashrc file that would be applied when I log in.
Stefan
A problem with compiling in Kile on Ubuntu
Code: Select all
# set PATH so it includes user's private bin if it existsif [ -d "$HOME/bin" ] ; thenPATH="$HOME/bin:$PATH"fi
PATH=/usr/local/texlive/2008/bin/x86_64-linux:$PATH
Assuming you're using the x86_64 version.
Re: A problem with compiling in Kile on Ubuntu
Thanks a lot, again! The path setting didn't make it work. I read somewhere that for the "new" Kile you have to change 3 paths? Anyway, I have a lot of configuration problems like these with Ubuntu, and I also have some deadlines now, so I don't have the time to wait until I configure this right. I am going to work on Windows XP the next weeks, and will try Kile on Ubuntu when I have some more time. I think with the equivs it should work, so I'll try that. Thanks again, and I will be back in a few weeks to tell if it worked out!
Re: A problem with compiling in Kile on Ubuntu
PATH=/usr/local/texlive/2008/bin/i386-linux:$PATH
MANPATH=/usr/local/texlive/2008/texmf/doc/man:$MANPATH
INFOPATH=/usr/local/texlive/2008/texmf/doc/info:$INFOPATH
at the end of my .profile, but the others are just for documentation.
But just to be clear about the problem you're having, if you use
tex -v
latex -v
and
pdflatex -v
from a command line terminal in your home directory, what info does it show? 2008? That should be what's in your path. I think kile just calls what's in your path--but maybe someone will correct me if i'm wrong.
What do you mean when you say it doesn't work? You're having the same problems as before? It was never clear to me that the problems you were having stemmed from having the wrong LaTeX system; it was just a place to start. Construct a MWE if need be and we can see what else it might be.