Latex services with DirectAdmin??

beansbaxter

Verified User
Joined
Mar 17, 2004
Messages
218
Location
WA
I am running DA 1.40.3 on CentOS 5 64-Bit.

I need to have Latex installed on the server. I am new to Latex so my questions are:

1) How can I tell if Latex is already installed? Does DA install this service?

2) If it's not installed by DA, how do I install Latex? And are there any concerns about it interfering with DA?

Thanks in advance.
 
I just ran this to find the Latex package I need:
Code:
[root@server ~]# yum list \*latex\*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.stanford.edu
 * extras: linux.mirrors.es.net
 * updates: mirror.stanford.edu
Excluding Packages in global exclude list
Finished
Available Packages
latex2html.noarch                       2002.2.1-6                          base
tetex-latex.x86_64                      3.0-33.13.el5                       base

Found the one I wanted so got more info:
Code:
[root@server ~]# yum info tetex-latex
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.stanford.edu
 * extras: linux.mirrors.es.net
 * updates: mirror.stanford.edu
Excluding Packages in global exclude list
Finished
Available Packages
Name       : tetex-latex
Arch       : x86_64
Version    : 3.0
Release    : 33.13.el5
Size       : 4.1 M
Repo       : base
Summary    : The LaTeX front end for the TeX text formatting system.
URL        : http://www.tug.org/teTeX/
License    : distributable
Description: LaTeX is a front end for the TeX text formatting system. Easier to
           : use than TeX. LaTeX is essentially a set of TeX macros which
           : provide convenient, predefined document formats for users. It also
           : allows to compile LaTeX files directly to PDF format.
           : 
           : If you are installing tetex, so that you can use the TeX text
           : formatting system, consider to install tetex-latex.
           : If you are not an expert at TeX, you should also install
           : the tetex-doc package, which contains documentation for TeX.

This is what yum needs to install:
Code:
[root@server ~]# yum list \*tetex\*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.stanford.edu
 * extras: linux.mirrors.es.net
 * updates: mirror.stanford.edu
Excluding Packages in global exclude list
Finished
Available Packages
tetex.x86_64                            3.0-33.13.el5                       base
tetex-afm.x86_64                        3.0-33.13.el5                       base
tetex-doc.x86_64                        3.0-33.13.el5                       base
tetex-dvips.x86_64                      3.0-33.13.el5                       base
tetex-fonts.x86_64                      3.0-33.13.el5                       base
tetex-latex.x86_64                      3.0-33.13.el5                       base
tetex-xdvi.x86_64                       3.0-33.13.el5                       base

Will I mess anything up with DA if I install tetex-latex?
 
This is what it will install if I try to install it:

Code:
[root@server ~]# yum install tetex-latex
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.stanford.edu
 * extras: linux.mirrors.es.net
 * updates: mirror.stanford.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tetex-latex.x86_64 0:3.0-33.13.el5 set to be updated
--> Processing Dependency: tetex-dvips = 3.0 for package: tetex-latex
--> Processing Dependency: tetex = 3.0 for package: tetex-latex
--> Processing Dependency: netpbm-progs for package: tetex-latex
--> Running transaction check
---> Package netpbm-progs.x86_64 0:10.35.58-8.el5_7.3 set to be updated
--> Processing Dependency: netpbm = 10.35.58-8.el5_7.3 for package: netpbm-progs
--> Processing Dependency: ghostscript for package: netpbm-progs
--> Processing Dependency: libnetpbm.so.10()(64bit) for package: netpbm-progs
---> Package tetex.x86_64 0:3.0-33.13.el5 set to be updated
--> Processing Dependency: tetex-fonts = 3.0 for package: tetex
--> Processing Dependency: desktop-file-utils >= 0.9 for package: tetex
--> Processing Dependency: dialog for package: tetex
--> Processing Dependency: tmpwatch for package: tetex
--> Processing Dependency: libgd.so.2()(64bit) for package: tetex
---> Package tetex-dvips.x86_64 0:3.0-33.13.el5 set to be updated
--> Processing Dependency: psutils for package: tetex-dvips
--> Running transaction check
---> Package desktop-file-utils.x86_64 0:0.10-7 set to be updated
---> Package dialog.x86_64 0:1.0.20051107-1.2.2 set to be updated
---> Package gd.x86_64 0:2.0.33-9.4.el5_4.2 set to be updated
--> Processing Dependency: pkgconfig for package: gd
--> Processing Dependency: libXpm.so.4()(64bit) for package: gd
---> Package ghostscript.x86_64 0:8.70-6.el5_7.6 set to be updated
--> Processing Dependency: urw-fonts >= 1.1 for package: ghostscript
--> Processing Dependency: ghostscript-fonts for package: ghostscript
--> Processing Dependency: libICE.so.6()(64bit) for package: ghostscript
--> Processing Dependency: libXt.so.6()(64bit) for package: ghostscript
--> Processing Dependency: libSM.so.6()(64bit) for package: ghostscript
---> Package netpbm.x86_64 0:10.35.58-8.el5_7.3 set to be updated
---> Package psutils.x86_64 0:1.17-26.1 set to be updated
---> Package tetex-fonts.x86_64 0:3.0-33.13.el5 set to be updated
---> Package tmpwatch.x86_64 0:2.9.7-1.1.el5.5 set to be updated
--> Running transaction check
---> Package ghostscript-fonts.noarch 0:5.50-13.1.1 set to be updated
---> Package libICE.x86_64 0:1.0.1-2.1 set to be updated
---> Package libSM.x86_64 0:1.0.1-3.1 set to be updated
---> Package libXpm.x86_64 0:3.5.5-3 set to be updated
---> Package libXt.x86_64 0:1.0.2-3.2.el5 set to be updated
---> Package pkgconfig.x86_64 1:0.21-2.el5 set to be updated
---> Package urw-fonts.noarch 0:2.3-6.1.1 set to be updated
--> Processing Dependency: mkfontscale for package: urw-fonts
--> Processing Dependency: mkfontdir for package: urw-fonts
--> Processing Dependency: chkfontpath for package: urw-fonts
--> Running transaction check
---> Package chkfontpath.x86_64 0:1.10.1-1.1 set to be updated
--> Processing Dependency: xfs for package: chkfontpath
---> Package xorg-x11-font-utils.x86_64 1:7.1-3 set to be updated
--> Processing Dependency: libfontenc >= 0.99.2-2 for package: xorg-x11-font-utils
--> Processing Dependency: libfontenc.so.1()(64bit) for package: xorg-x11-font-utils
--> Processing Dependency: libXfont.so.1()(64bit) for package: xorg-x11-font-utils
--> Running transaction check
---> Package libXfont.x86_64 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libfontenc.x86_64 0:1.0.2-2.2.el5 set to be updated
---> Package xorg-x11-xfs.x86_64 1:1.0.2-5.el5_6.1 set to be updated
--> Processing Dependency: ttmkfdir for package: xorg-x11-xfs
--> Processing Dependency: libFS.so.6()(64bit) for package: xorg-x11-xfs
--> Running transaction check
---> Package libFS.x86_64 0:1.0.0-3.1 set to be updated
---> Package ttmkfdir.x86_64 0:3.0.9-23.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================
 Package                        Arch              Version                         Repository          Size
