Installing latex on hostmonster
In continuation with my previous post (Some times yahoo is better), I followed the steps on how to install latex/tetex on my web host from here (You can also get the Installation steps from QuickInstall file in source code or access the same file from tug.org).
But the problem is that on web hosts like hostmonster you won’t have root access so you will need to modify some of the things and do a local install in your home directory.
For that you can specify –prefix accordingly while doing ./configure. So you need to do:
./configure --prefix=/home/username/local/teTeX
replace username with your account name
This step ended without any errors But while I was doing make world, the process exited with following error:
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXt.a when searching for -lXt /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
I found this thread, where they were discussing similar error and from what I got it was due to machine platform. So I checked my host system information with
uname -afrom there I got x86_64 x86_64 x86_64 GNU/Linux which meant its a 64 bit architecture.
So after some tweaking to what I found here(CBLFS: TeTeX) to make it work for local install, you can do following to compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ ./configure --prefix=/home/username/local/teTeX/ \ –enable-shared \ –without-texinfo \ –with-x=no \ –with-system-ncurses \ –with-system-zlib && [ -f texk/libtool ] && sed -i “/sys_lib_search_path_spec=/s:/lib:&64:g” texk/libtool;
And then you can do
make world make all install
You can then add generated executable to your system path by:
PATH=/home/username/local/teTeX/bin/x86_64-unknown-linux-gnu:$PATH; export PATH
You can also configure your installation using:
texconfig
And its DONE
Find all steps followed by me here
So if you want to install on 32 bit config the method at Microcontroller programming Blog should work fine.
Also read: The Tetex HowTo
You can download required packages using wget on shell account at hostmonster from ctan.org
Related Post: Latex Beamer
Comments
9 Responses to “Installing latex on hostmonster”
Leave a Reply
Add to del.icio.us Network
Google Reader Shared Items
Twitter Feed
Flickr Photos
[…] also useful. It generates PNG images from inline $LaTeX$ code in your posts and comments. I have installed latex on my hosting service( hostmonster) and still working on making simliar plugins(LatexRender) to […]
[…] Some time back I came to know that wordpress blogs hosted at wordpress.com supports latex. But no such default functionality for self hosted wordpress blogs. But there are plugins (latexrender, wp-latex) which can facilitate similar things. But for these to work you will need to install latex on your hosting account. (I have intalled latex on my hostmonster account some time back.). […]
I searched for \’Host Monster\’ in google and found this your post (\’lling latex on hostmonster : Burad’s Blog\’) in search results. Not very relevant result, but still interesting to read.
[…] yahoo is better is better than google in providing search results when I was searching for Installing latex on hostmonster. And now with its open search platform SearchMonkey its trying to close in to Google. SearchMonkey […]
You will have better luck without the trailing /
after teTeX:
./configure –prefix=/home/username/local/teTeX/ \
see:
http://www.mediawiki.org/wiki/Mediawiki_and_LaTeX_on_a_host_with_shell_access
hmmm.. but it worked
for me trailing / didn’t made any difference
Hi
Thanks for the info.
I’m not a computer person, and don’t understand where you enter the commands to do the installation.
Could you please let me know?
I’m with Hostmonster, have SSH access and use http://FTP.
If you have ssh access, then you can ssh to hostmonster server (whose address you can see on left of your hostmonster control panel)using putty or any ssh client. Then you can issue above commands there.
[…] 64-bit linux:Installing LaTeX on Hostmonster […]