Page 1 of 1

Install texlive during centos installation

Posted: 2020/09/12 12:46:55
by kalahan
When I creating a bootable flash drive with centos 8, using rufus, I noticed that texlive packages are copied to the flash drive. I was wondering how to install texlive with centos. I need to use texlive, and there will be no Internet on my centos computer.

Re: Install texlive during centos installation

Posted: 2020/09/12 13:30:48
by TrevorH
Don't use rufus, it can break our isos.

Re: Install texlive during centos installation

Posted: 2020/09/12 13:48:44
by kalahan
It was a necessity. I usually use dd. The crux of the issue is that I saw that, it turns out, texlive can be installed during the installation of centos. I wanted to know how.

Re: Install texlive during centos installation

Posted: 2020/09/12 18:48:53
by kalahan
So how can I install texlive when installing centos?

Re: Install texlive during centos installation

Posted: 2020/09/12 22:13:15
by jlehtone
The packages are in AppStream repo. The install media has a copy of that repo (I presume).

CentOS install defines repositories c8-media-BaseOS and c8-media-AppStream. They point to:

Code: Select all

baseurl=file:///media/CentOS/BaseOS
        file:///media/cdrom/BaseOS
        file:///media/cdrecorder/BaseOS

baseurl=file:///media/CentOS/AppStream
        file:///media/cdrom/AppStream
        file:///media/cdrecorder/AppStream
Therefore, if the install media is mounted to one of /media/CentOS, /media/cdrom, or /media/cdrecorder
then you can

Code: Select all

sudo yum --enablerepo=c8-media-BaseOS,c8-media-AppStream install texlive ...
If you want the installer to include packages (that its GUI does not let you choose), then you should have
a kickstart config, preferably on the media.

Re: Install texlive during centos installation

Posted: 2020/09/14 16:14:58
by kalahan
Thanks