What is autopoint?
I need to install autopoint. I tried by using
sudo apt-get install autopoint
But it says E: Unable to locate package autopoint. I am new to Ubuntu, I am using Ubuntu 10.04 LTS Lucid Lynx.
apt
shareimprove this question
edited May 19 '14 at 20:51
Braiam
50.4k20132215
asked May 19 '14 at 20:32
Rahul Matte
12815
closed as off-topic by Braiam, waltinator, Florian Diesch, user.dz, nux May 20 '14 at 6:29
This question appears to be off-topic. The users who voted to close gave this specific reason:
"This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?" – Braiam, waltinator, Florian Diesch, user.dz, nux
If this question can be reworded to fit the rules in the help center, please edit the question.
Why are you installing it in first place? – Braiam May 19 '14 at 20:51
autopoint isn't available for Ubuntu 10.04, you need at least Ubuntu 12.04. As Ubuntu 10.04 isn't supported for desktop use any more you likely should upgrade to 12.04 or later anyway. – Florian Diesch May 20 '14 at 3:39
add a comment
2 Answers
active
oldest
votes
up vote
6
down vote
accepted
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.
shareimprove this answer
answered May 19 '14 at 20:40
Mike Miller
3,97111834
add a comment
up vote
1
down vote
To find where a package is, do this (example in 14.04).
Install apt-file:
sudo apt-get install apt-file
sudo apt-file update
Wait :-)
search for a file:
apt-file search autopoint
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.
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).
shareimprove this answer
answered May 19 '14 at 20:50
Rmano
24.9k875144
IMO apt-cache search is better than apt-file.. but I dunno. – Seth♦ May 19 '14 at 20:54
@Seth apt-cache search searches the name and description of the packages, apt-file search searches the files too, even if not installed. In the case above, apt-cache search tutorautopointgraph.html will not find anything, while apt-file search tutorautopointgraph.htmlwill find the package èngauge-digitzer-doc`... – Rmano May 19 '14 at 20:58
I'm not sure I get your point, because the OP was searching for a package.. Unless you're saying using apt-file will help since autopoint isn't in the 10.04 repos.. – Seth♦ May 19 '14 at 21:10
@Seth yes - in 10.04 the package is named "gettext". So apt-cache search autopoint will not find it (the word autopoint is not in the package name nor in the description). apt-file will find it, because it searches also in the list of files that a package will install... try to search which package provides /bin/cat ;-) (hint: apt-file search -F /bin/cat) – Rmano May 20 '14 at 0:21