From: Oleksandr G. <gav...@gm...> - 2016-06-06 09:50:42
|
On 2016-06-03, Oleksandr Gavenko wrote: > From: "David M. Karr" >> What I can't figure out is how to get the various RST preview tools, >> like "rst2pdf". I see that "rst2pdf" is available on Ubuntu, but I >> don't see it in the default repos for CentOS7. > > I don't use RH, just make web search for Debian "apt-file" alternative: > > sudo yum install yum-utils > repoquery --whatprovides '*bin/rst2pdf' On Debian 'rst2pdf' is provided by external project: $ apt-file search bin/rst2pdf rst2pdf: /usr/bin/rst2pdf $ apt-cache show rst2pdf Version: 0.93-4 Maintainer: Elena Grandi <val...@tr...> Homepage: http://code.google.com/p/rst2pdf/ It seems that docutils team is not responsible for that utility. You should contact RH/CentOS packaging team and ask them for inclusion of rst2pdf utility. ================================================================ I managed to install CentOS in LXC container: sudo lxc-create -t centos -n centos2 -- --release 6.8 sudo lxc-create -t centos -n centos2 -- --release 7 Even "yum" utility provide built-in ability to query for packages which have certain files: [root@centos media]# cat /etc/redhat-release CentOS release 6.8 (Final) [root@centos media]# yum whatprovides '*/bin/rst2pdf*' No Matches found [root@centos media]# yum whatprovides '*/bin/rst2*' python-docutils-0.6-1.el6.noarch : A system for processing plaintext documentation Matched from: Filename : /usr/bin/rst2html Filename : /usr/bin/rst2odt Filename : /usr/bin/rst2xml Filename : /usr/bin/rst2s5 Filename : /usr/bin/rst2latex Filename : /usr/bin/rst2man Filename : /usr/bin/rst2pseudoxml Filename : /usr/bin/rst2newlatex Filename : /usr/bin/rst2odt_prepstyles [root@centos2 media]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@centos2 media]# yum whatprovides '*/bin/rst2pdf*' No Matches found [root@centos2 media]# yum whatprovides '*/bin/rst2*' Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.mirohost.net * extras: mirror.mirohost.net * updates: mirror.mirohost.net python-docutils-0.11-0.2.20130715svn7687.el7.noarch : System for processing plaintext documentation Repo : base Matched from: Filename : /usr/bin/rst2odt Filename : /usr/bin/rst2html Filename : /usr/bin/rst2pseudoxml Filename : /usr/bin/rst2xml Filename : /usr/bin/rst2s5 Filename : /usr/bin/rst2latex Filename : /usr/bin/rst2man Filename : /usr/bin/rst2odt_prepstyles Filename : /usr/bin/rst2xetex -- http://defun.work/ |