===========================================================================================================
Installing:
 tetex-latex                    x86_64            3.0-33.13.el5                   base               4.1 M
Installing for dependencies:
 chkfontpath                    x86_64            1.10.1-1.1                      base                15 k
 desktop-file-utils             x86_64            0.10-7                          base                62 k
 dialog                         x86_64            1.0.20051107-1.2.2              base               165 k
 gd                             x86_64            2.0.33-9.4.el5_4.2              base               155 k
 ghostscript                    x86_64            8.70-6.el5_7.6                  updates            8.9 M
 ghostscript-fonts              noarch            5.50-13.1.1                     base               801 k
 libFS                          x86_64            1.0.0-3.1                       base                30 k
 libICE                         x86_64            1.0.1-2.1                       base                54 k
 libSM                          x86_64            1.0.1-3.1                       base                28 k
 libXfont                       x86_64            1.2.2-1.0.4.el5_7               updates            245 k
 libXpm                         x86_64            3.5.5-3                         base                44 k
 libXt                          x86_64            1.0.2-3.2.el5                   base               181 k
 libfontenc                     x86_64            1.0.2-2.2.el5                   base                19 k
 netpbm                         x86_64            10.35.58-8.el5_7.3              updates            836 k
 netpbm-progs                   x86_64            10.35.58-8.el5_7.3              updates            2.0 M
 pkgconfig                      x86_64            1:0.21-2.el5                    base                61 k
 psutils                        x86_64            1.17-26.1                       base                90 k
 tetex                          x86_64            3.0-33.13.el5                   base               8.7 M
 tetex-dvips                    x86_64            3.0-33.13.el5                   base               570 k
 tetex-fonts                    x86_64            3.0-33.13.el5                   base                29 M
 tmpwatch                       x86_64            2.9.7-1.1.el5.5                 base                19 k
 ttmkfdir                       x86_64            3.0.9-23.el5                    base                46 k
 urw-fonts                      noarch            2.3-6.1.1                       base               4.5 M
 xorg-x11-font-utils            x86_64            1:7.1-3                         base                78 k
 xorg-x11-xfs                   x86_64            1:1.0.2-5.el5_6.1               base                73 k

Transaction Summary
===========================================================================================================
Install      26 Package(s)
Upgrade       0 Package(s)

Total download size: 61 M
Is this ok [y/N]:
 
That should not mess anything on your server, but you should try it first. As I doubt that anybody else uses Directadmin with LaTeX installed there, nobody would answer your question for 100% certainty.

Why do you need it on directadmin powered server?
 
Of the files you're going to add, two are troublesome to me:

1. You may already have GD installed on your server but not from RPM. If you've already got it installed, and if you're already depending on it, it's possible you might end up breaking something.

2. You're installing something called desktop-utilities. I haven't checked to see what's in there, but you should; generally you shouldn't install desktop stuff on a server unless you're certain it's security meets the standards for an internet connected server.

Jeff
 
Thanks to both of you for your feedback. I searched the DA forums and found nothing on this subject, so I knew this would be something new to ask.

I went ahead and proceeded with installing the packages that were listed in Post 3 of this thread. The server seems to be running fine, and I cannot tell if there is anything messed up, so I'm assuming all is good. I really hope those packages do not affect things in the future.

Why do you need it on directadmin powered server?
Because one of the websites on the server is running vBulletin forum software which has a Latex-powered plugin. The plugin requires those packages in order to display Latex characters.

Of the files you're going to add, two are troublesome to me:

1. You may already have GD installed on your server but not from RPM. If you've already got it installed, and if you're already depending on it, it's possible you might end up breaking something.

2. You're installing something called desktop-utilities. I haven't checked to see what's in there, but you should; generally you shouldn't install desktop stuff on a server unless you're certain it's security meets the standards for an internet connected server.

Jeff
Thanks for those 2 concerns. I have ImageMagick installed on that server, believe I'm using that instead of GD2 so hopefully everything still works.

I too saw the desktop utilities stuff. I would never use it, I'm assuming it was installed because it was a required dependency of that package.

So far the server is running sound and good, hope it continues to be like this. If it changes, I'll post up in this thread, as it would be good for reference for anyone else who may need to install this package with DA.

Thanks guys! I do appreciate the feedback!
 
Back
Top