MikTeX package manager for Linux
One of the few things I really missed when I switched from Windows to Linux was MikTeX, since it makes installation of LaTeX packages very easy, where Linux makes you jump through hoops. So I’m delighted that MikTeX brings this functionality to Linux, trough MikTeX Tools.
Since this is not available through aptitude, you have to download the source and compile, it but it’s straightforward if you follow the readme file that comes with the package. Above all, Ubuntu proved great as usual at helping me get the missing dependencies, by automatically suggesting which package I needed to aptitude when I typed a command it didn’t find (curl-config and cmake).
I just had one problem: when I tried to update the mpm database, I got:
mpm --update-db mpm: error while loading shared libraries: libMiKTeX207-core.so.1: cannot open shared object file: No such file or directory
It turns out the source files were in a different location, and all I had to do was:
sudo ldconfig
Now installing packages is as easy as:
mpm --install=emerald
September 17th, 2008 at 04:01
Thanks for the tip about ‘sudo ldconfig’! I got the same error as you and was bracing myself for a grueling fight with Google for a solution. Your post saved me a lot of bruises.
September 17th, 2008 at 09:45
Glad you found it useful! :)