Ask Your Question
1

How to make your texlive-dummy package?

asked 2016-03-22 15:39:30 -0500

murpholinox peligro gravatar image

updated 2017-10-19 11:03:45 -0500

bluestar gravatar image

In the forums we have two related questions. https://ask.fedoraproject.org/en/ques... (august 2014) and https://ask.fedoraproject.org/en/ques... (july 2012)

Answers given (if any) are very little understandable by newbies like me. Googling takes me to two sites (one in japanese :( , the other in german :( https://texwiki.texjp.org/?Linux%2FFe... and http://thurse.goip.de/blog/texlive-in... that look somehow understandable (thanks to google translate). Both have these instructions (which I think are the ones that I need):

sudo dnf copr enable fatka/texlive-dummy  #(From the german site)
sudo dnf updateinfo
sudo dnf install texlive-dummy

Which do not work for me...

[root@eva02 fmp]# dnf copr enable fatka/texlive-dummy

Blablablah ...

Do you want to continue? [y/N]: y Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/dnfpluginscore/lib.py", line 71, in urlopen librepo.downloadurl(url, fo.fileno(), handle) File "/usr/lib64/python3.4/site-packages/librepo/init.py", line 1517, in downloadurl return librepo.download url(handle, url, fd) librepo.LibrepoException: (10, 'Status code: 404 for https://copr.fedorainfracloud.org/cop... , 'Error HTTP/FTP status code')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/dnf-plugins/copr.py", line 264, in downloadrepo f = dnfpluginscore.lib.urlopen(self, None, self.coprurl + api path, 'w+') File "/usr/lib/python3.4/site-packages/dnfpluginscore/lib.py", line 73, in urlopen raise IOError(e.args[1]) OSError: Status code: 404 for https://copr.fedorainfracloud.org/cop...

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/dnf", line 58, in <module> main.usermain(sys.argv[1:], exitcode=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 174, in usermain errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 112, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1095, in run return self.command.run(self.base.extcmds)
File "/usr/lib/python3.4/site-packages/dnf-plugins/copr.py", line 153, in run self.
downloadrepo(projectname, repofilename, chroot) File "/usr/lib/python3.4/site-packages/dnf-plugins/copr.py", line 272, in _downloadrepo res = urllib.request.urlopen(self.coprurl + "/coprs/" + projectname, 'w+') File "/usr/lib64/python3.4/urllib/request.py", line 161, in urlopen return opener.open(url, data, timeout) File "/usr/lib64/python3.4/urllib/request.py", line 461, in open req = meth(req) File "/usr/lib64/python3.4/urllib/request.py", line 1112, in dorequest raise TypeError(msg) TypeError: POST data should be bytes or an iterable of bytes. It cannot be of type str.

And also found this ( http://tex.stackexchange.com/question... ) where the instructions to build the rpm file are given but if I do dnf install R there will be ... (more)

edit retag flag offensive close merge delete

Comments

@choufleur: If there are issues with the fedora texlive tree, please file bugs. The maintainer spent a lot of time and effort to package up the entire tree. Please look at this related question for details: https://ask.fedoraproject.org/en/question/42697/is-fedoras-texlive-complete/

If a texlive package is not in fedora, it's either because of licensing issues, or because it isn't part of texlive.

FranciscoD_ gravatar imageFranciscoD_ ( 2014-08-10 07:15:40 -0500 )edit

It would be nice if you can explain why you don't use Fedora TeXLive packages?

hedayat gravatar imagehedayat ( 2014-08-11 13:49:32 -0500 )edit

I edited the question to answer your question.

bluestar gravatar imagebluestar ( 2014-08-11 14:41:08 -0500 )edit

Thanks you :)

hedayat gravatar imagehedayat ( 2014-08-11 15:39:01 -0500 )edit

@FranciscoD_ well it is not a single bug see "Reason for custom" in the question. The fedora texlive is obsolete.

choufleur gravatar imagechoufleur ( 2014-08-18 08:42:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-06-19 11:29:15 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Caution: I am not sure if this might break the system. For me it has worked well on Centos 7. May the wise tell us more.

You can install the texlive-dummy rpm after you have installed TeXlive 2014. You can choose from https://www.ctan.org/search/?phrase=t... depending on your Fedora version. Fedora 21 and above should do well with the enterprise linux 7 package if one goes by the release dates.

I installed LyX using yum after installing TeXlive 2014.

edit flag offensive delete link more

Comments

This works and seems to be better (at least easier) so I'll update my answer according to this to provide more detail.

murpholinox peligro gravatar imagemurpholinox peligro ( 2018-01-09 09:47:41 -0500 )edit
0

answered 2016-03-22 21:51:13 -0500

murpholinox peligro gravatar image

updated 2018-01-09 10:16:06 -0500

Easy way is as follows.

  1. Go to CTAN and search for "dummy"image description
  2. Download package image description
  3. Open up terminal, cd into Downloads folder, unzip (unzip EnterpriseLinux-7.zip), cd into EnterpriseLinux-7 and install (dnf install texlive-dummy-2012a-1.el7.noarch.rpm)
  4. Then try to install R or texstudio. You will see how dnf won't get all the texlive dependencies :)
edit flag offensive delete link more

Comments

Note that the "Download this file" link does not lead to the raw file -- click through to download, rather than using wget or similar.

Joe Corneli gravatar imageJoe Corneli ( 2017-06-29 18:28:49 -0500 )edit

Previous comment is not useful as I have edited the whole answer ...

murpholinox peligro gravatar imagemurpholinox peligro ( 2018-01-09 10:19:19 -0500 )edit

I know the question was "how to make your texlive-dummy package?" but as there is a CTAN package, it is just easier to install that. So I am not sure if editing the question or what....

murpholinox peligro gravatar imagemurpholinox peligro ( 2018-01-09 10:23:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-22 15:39:30 -0500

Seen: 518 times

Last updated: Jan 09 '18