Referencing a previous question (List all installed packages and their versions from the command line) where the accepted solution to determining which packages have been installed on one's computer was to type the following in the command line:

mpm --list >test.txt

A snippet of the output file is reproduced below. Can someone please explain why some of these have 'i' and others have '-'?

- 00003     156041 lualatex-doc-de
- 00007     210562 lualatex-math
i 00039     507400 lualibs
- 00011     628914 luamesh
i 00008     251852 luamplib
i 00098    5295659 luaotfload
- 00006      41254 luapackageloader
- 00071     367828 luapersian
- 00006     278102 luasseq

This was done with Windows 10, MikTeX 2.9.6

  • AFAICS --list shows all available packages and only those marked with i are actually installed. The first number seems to be the number of files in the package and the second is the size in bytes.
    – moewe
    May 30 '18 at 19:59
  • The mpm docu at docs.miktex.org/manual/mpm.html mentions that the command to get a list of installed packages is mpm --list | grep ^i (but for that you need grep on your Windows machine), use mpm --list | findstr /b i instead
    – moewe
    May 30 '18 at 20:12

If you run the command on the terminal/console

mpm --help

you will find the following explanaition:

 --list                               List the contents of the package
                                      database: for each package, print
                                      the installation status, the number
                                      of files, the size, and the name.

So the i means installed, - means not installed ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.