mkdir -p /usr/share/texmf-texlive/tex/latex/floatflt
cd /usr/share/texmf-texlive/tex/latex/floatflt
rm -f floatflt.* float*.tex
wget http://mirror.ctan.org/macros/latex/contrib/floatflt/floatflt.ins
wget http://mirror.ctan.org/macros/latex/contrib/floatflt/floatflt.dtx
latex floatflt.ins
texhash /usr/share/texmf-texlive
PS: using mac, the folder is ~/Library/texmf/tex/latex, then go to that directory, and run the command wget ...
Ref: Incidentally, if you want to add files to TEX Live for one particular user, install them in a similar tree ~/Library/texmf
where ~/Library
is the Library folder in that user’s home directory. The folder texmf
and other folders for the tree will have to be created. For instance,
TEX will find any file in ~/Library/texmf/tex
or a subfolder of this location, LATEX will find any file in ~/Library/texmf/tex/latex
or a subfolder of this location, and BibTEX will find any .bib file in ~/Library/texmf/bibtex/bib
or a subfolder of this location, and any .bst file in ~/Library/texmf/bibtex/bst
or a subfolder of this location. It is not necessary to use texhash when adding files to this local tree.