个人工具

“UbuntuHelp:MiktexPackageManager”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/MiktexPackageManager}} {{Languages|UbuntuHelp:MiktexPackageManager}} == Introduction == MPM (MiKTeX Package Manager) is used to install packag...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/MiktexPackageManager}}
 
{{From|https://help.ubuntu.com/community/MiktexPackageManager}}
 
{{Languages|UbuntuHelp:MiktexPackageManager}}
 
{{Languages|UbuntuHelp:MiktexPackageManager}}
 
 
 
 
== Introduction ==
 
== Introduction ==
 
 
MPM (MiKTeX Package Manager) is used to install packages from a MiKTeX package repository.
 
MPM (MiKTeX Package Manager) is used to install packages from a MiKTeX package repository.
 
 
MPM was originally intended to be a tool for MiKTeX users. But the program can be helpful for users of other TeX systems too, because many of the MiKTeX packages are system-independent.
 
MPM was originally intended to be a tool for MiKTeX users. But the program can be helpful for users of other TeX systems too, because many of the MiKTeX packages are system-independent.
 
 
Its a bit like apt-get for [[UbuntuHelp:LaTeX]].
 
Its a bit like apt-get for [[UbuntuHelp:LaTeX]].
 
 
For more information see  
 
For more information see  
 
 
[http://miktex.org/unx/ MiKTeX Tools]  
 
[http://miktex.org/unx/ MiKTeX Tools]  
 
 
[http://docs.miktex.org/manual/mpm.html MiKTeX Package Manager manual]
 
[http://docs.miktex.org/manual/mpm.html MiKTeX Package Manager manual]
 
 
== Installation  ==
 
== Installation  ==
 
 
Unfortunately there is no ubuntu package for MPM so you need to compile it yourself. Fortunately it is easy enough to compile.  
 
Unfortunately there is no ubuntu package for MPM so you need to compile it yourself. Fortunately it is easy enough to compile.  
 
 
Steps:
 
Steps:
 
 
 
* Download the package <code><nowiki>MiKTeX Tools</nowiki></code> from sourceforge  [http://sourceforge.net/project/showfiles.php?group_id=10783 Download MiKTeX Tools ]
 
* Download the package <code><nowiki>MiKTeX Tools</nowiki></code> from sourceforge  [http://sourceforge.net/project/showfiles.php?group_id=10783 Download MiKTeX Tools ]
 
 
 
* Move the files to an appropriate place, untar them and enter the directory. Type:  
 
* Move the files to an appropriate place, untar them and enter the directory. Type:  
 
<pre><nowiki>
 
<pre><nowiki>
第34行: 第18行:
 
</nowiki></pre>
 
</nowiki></pre>
 
You may need to type something slightly different if the version number has changed.
 
You may need to type something slightly different if the version number has changed.
 
 
* Install some  packages needed to compile the program. Type:
 
* Install some  packages needed to compile the program. Type:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install build-essential libcurl3-openssl-dev  
 
sudo apt-get install build-essential libcurl3-openssl-dev  
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* Compile the program. Type:
 
* Compile the program. Type:
 
<pre><nowiki>
 
<pre><nowiki>
 
./configure; make
 
./configure; make
 
</nowiki></pre>
 
</nowiki></pre>
 
 
* Install the program. Type
 
* Install the program. Type
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo make install
 
sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
 
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png Instead of using the command <code><nowiki>sudo make install</nowiki></code> you can use checkinstall. Checkinstall can create a debian package. For instructions on how to use it see [[UbuntuHelp:CheckInstall]]  
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=info.png Instead of using the command <code><nowiki>sudo make install</nowiki></code> you can use checkinstall. Checkinstall can create a debian package. For instructions on how to use it see [[UbuntuHelp:CheckInstall]]  
 
 
== How to use  ==
 
== How to use  ==
 
 
[http://dojo.miktex.org/blogs/christian_schenk/articles/mpmunix.aspx How to use the MiKTeX package manager on Unix-like operating systems]
 
[http://dojo.miktex.org/blogs/christian_schenk/articles/mpmunix.aspx How to use the MiKTeX package manager on Unix-like operating systems]
 
----
 
----

2007年11月30日 (五) 20:17的版本

Introduction

MPM (MiKTeX Package Manager) is used to install packages from a MiKTeX package repository. MPM was originally intended to be a tool for MiKTeX users. But the program can be helpful for users of other TeX systems too, because many of the MiKTeX packages are system-independent. Its a bit like apt-get for UbuntuHelp:LaTeX. For more information see MiKTeX Tools MiKTeX Package Manager manual

Installation

Unfortunately there is no ubuntu package for MPM so you need to compile it yourself. Fortunately it is easy enough to compile. Steps:

  • Download the package MiKTeX Tools from sourceforge Download MiKTeX Tools
  • Move the files to an appropriate place, untar them and enter the directory. Type:
tar xvzf  miktex-tools-2.5.2398-beta-14.tar.gz
cd  miktex-tools-2.5.2398-beta-14

You may need to type something slightly different if the version number has changed.

  • Install some packages needed to compile the program. Type:
sudo apt-get install build-essential libcurl3-openssl-dev 
  • Compile the program. Type:
./configure; make
  • Install the program. Type
sudo make install

IconsPage?action=AttachFile&do=get&target=info.png Instead of using the command sudo make install you can use checkinstall. Checkinstall can create a debian package. For instructions on how to use it see UbuntuHelp:CheckInstall

How to use

How to use the MiKTeX package manager on Unix-like operating systems