20

I was trying to install Adobe flash plugin for Firefox 24.0 on Ubuntu 12.04 for which I executed sudo apt-get install ubuntu-restricted-extras and I got the following messages:

surprise

What suprises me is the packages it is downloading: .exe Is this normal?

Braiam
  • 67,791
  • 32
  • 179
  • 269
jobin
  • 27,708
  • 1
    just a side note: the executables are self-extracting cabinet files (containing the font files); Ubuntu doesn't need to run them to use them, any decent archiver can pull them apart. – KutuluMike Sep 28 '13 at 23:35
  • @MichaelEdenfield: How is a .exe self-extracting? I didn't get the point. – jobin Sep 29 '13 at 04:17
  • 1
    the executable is a small cab-file extractor program that has the cabinet itself attached as a resource; when you run the program on a Windows system, it finds the cabinet data embedded in the executable and extracts it. But any archive program can do the same as long as it's smart enough to skip the executable part (e.g. I usually open then with 7-zip on Windows) – KutuluMike Sep 29 '13 at 04:31

2 Answers2

29

These fonts were originally released by Microsoft as executable installers, and their license only allows "complete copies" to be distributed:

Reproduction and Distribution. You may reproduce and distribute an unlimited number of copies of the SOFTWARE PRODUCT; provided that each copy shall be a true and complete copy, including all copyright and trademark notices, and shall be accompanied by a copy of this EULA. Copies of the SOFTWARE PRODUCT may not be distributed for profit either on a standalone basis or included as part of your own product.

Ubuntu's package doesn't actually contain a copy of the fonts, but rather a script that downloads the original Windows executables from a third-party archive. The script then extracts and installs the fonts without actually running the executables.

It's a convoluted arrangement, but that's what happens when software is released with restrictive licensing.

ændrük
  • 76,794
8

Installing the ubuntu-restricted-extras package installs several non-free pieces of software you might be likely to use. One of these is ttf-mscorefonts-installer, which is what's actually downloading these .exe files. These are commonly used for Wine applications.

To install just Flash, use apt-get install libflashplugin-installer. To see which other packages would be installed if you did go with all the restricted extras, you can do a dry-run without actually installing them - apt-get -s install ubuntu-restricted-extras.

  • Thanks Mactrent, but why isn't there a debian package for this? – jobin Sep 29 '13 at 04:24
  • 3
    ændrük's answer covers it - the Microsoft license only allows you to use the fonts at all if you download the entire package - which means running the install exes. The Debian package we do have simply installs the installers, so to speak. TL;DR: To use a Microsoft product - even a 'free' one - you have to do it on their terms. –  Sep 29 '13 at 04:53