TeXblog

 Typography with TeX and LaTeX

The MiKTeX Package Manager 2.7 on Ubuntu Linux 8.04 LTS (Hardy Heron)

1 July 2008 by Stefan Kottwitz

The MiKTeX Package Manager (mpm) is a tool originally intended for MiKTeX users on Windows platforms. It was ported by Christian Schenk for unix systems, to provide easy access to the MiKTeX package repository also for unix user. There are some docs describing installation and use, some are obsolete now, that’s why I will give a summary how I’ve installed the mpm on the latest Ubuntu Linux version today.

The mpm sources can be downloaded from http://miktex.org/unx.

Important: have a look at the README.unx file! Below are the commands I applied during installation.

Installation of some required packages in addition to the basic setup:
$ sudo apt-get install g++ cmake libcurl3 libcurl4-gnutls-dev lynx

Decompress the archive, change into the created directory, run cmake to produce customized makefiles (I added options to use texmf in my home directory) , run make to compile and to install:
$ tar xfj miktex-2.7.2960.tar.bz2
$ cd miktex-2.7.2960/
$ cmake -G "Unix Makefiles" -DMIKTEX_INSTALLROOT="/home/stefan/texmf" -DMIKTEX_ROOTS="/home/stefan/texmf"
$ make
$ sudo make install

The MiKTeX Package Manager installation is complete. Create the file name database files:
$ sudo ldconfig
$ sudo initexmf -u
$ sudo mpm --update-db

Finally the mpm is ready to use.

Links:

This entry was posted on 1 July 2008 at 12:36 AM and is filed under Tools for LaTeX, Linux/ Ubuntu Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

5 responses about “The MiKTeX Package Manager 2.7 on Ubuntu Linux 8.04 LTS (Hardy Heron)”

  1. Stefan Kottwitz said:

    Instead of make install it could be a good idea to use the checkinstall tool.

  2. ElectroSizzle.com » Ubuntu 8.04, SUN Java6 JDK, TexLive, Eclipse 3.4 and Texlipse said:

    […] is a great LaTex package manager for windows, but it turns out you can compile it for linux too! I’m not going to go through it step by step, because that website does an excellent job of […]

  3. Aakaasha said:

    Does it work the same way with Ubuntu 7.10 too? I have problems with the “make” step.

  4. Stefan Kottwitz said:

    I was using the mpm 2.5 on Ubuntu 7.04 and 7.10, I’ve described the installation here, perhaps there’s already some useful information for you.
    Of course I have to say consider to update to at least 8.04.

  5. KOMA-Script 3 available - TeXblog - Typography with TeX and LaTeX said:

    […] edit Nov 11: KOMA-Script 3 is available now also as MiKTeX package. I’ve installed it with TeX Live on Ubuntu Linux by the MiKTeX package manager. […]

Leave a Reply