13

I am using Basictex on my mac, and using TEXMAKER as editor. I installed multirow package by

 tlmgr install multirow 

command. And output is

 tlmgr: package repository http://ctan.space-pro.be/tex-archive/systems/texlive/tlnet tlmgr install: package already present: multirow 

Its showing this error ! LaTeX Error: File `multirow.sty' not found.

I really do not know what is happening. Any kind of help appreciated.

4
  • 1
    Welcome to TeX.SE. I'm afraid your write-up isn't very clear. Specifically, what is the "it" in "It[']s showing this error"? What is returned if you type kpsewhich multirow.sty at a terminal prompt? Incidentally, what's your reason for installing Basictex rather than the full MacTeX installation? Commented Mar 13, 2016 at 16:00
  • 1
    @Mico, thanks for your quick reply. I am writing a project document. i I started downloading MacTex but somehow it shows network error, then i switched to Basictex, We [class mates] are writing document together. I took a file and tried to modify then its showing this error.kpsewhich multirow.sty at terminal showing /usr/local/texlive/2015/texmf-dist/tex/latex/multirow/multirow.sty Commented Mar 13, 2016 at 17:03
  • 1
    Since kpsewhich is able to find multirow.sty -- in the directory where it should be, no less -- it's puzzling that you're not able to load it via a \usepackage{multirow} statement. Maybe something else went wrong during installation of BasicTeX? All I can suggest at this point is to try to re-install BasicTeX from scratch. Commented Mar 13, 2016 at 19:23
  • 1
    Okay. Suggestion is taken. Should is still try to install MacTex! Commented Mar 13, 2016 at 20:58

7 Answers 7

12

On Linux this should work fine, if you install the package texlive-latex-extra

The Documentation is huge (some GB) and is not needed locally, so installation without docs via aptitude would be

aptitude install texlive-fonts-recommended texlive-latex-recommended texlive-latex-recommended-doc_ texlive-pictures-doc_ texlive-latex-base-doc_ texlive-pstricks-doc_ texlive-latex-extra texlive-latex-extra-doc_ texlive-fonts-recommended-doc_ 
1
  • 1
    This answer helps for other packages as well, it solved the ! LaTeX Error: File ``tikz.sty' not found error for me. Commented Apr 25, 2023 at 23:33
6

On Arch Linux based distributions, this package is called texlive-latexextra in the standard repository.

sudo pacman -S texlive-latexextra 
6

On Fedora:

$ dnf provides */multirow.sty 

texlive-multirow-9:svn58396-45.fc35.noarch : Create tabular cells spanning multiple rows Repo : fedora Matched from: Filename : /usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty

texlive-multirow-9:svn58396-48.fc35.noarch : Create tabular cells spanning multiple rows Repo : updates Matched from: Filename : /usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty

$ sudo dnf install texlive-multirow 
2
  • 2
    dnf install "tex(multirow.sty)" also works Commented Dec 19, 2022 at 3:29
  • 1
    Long while on but thanks both of you for dropping these handy dnf tricks :) Commented Nov 20, 2024 at 10:38
5

Using Texlive Package Manager, install collection-latexextra with the following command:

tlmgr install collection-latexextra 
3
  • 1
    I installed that and it didn't solve the problem Commented Apr 24, 2019 at 16:19
  • 1
    is this still not solved?? Commented Jan 30, 2020 at 12:00
  • 1
    it worked for me with collection-latexextra Commented Aug 20, 2020 at 11:30
1

On a MAC when I recently hit this problem I needed to uninstall texlive and basictex and install instead mactex

brew uninstall texlive brew uninstall basictex brew install mactex 
5
  • 1
    I don't know what brew is doing, but MacTeX is TeX Live (for Mac). Commented Dec 22, 2023 at 0:54
  • 1
    ah really? now I'm really confused, brew install texlive works as well, but only when I used mactex did the multirow.sty error go away. should I delete my answer do you think? (ps: all my packages were up to date, so it isn't the case that I was reinstalling a newer version of the same package). Commented Dec 22, 2023 at 13:14
  • 1
    Like I said, I don't know what brew does or what it puts in texlive. Commented Dec 22, 2023 at 14:13
  • 1
    well apparently not multirow ;-) Commented Dec 22, 2023 at 16:47
  • 1
    Indeed ;). Very strange, but distributions call different mixtures different things. Perhaps the Brew Gods don't like tables! Commented Dec 22, 2023 at 17:01
1

I am using the Homebrew BasicTex package on MacOS to convert markdown to PDF using Pandoc and LaTex. I had the same issue with table cells that span multiple columns or rows.

I was able to solve this issue by installing the multirow package (17 kB) with the Tex Live Manager ( tlmgr install multirow).

At the risk of stating the obvious, I also updated the Tex Live Manager and all currently installed packages before installing the new package:

tlmgr update --self tlmgr update --all 
1

For Fedora 41, you need to install doxygen-latex

# sudo dnf install doxygen-latex 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.