<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>男单 618 &#187; 包依赖</title>
	<atom:link href="http://www.ai7.org/wp/html/tag/%e5%8c%85%e4%be%9d%e8%b5%96/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ai7.org/wp</link>
	<description>生活象筒装的卫生纸，开始的时候怎么扯都不觉得在转，后来转的越来越快。</description>
	<lastBuildDate>Sun, 11 Dec 2011 12:22:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>解决apt依赖问题</title>
		<link>http://www.ai7.org/wp/html/560.html</link>
		<comments>http://www.ai7.org/wp/html/560.html#comments</comments>
		<pubDate>Mon, 19 Oct 2009 12:02:32 +0000</pubDate>
		<dc:creator>amao</dc:creator>
				<category><![CDATA[LaTeX相关]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[包依赖]]></category>

		<guid isPermaLink="false">http://www.ai7.org/wp/html/560.html</guid>
		<description><![CDATA[在Ubuntu下一直是用国内朋友修改后的texlive，原来是2005，现在是2008。这样如果再要装kile这样的软件的话，就会有包依赖的问题，一直不知道怎么解决。今天在查另外一个问题的时候，无意中看到解决方案。总的来就，就是造一个假包装上。在这里，42楼：http://forum.ubuntu.org.cn/viewtopic.php?f=35&#038;t=168940。下面还是转一下原文。 引用: 另外我想重复再问一下，谁有解决 apt 包依赖问题的办法？ 手工安装 TeX Live 后，如果还要从源里安装依赖 texlive 的软件（一个明显的例子就是 LaTeX 的编辑器 kile），就又会要求你再装源里面的那个已经被分解得比较零碎的 texlive2007。似乎是需要做一个关于 texlive 的空的假包？哪里有相关的文档，似乎不好找。 装 dummy 包的办法很简单了，过程如下： 代码: sudo apt-get install equivs 它要装不少东西，好在不是很大，另外有我本来就需要的 MySQL。 在桌面上新建一 .ctl 个文件，比如：texlive-dummy.ctl 。 然后添加如下内容： 代码: Section: tex Package: texlive-dummy Provides: texlive, texlive-base-bin, texlive-base-bin-doc,texlive-bibtex-extra, texlive-common, texlive-doc-base, texlive-doc-bg,texlive-doc-cs+sk, texlive-doc-de, texlive-doc-el, texlive-doc-en,texlive-doc-es, texlive-doc-fi, texlive-doc-fr, texlive-doc-it,texlive-doc-ko, texlive-doc-mn, texlive-doc-nl, texlive-doc-pl,texlive-doc-pt, texlive-doc-ru, texlive-doc-th, <a href="http://www.ai7.org/wp/html/560.html"> read more <span class="meta-nav">&#187;</span></a><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F646.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">reStructuredTEXT输出为LaTeX以及公式的问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F899.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[转]LaTeX技巧503：LaTeX的符号查找技巧</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F925.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一个新的支持latex的vim插件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F585.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一种基于Latex语言的中文期刊双栏排版模板</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在Ubuntu下一直是用国内朋友修改后的texlive，原来是2005，现在是2008。这样如果再要装kile这样的软件的话，就会有包依赖的问题，一直不知道怎么解决。今天在查另外一个问题的时候，无意中看到解决方案。总的来就，就是造一个假包装上。在这里，42楼：<a target="_blank" href="http://forum.ubuntu.org.cn/viewtopic.php?f=35&#038;t=168940">http://forum.ubuntu.org.cn/viewtopic.php?f=35&#038;t=168940</a>。下面还是转一下原文。</p>
<p><b>引用:</b>
<div class="quotecontent"><span style="color: rgb(0, 0, 255);">另外我想重复再问一下，谁有解决 apt 包依赖问题的办法？</p>
<p>手工安装 TeX Live 后，如果还要从源里安装依赖 texlive 的软件（一个明显的例子就是 LaTeX 的编辑器 kile），就又会要求你再装源里面的那个已经被分解得比较零碎的 texlive2007。似乎是需要做一个关于 texlive 的空的假包？哪里有相关的文档，似乎不好找。</span></div>
<p>装 dummy 包的办法很简单了，过程如下：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">sudo apt-get install equivs</div>
<p>它要装不少东西，好在不是很大，另外有我本来就需要的 MySQL。</p>
<p>在桌面上新建一 .ctl 个文件，比如：texlive-dummy.ctl 。</p>
<p>然后添加如下内容：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">Section: tex<br />
Package: texlive-dummy<br />
Provides: texlive, texlive-base-bin, texlive-base-bin-doc,texlive-bibtex-extra, texlive-common, texlive-doc-base, texlive-doc-bg,texlive-doc-cs+sk, texlive-doc-de, texlive-doc-el, texlive-doc-en,texlive-doc-es, texlive-doc-fi, texlive-doc-fr, texlive-doc-it,texlive-doc-ko, texlive-doc-mn, texlive-doc-nl, texlive-doc-pl,texlive-doc-pt, texlive-doc-ru, texlive-doc-th, texlive-doc-tr,texlive-doc-uk, texlive-doc-vi, texlive-doc-zh, texlive-extra-utils,texlive-font-utils, texlive-fonts-extra, texlive-fonts-extra-doc,texlive-fonts-recommended, texlive-fonts-recommended-doc,texlive-formats-extra, texlive-full, texlive-games,texlive-generic-extra, texlive-generic-recommended, texlive-humanities,texlive-humanities-doc, texlive-lang-african, texlive-lang-all,texlive-lang-arab, texlive-lang-armenian, texlive-lang-cyrillic,texlive-lang-czechslovak, texlive-lang-danish, texlive-lang-dutch,texlive-lang-finnish, texlive-lang-french, texlive-lang-german,texlive-lang-greek, texlive-lang-hebrew, texlive-lang-hungarian,texlive-lang-indic, texlive-lang-italian, texlive-lang-latin,texlive-lang-manju, texlive-lang-mongolian, texlive-lang-norwegian,texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,texlive-lang-swedish, texlive-lang-tibetan, texlive-lang-ukenglish,texlive-lang-vietnamese, texlive-latex-base, texlive-latex-base-doc,texlive-latex-extra, texlive-latex-extra-doc, texlive-latex-recommended,texlive-latex-recommended-doc, texlive-latex3, texlive-math-extra,texlive-metapost, texlive-metapost-doc, texlive-music, texlive-omega,texlive-pictures, texlive-pictures-doc, texlive-plain-extra,texlive-pstricks, texlive-pstricks-doc, texlive-publishers,texlive-publishers-doc, texlive-science, texlive-science-doc,texlive-xetex, texlive-lang-other, texlive-lang-croatian, texlive-base,texlive-doc-ja, cm-super, lmodern, latex-xcolor, latex-beamer, pgf,preview-latex-style<br />
Description: TeXlive dummy package<br />
 This package provides dpkg with the information that<br />
 there is a local TeXlive version installed. </div>
<p>保存后开始打包：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">sudo equivs-build texlive-dummy.ctl</div>
<p>然后可以看见一个 deb 文件，名为：texlive-dummy_1.0_all.deb</p>
<p>现在就可以安装它了：</p>
<div class="codetitle"><b>代码:</b></div>
<div class="codecontent">sudo dpkg -i texlive-dummy_1.0_all.deb</div>
<p>行了，下面就不用多说了，打开新立德，找到 kile 安装就是了，效果如下：</p>
<div class="attachtitle">附件:</div>
<div class="attachcontent">                <a href="http://forum.ubuntu.org.cn/download/file.php?id=55217&#038;t=1" id="" class="highslide" onclick="return hs.expand(this)"><img src="http://forum.ubuntu.org.cn/download/file.php?id=55217&#038;t=1" alt="Screenshot.png" title="Click to enlarge" /></a> </p>
<p><span class="gensmall">Screenshot.png [ 1002.93 KiB | 被浏览 738 次 ]</span></p></div>
<p>顺便把这两个文件也一并打包附赠：</p>
<div class="attachtitle">附件:</div>
<div class="attachcontent">			<span class="genmed"><br />
				<img src="./styles/UbuntuCN/imageset/icon_topic_attach.gif" alt="" title="" height="18" width="14" /> 				<a href="http://forum.ubuntu.org.cn/download/file.php?id=65674">texlive-dummy.tar.gz</a> [4.25 KiB]<br />
			</span></p>
<p>			<span class="gensmall">被下载 90 次</span> </p>
</div>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=a162c3f9-35d0-80f3-a2fe-117f1831e63c" /></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F646.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">reStructuredTEXT输出为LaTeX以及公式的问题</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F899.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[转]LaTeX技巧503：LaTeX的符号查找技巧</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F925.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一个新的支持latex的vim插件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F585.html&from=http%3A%2F%2Fwww.ai7.org%2Fwp%2Fhtml%2F560.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一种基于Latex语言的中文期刊双栏排版模板</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ai7.org/wp/html/560.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

