The MiKTeX Tools project is an attempt to port some of the MiKTeX utilities to other systems: GNU/Linux, Mac OS X and other UNIX system-alikes.  To install on ubuntu, follow the following steps...

Well, TeX Live now has its own package manager, tlmgr.  Installation instructions are here.  If you still want to use MikTeX tools.  Read on.

Of course, you need the MikTeX tools source.  Read the README.unx file first.

  • Prerequisites
    1. sudo apt-get install cmake
    2. sudo apt-get install libcurl4-gnutls-dev
    3. sudo apt-get install g++
      (or get an error from cmake: Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND)
    4. sudo apt-get install lynx
      (or get an error from cmake: CMake Error: The program lynx could not be found.)
  • To compile
    1. cmake -G "Unix Makefiles" -DMIKTEX_INSTALLROOT=/etc/texmf
    2. make
    3. sudo make install
    4. sudo ldconfig
  • To use:
    1. To update the package database information run
      sudo mpm --update-db
    2. To list the contents of the installed package database, run
      mpm --list
    3. To get detailed information about a package, run
      mpm --print-package-info=PACKAGE
    4. To install a package, run
      sudo mpm --install=PACKAGE
    5. To update the fontname database, run
      initexmf -u