特殊:Badtitle/NS100:MiktexPackageManager
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MiktexPackageManager }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/af | • {{#if: UbuntuHelp:MiktexPackageManager|Afrikaans| [[::MiktexPackageManager/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ar | • {{#if: UbuntuHelp:MiktexPackageManager|العربية| [[::MiktexPackageManager/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/az | • {{#if: UbuntuHelp:MiktexPackageManager|azərbaycanca| [[::MiktexPackageManager/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/bcc | • {{#if: UbuntuHelp:MiktexPackageManager|جهلسری بلوچی| [[::MiktexPackageManager/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/bg | • {{#if: UbuntuHelp:MiktexPackageManager|български| [[::MiktexPackageManager/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/br | • {{#if: UbuntuHelp:MiktexPackageManager|brezhoneg| [[::MiktexPackageManager/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ca | • {{#if: UbuntuHelp:MiktexPackageManager|català| [[::MiktexPackageManager/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/cs | • {{#if: UbuntuHelp:MiktexPackageManager|čeština| [[::MiktexPackageManager/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/de | • {{#if: UbuntuHelp:MiktexPackageManager|Deutsch| [[::MiktexPackageManager/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/el | • {{#if: UbuntuHelp:MiktexPackageManager|Ελληνικά| [[::MiktexPackageManager/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/es | • {{#if: UbuntuHelp:MiktexPackageManager|español| [[::MiktexPackageManager/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/fa | • {{#if: UbuntuHelp:MiktexPackageManager|فارسی| [[::MiktexPackageManager/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/fi | • {{#if: UbuntuHelp:MiktexPackageManager|suomi| [[::MiktexPackageManager/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/fr | • {{#if: UbuntuHelp:MiktexPackageManager|français| [[::MiktexPackageManager/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/gu | • {{#if: UbuntuHelp:MiktexPackageManager|ગુજરાતી| [[::MiktexPackageManager/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/he | • {{#if: UbuntuHelp:MiktexPackageManager|עברית| [[::MiktexPackageManager/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/hu | • {{#if: UbuntuHelp:MiktexPackageManager|magyar| [[::MiktexPackageManager/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/id | • {{#if: UbuntuHelp:MiktexPackageManager|Bahasa Indonesia| [[::MiktexPackageManager/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/it | • {{#if: UbuntuHelp:MiktexPackageManager|italiano| [[::MiktexPackageManager/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ja | • {{#if: UbuntuHelp:MiktexPackageManager|日本語| [[::MiktexPackageManager/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ko | • {{#if: UbuntuHelp:MiktexPackageManager|한국어| [[::MiktexPackageManager/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ksh | • {{#if: UbuntuHelp:MiktexPackageManager|Ripoarisch| [[::MiktexPackageManager/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/mr | • {{#if: UbuntuHelp:MiktexPackageManager|मराठी| [[::MiktexPackageManager/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ms | • {{#if: UbuntuHelp:MiktexPackageManager|Bahasa Melayu| [[::MiktexPackageManager/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/nl | • {{#if: UbuntuHelp:MiktexPackageManager|Nederlands| [[::MiktexPackageManager/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/no | • {{#if: UbuntuHelp:MiktexPackageManager|norsk| [[::MiktexPackageManager/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/oc | • {{#if: UbuntuHelp:MiktexPackageManager|occitan| [[::MiktexPackageManager/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/pl | • {{#if: UbuntuHelp:MiktexPackageManager|polski| [[::MiktexPackageManager/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/pt | • {{#if: UbuntuHelp:MiktexPackageManager|português| [[::MiktexPackageManager/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ro | • {{#if: UbuntuHelp:MiktexPackageManager|română| [[::MiktexPackageManager/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/ru | • {{#if: UbuntuHelp:MiktexPackageManager|русский| [[::MiktexPackageManager/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/si | • {{#if: UbuntuHelp:MiktexPackageManager|සිංහල| [[::MiktexPackageManager/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/sq | • {{#if: UbuntuHelp:MiktexPackageManager|shqip| [[::MiktexPackageManager/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/sr | • {{#if: UbuntuHelp:MiktexPackageManager|српски / srpski| [[::MiktexPackageManager/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/sv | • {{#if: UbuntuHelp:MiktexPackageManager|svenska| [[::MiktexPackageManager/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/th | • {{#if: UbuntuHelp:MiktexPackageManager|ไทย| [[::MiktexPackageManager/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/tr | • {{#if: UbuntuHelp:MiktexPackageManager|Türkçe| [[::MiktexPackageManager/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/vi | • {{#if: UbuntuHelp:MiktexPackageManager|Tiếng Việt| [[::MiktexPackageManager/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/yue | • {{#if: UbuntuHelp:MiktexPackageManager|粵語| [[::MiktexPackageManager/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/zh | • {{#if: UbuntuHelp:MiktexPackageManager|中文| [[::MiktexPackageManager/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/zh-hans | • {{#if: UbuntuHelp:MiktexPackageManager|中文(简体)| [[::MiktexPackageManager/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MiktexPackageManager | UbuntuHelp:MiktexPackageManager | {{#if: | :}}MiktexPackageManager}}/zh-hant | • {{#if: UbuntuHelp:MiktexPackageManager|中文(繁體)| [[::MiktexPackageManager/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MiktexPackageManager|:MiktexPackageManager|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MiktexPackageManager/zh | | {{#ifexist: MiktexPackageManager/zh | | {{#ifeq: {{#titleparts:MiktexPackageManager|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MiktexPackageManager|1|-1|}} | zh | | }}
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
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
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