I use texstudio in Ubuntu and I would like to use svg package:
\usepackage{svg}
File `svg.sty' not found. ^^M
The only thing I found is a closed thread.
My attempt for installation of this package has failed:
$ tlmgr install svg
(running on Debian, switching to user mode!)
cannot setup TLPDB in /home/ar2015/texmf at /usr/bin/tlmgr line 5336.
Where am I wrong?
Update
This is my code:
\begin{figure}[ht!]
\centering
\includesvg[width=140mm]{images/pos_before.svg}
\caption{Previous output \label{overflow}}
\end{figure}
Please avoid linking to posts which do not solve the problem straight forward.
svg. That is, Debian will put a bunch of related LaTeX packages into one Debian package. Find out which one and install that using your regular package manager (nottlmgr). That is, if you wish to use Debian's packages for TeX Live, stick to them. – cfr Mar 17 '15 at 00:03svgCTAN package is part of your distribution'stexlive-latex-extrapackage. Install that (texlive-latex-extra) with your distribution's package manager. – Paul Gessler Mar 17 '15 at 00:05--no-install-recommendsswitch to reduce it into 48 MB. Now there is no error on latex package calling but I see this problemUnknown graphics extension: .svg. ...raphics[width=140mm]{images/pos_after.svg}– ar2015 Mar 17 '15 at 00:10svgpackage? You should not use\includegraphicsbut\includesvg[<options>]{<svg filename>}instead, for SVG files. – Paul Gessler Mar 17 '15 at 00:12-shell-escapeflag? Do you have InkScape installed? These are all things that are needed for the packagesvgto do what it does. – Paul Gessler Mar 17 '15 at 00:24-shell-escape– ar2015 Mar 17 '15 at 00:30apt-getto install the appropriate distro package) is precisely what you have done in your answer below, so it did solve your problem. – Paul Gessler Mar 17 '15 at 00:37texlive-latex-extramentioned there? – ar2015 Mar 17 '15 at 00:38