Meh*_*hdi 2 installation synaptic latex 12.10
I had a problem with texlive on my ubuntu 12.10. It could not find setspace.sty and tlmgr didn't work. I googled it a little but i couldn't figure it out how to solve it (i'm a rookie)
So i removed texlive from synaptic and installed it again from iso file that i had downloaded (it's TexLive 2012).
But somehow it does not work at all now (pdflatex and etc). I checked synaptic and there is no package installed related to texlive and when when i try to remove it from terminal it shows:
E: Unable to locate package texlive
Run Code Online (Sandbox Code Playgroud)
After tring sudo apt-get update
it still shows the same error.
Any suggestion will be appreciated.
Sorry to say this, but I think you don't know what you're doing. Let me explain it a bit.
texlive
, not textlive
.tlmgr
is supposed not to work in Ubuntu, as you should install TeX Live packages using your system package management, rather than another package management tool only for one application. This is a change that Ubuntu/Debian package managers make to software and such a change applies to many more packages. For example, the Firefox updater is disabled in the application itself - you will get it via the system package updates instead. See below one approach I use to find the right Ubuntu package.Steps to get your system back in a reasonable working state:
Remove all the packages with possible leftovers as well:
sudo apt-get remove texlive texlive-\*
Run Code Online (Sandbox Code Playgroud)Reinstall:
sudo add-apt-repository universe
sudo apt-get install texlive-generic-recommended
Run Code Online (Sandbox Code Playgroud)安装您需要的其他软件包。使用texlive-
关键字搜索您可能需要的通用包的包管理。对于特定丢失的.sty
文件,请使用packages.ubuntu.com
搜索,就像我在这里所做的那样:setspace.sty
search。它会显示这个文件存在于texlive-latex-recommended
包中(我猜你以前没有安装过)。