Can I install a third party application like latex on my server?
hashir-aziz
TRIALOP

a year ago

I have currently deployed a node js application on railway, but now I am working on a workflow which requires latex to be installed locally or on the server when deployed. Now I want to know that am I able to install third party application like latex on my railway or is there any way to access the railway through virtual machines?
Project id: a2ec3db6-4608-4c33-a0e5-632fc364ded8

10 Replies

a year ago

how would you install it locally on Linux?


hashir-aziz
TRIALOP

a year ago

By using curl or wget command


a year ago

curl or wget is used to download files, what do you use to install latex, like an apt-get command?


hashir-aziz
TRIALOP

a year ago

cd /tmp # working directory of your choice
Download: wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
or: curl -L -o install-tl-unx.tar.gz https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
(or via whatever other method you like)
zcat < install-tl-unx.tar.gz | tar xf - # note final - on that command line
cd install-tl-*
perl ./install-tl --no-interaction # as root or with writable destination
# may take several hours to run
Finally, prepend /usr/local/texlive/YYYY/bin/PLATFORM to your PATH,
e.g., /usr/local/texlive/2024/bin/x86_64-linux


hashir-aziz
TRIALOP

a year ago

These are all steps to install latex


a year ago

then you would want to write a Dockerfile so that you can runs those commands


hashir-aziz
TRIALOP

a year ago

I was thinking the same. Is there any other way to access the server through virtual machine


a year ago

no, and if there was, that would not help, latex needs to be installed via build


hashir-aziz
TRIALOP

a year ago

Okay, thanks for the help


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...