What is autopoint? [closed]

Solution 1:

The autopoint program is part of GNU gettext, a set of tools for translating programs into different languages.

In Ubuntu 12.04 LTS and later, it can be installed with

apt-get install autopoint

as you rightly assumed. In Ubuntu 10.04 LTS, however, the autopoint program was part of a monolithic gettext package. So you should

apt-get install gettext

instead.

Solution 2:

To find where a package is, do this (example in 14.04).

  1. Install apt-file:

    sudo apt-get install apt-file 
    sudo apt-file update 
    
  2. Wait :-)

  3. search for a file:

    apt-file search autopoint 
    
  4. Results:

    autopoint: /usr/bin/autopoint
    autopoint: /usr/share/doc/autopoint/changelog.Debian.gz
    autopoint: /usr/share/doc/autopoint/copyright
    autopoint: /usr/share/man/man1/autopoint.1.gz
    engauge-digitizer-doc: /usr/share/doc/engauge-digitizer-doc/html/tutorautopointgraph.html
    [...more things...]
    ruby-ffi: /usr/lib/ruby/vendor_ruby/ffi/autopointer.rb
    

    So the package in this case seems to be autopoint.

  5. In which repository is the package?

    apt-cache policy autopoint
    

    which says:

    autopoint:
      Installed: (none)
      Candidate: 0.18.3.1-1ubuntu3
      Version table:
         0.18.3.1-1ubuntu3 0
            500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
         0.18.3.1-1ubuntu2 0
            500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
    

So it is in main; no need to add more repository (it could be /universe, /partner etc. which you have to enable).