The version of textlive shipped with Fedora 25 was too old for my needs.
$ dnf info texlive
Last metadata expiration check: 22 days, 8:44:09 ago on Wed Apr 26 22:34:24 2017. Available Packages Name : texlive Arch : x86_64 Epoch : 6 Version : 2016 Release : 33.20160520.fc25 Size : 33 k Repo : updates Summary : TeX formatting system URL : http://tug.org/texlive/ License : Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia Description : The TeX Live software distribution offers a complete TeX system for a : variety of Unix, Macintosh, Windows and other platforms. It : encompasses programs for editing, typesetting, previewing and printing : of TeX documents in many different languages, and a large collection : of TeX macros and font libraries. : : The distribution includes extensive general documentation about TeX, : as well as the documentation for the included software packages.
Specifically, I wanted the updated version of tex4ebook package. The version shipped by Fedora didn't cut it. So, I had to install newer version of textlive only for certain tasks. So, I downloaded and installed texlive on a separate user account.
adduser somenewuser su - somenewuser
Go to https://www.tug.org/texlive/acquire-netinstall.html and get the link to the latest tarball.
Unpack the archive.
tar -zxvf install-tl-unx.tar.gz `` Execute the installer. Your directory name may vary depending on the build number. ```sh cd install-tl-20170413/ ./install-tl
In the installation wizard, set the TEXDIR using the D option. I set mine to ~/texlive/2016/.
The installation takes some time. Enjoy the new version of tex4ebook using the path
This way, you can use the Fedora provided version of texlive on your regular user accounts and custom textlive on special user.