# How do i install latex IEEEtran package in RL9?

**URL:** <https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [October 3, 2023, 1:20pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465 "2023-10-03T13:20:56Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 3, 2023, 1:20pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/1 "2023-10-03T13:20:56Z")

</div>

How do i install [IEEEtran.cls](https://ctan.org/pkg/ieeetran?lang=en) for Latex in RL9?  
In other linux, I run:  
`sudo apt-get install texlive-publishers`  
but the equivalent in RL9 with `dnf` does not work.  
Thank you for your help

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [October 3, 2023, 3:16pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/2 "2023-10-03T15:16:34Z")

</div>

Yes, there is no texlive-publishers package. Not every distro is the same, so package names can vary. That said, there are commands like ` dnf provides` or `dnf whatprovides` that can help you locate a file in a package, however even with EPEL enabled I do not see any packages that provide that file:

```auto
[root@rocky9 ~]# dnf provides */ieeetrans.cls
Last metadata expiration check: 3:40:21 ago on Tue 03 Oct 2023 01:27:54 PM CEST.
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.

```

even if I use `IEEEtrans.cls` it doesn’t find anything either. This resource: [RPM resource tex(IEEEtran.cls)](https://rpmfind.net/linux/rpm2html/search.php?query=tex(IEEEtran.cls)) seems to show a similar filename to the one you mentioned, which would hint at the package you need being `texlive-ieeetran`. This package does exist in Fedora 38, but I don’t see the source rpm appearing here: [https://src.fedoraproject.org/](https://src.fedoraproject.org/) had it been available, you could download the source rpm for example and then build this to install on Rocky.

Either that, or you can make a package request to see if an EPEL maintainer would add it to the EPEL repository.

One other good resource to use if you cannot find anything is this site: [https://pkgs.org/search/?q=texlive-ieeetran](https://pkgs.org/search/?q=texlive-ieeetran) as usually if you cannot find a package, you can search there and generally get an idea of what the package name will be to install on the particular OS of your choice.

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 3, 2023, 7:19pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/3 "2023-10-03T19:19:12Z")

</div>

@iwalker  
Yes, you are right, the package is **IEEEtran.cls** , without the ‘s’.  
I’ve put a link to the **latex CTAN repository** in my initial question.

I thank you for you answer !  
Yet… i am still unsure of what the solution is.  
Sorry, I’m not that pro in Linux installation topics, I’m just migrating from an Ubuntu environment, so i’m not sure what **EPEL** is, nor how to solve my problem.  
Did you mean to just download a **Fedora** package ( **ieeetran\_\*.rpm** ) from one of the links you sent and run it?

Maybe a question is: **where are all Latex packages** stored in Rocky?  
Cuz then i can just download the class and paste it there? would that work?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [October 4, 2023, 9:24am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/4 "2023-10-04T09:24:19Z")

</div>

If latex packages exist, then they are downloadable with dnf. As already mentioned you can search [pkgs.org](http://pkgs.org) to find out what the package name would be. Sadly, as already explained there is no package for Rocky or RHEL that you require. Which means finding the source package and build yourself or asking EPEL to do it. Read more here on how to do that with EPEL: [EPEL Package Request :: Fedora Docs](https://docs.fedoraproject.org/en-US/epel/epel-package-request/)

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 4, 2023, 9:34am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/5 "2023-10-04T09:34:38Z")

</div>

An individual user _can_ drop a LaTeX package to their home directory. (LaTeX tools do search certain paths.)

That (a “source install”) is obviously not as “managed” as installing proper RPM package for (all users of) the system. Request to EPEL _is the way_.

---

<div class="post-metadata">

**Author:** ![chemal](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/chemal/32/2238_2.png) [@chemal](https://forums.rockylinux.org/u/chemal)\
**Post date:** [October 4, 2023, 2:36pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/6 "2023-10-04T14:36:53Z")

</div>

If you want a quick solution you can try the rpm from here: [https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/34/Everything/x86\_64/os/Packages/t/texlive-IEEEtran-svn51065-38.fc34.noarch.rpm](https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/34/Everything/x86_64/os/Packages/t/texlive-IEEEtran-svn51065-38.fc34.noarch.rpm)

While it is in general not a good idea to borrow rpms from other distributions, it most probably will work in this case, because Fedora 34 also came with TeXlive 2000, the package is _noarch_, and RH’s TeXlive is mostly a copy from Fedora’s (minus the packages they deliberately do not build to “lower their support burden”).

Of course packages can depend on other packages and you probably need to borrow some more from this directory.

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 4, 2023, 4:09pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/7 "2023-10-04T16:09:53Z")

</div>

This is complicated for me, as I’ve never done this.  
But i gave it a try and opened a package request, i.e. a bug:  
[https://bugzilla.redhat.com/show\_bug.cgi?id=2242153](https://bugzilla.redhat.com/show_bug.cgi?id=2242153)

Please check and let me know if i did it right?  
Thank you,

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 12, 2023, 3:19pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/8 "2023-10-12T15:19:36Z")

</div>

I need help again.  
They have answered my request to add IEEEtran.cls  
Please read in the ticket i opened.  
The resolution is:

> It is fixed in texlive-extension-20200406-34.el9. Please download and test

Now my problem is when i try in Rocky9 the command:

`sudo dnf install texlive-extension`  
or  
`sudo dnf install texlive-extension-20200406-34.el9`

it replies: `Error: Unable to find a match`

So i’m not sure what is wrong?  
Please help 🙂

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 12, 2023, 3:53pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/9 "2023-10-12T15:53:24Z")

</div>

> [@stefaniecg](#):
>
> texlive-extension-20200406-34

[texlive-extension-20200406-34.el9 | Build Info | koji](https://koji.fedoraproject.org/koji/buildinfo?buildID=2304869) says:

> texlive-extension includes many texlive extension which are dropped in RHEL

And has tag: `epel9-testing`, so the package might/will be in EPEL (but still not in their main repo).

Do you see anything with:

```auto
dnf --enablerepo=epel-testing list texlive-extension\*

```

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 12, 2023, 5:24pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/10 "2023-10-12T17:24:36Z")

</div>

this is the output when i type the command that you mentioned @jlehtone

```auto
$dnf --enablerepo=epel-testing list texlive-extension\*
Extra Packages for Enterprise Linux 9 - Testing - x86_64 305 kB/s | 480 kB 00:01    
Last metadata expiration check: 0:00:01 ago on Thu 12 Oct 2023 07:21:55 PM CEST.
Error: No matching Packages to list

```

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 12, 2023, 5:48pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/11 "2023-10-12T17:48:47Z")

</div>

The “texlive-extension” seems to be the name of the _source package_ from which many packages are built from. There is no “binary” package with that name.

Do you get anything more with:

```plaintext
dnf --enablerepo=epel-testing list texlive--EE\*

```

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 13, 2023, 8:16am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/12 "2023-10-13T08:16:33Z")

</div>

I asked at bugzilla and got the right command:

`dnf --enablerepo=epel-testing install texlive-IEEEtran`

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 13, 2023, 8:32am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/13 "2023-10-13T08:32:07Z")

