[Tex/LaTex] `media9.sty’ not found

installingmedia9texliveUbuntu

I am using Texmaker and Gummi on Ubuntu 12.04. I want to embed videos in my PDFs and have downloaded media9.tds.zip, l3kernel.tds.zip, l3packages.ts.zip and l3experimental.tds.zip. I unzipped and pasted them in /usr/local/share/texmf and then I ran sudo texhash command in terminal.

The problem is that when I am using media9 package in the document either using Texmaker or Gummi the error arises saying:

LaTeX Error: File `media9.sty' not found.

I have looked for some of the answers on the similar questions but those do not work for me.

Best Answer

It sounds like you are working off the answer from a previous question.

This is very much the hard way to do things. I strongly recommend instead updating your whole TeXLive install, as this will remove a lot of outdated packages that cause problems. There are a few ways detailed in this answer. However, it APPEARS that Ubuntu has finally started shipping decently up to date versions of LaTeX. This means that it is now easier to install TeXLive, simply install it from the backports repository, and it will update like any other package. Now you don't have to install these files yourself.