I am trying to install MATLAB on a headless Linux server at work, and it is ridiculously miserable. I can’t believe that this is the industry standard. It is no wonder that people are switching to Python, Octave and Maxima. Between free, gratis systems and expensive with horrible installation, there is little to recommend MATLAB.
blog
New TrueType fonts in Debian
I had a font I needed to install to make some graphics for a web project. It was easy enough to buy the font – I just chose the option for the TrueType file (TTF) and I knew I’d be fine. I had a little trouble getting the font to show up though, so I record my efforts here.
- Put the TTF files (there’s usually three) in their own subdirectory of
/usr/share/fonts/truetype. - As root, run these two commands in the new subdirectory:
mkfontscaleandmkfontdir - Check to see if the font is installed: run
xlsfontsand see if your font is there - If you don’t see your font, start Googling, but perhaps start here.
Cloning your Debian Install
Sometimes you need to reinstall a Debian system. Maybe your hard drive is going pear-shaped, maybe you got a new computer, maybe you are replicating a system, maybe you are building a lab. In any case, if you want all the packages that are installed on system 1 on your new/other system 2, here’s an easy way:
- On system 1, make a file with your installed/removed packages:
dpkg --get-selections > packages.txt - Get a base install done on system 2, and set
/etc/apt/sources.listto be the same as on system 1 - Get
packages.txtonto system 2 - Run
dpkg --set-selections < packages.txton system 2 - Run
dselect installon system 2 - Optional: Dance