</div>

my next problem is that now it requires a style:

`! LaTeX Error: File glossaries.sty not found.`

So now my question is: does one have to do the same for every single package that is missing?  
or how can i search for a **style** in this case, it’s **not a class.**

when i do:  
`$dnf provides */glossaries\*`  
many options appear, so not sure whic one to choose.  
I am tempted to chose the `glossaries-english`, but not sure.

how can i know for sure that the install will include the `glossaries.sty` that i need?

---

<div class="post-metadata">

**Author:** ![iwalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/iwalker/32/2599_2.png) [@iwalker](https://forums.rockylinux.org/u/iwalker)\
**Post date:** [October 13, 2023, 8:41am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/14 "2023-10-13T08:41:57Z")

</div>

Well you can do:

```auto
dnf repoquery -l texlive-glossaries-english

```

but it doesn’t list that file in that package. I suggest asking EPEL, if they built the package in testing and didn’t include the style that is required, then they need to also include that as well if it depends on it.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [October 13, 2023, 5:57pm UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/15 "2023-10-13T17:57:01Z")

</div>

> [@stefaniecg](#):
>
> when i do:  
> `$ dnf provides */glossaries\*`

You do search for files, whose name _starts_ with “glossaries”. Since you do know the whole name, you can ask with it:

```auto
dnf --enablerepo=epel-testing provides */glossaries.sty

```

---

<div class="post-metadata">

**Author:** ![stefaniecg](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@stefaniecg](https://forums.rockylinux.org/u/stefaniecg)\
**Post date:** [October 31, 2023, 9:01am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/16 "2023-10-31T09:01:25Z")

</div>

btw… i just would like to _document_ for people using **Latex** with Rocky linux that the best way to download all packages is by using: **Miktex**

There is even a special RockyLinux release in the downloads area \> Linux \> RockyLinux:  
[https://miktex.org/download](https://miktex.org/download)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [December 30, 2023, 9:01am UTC](https://forums.rockylinux.org/t/how-do-i-install-latex-ieeetran-package-in-rl9/11465/17 "2023-12-30T09:01:45Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
