I advise to recur to an installation by hand of a tex package only when such tex package is not available in an ubuntu package.
Searching for it with
apt-file -x search '/textcomp.sty$'
I obtain the following results:
texlive-latex-base: /usr/share/texmf-texlive/tex/latex/base/textcomp.sty
and it say the tex package you look for is contained in the ubuntu package whose name is texlive-latex-base
, so install it, if not already installed.
By the way, apt-file
is a command to install separately from the apt-get
package, and only a convenient and alternative way to search into the repositories the same way as http://packages.ubuntu.com/.