Friday, May 22, 2015

Find the package to install for a missing program

I wanted to use the avconv program on an Ubuntu  14.04 box, but it turned out that it was not available on this particular machine:

  ub$ avconv -i v.mkv -vcodec libx264 -acodec libmp3lame -ac 2 v.mp4
  avconv: command not found

Oftentimes, the name of the package supplying a command is the name of the command. Thus I tried

  ub$ sudo apt-get install avconv
  ...
  E: Unable to locate package avconv

So how to find out the name of the package that would provide avconv? Google threw up a ton of suggestions but the most simple solution turned out to just query a database suppled by Ubuntu :


Clicking on Search told me that I had to install the libav-tools package:





No comments:

Post a Comment