Menu
I have installed MacTex 2013 and it seems to be properly installed, except that the binaries used at are from macports. 'sudo port uninstall texlive' will not do anything.
Active4 years ago
I have installed MacTex 2013 and it seems to be properly installed, except that the binaries used at are from macports.
'sudo port uninstall texlive' will not do anything. No output from the command.
'sudo port list | grep tex/' gives the following list of installed tex programs:
Mac Install Texlive
Does this mean I should execute 'port uninstall' for each one of the above lines?
user33339user33339
3 Answers
First of all,
port list
shows all packages that are known to MacPorts. To get a list of packages that are actually installed, use port installed
. Slower but with a few more details: port list installed
.As for your actual problem: Maybe the reason why uninstalling 'texlive' produces no output is because the package is not installed in the first place. Try to determine a concrete binary that is interfering with MacTex and that you want to get rid of. Then determine the MacPorts package to uninstall with this command:
herzbubeherzbubeport provides /path/to/file
.31411 gold badge44 silver badges1414 bronze badges
I was trying to solve the same problem because I have a working MacTeX install, but then macports installed texlive as a dependency (for auctex). Mark's comment,
Yes, or perhaps put the MacTex path ahead on your $PATH,
prompted me to check, and sure enough, the MacTeX path was totally absent. I have simply put it on the front of my $PATH variable and things now work as before. I'll deal with that extra texlive installation some other time :p.
In terminal do
and then ls (list the directory) and such to follow the directories until you find your texlive binaries (e.g. latex, pdftex, etc). Once you find the full path to them you can add them to your bash profile (see below).
Put something like this into your ~/.bash_profile file BELOW any changes made by MacPorts texlive.
Alejandro EricksonAlejandro Erickson
sudo port uninstall --follow-dependents texlive-bin
This should do it. Just in case, do the same for texlive-common.
Ébe IsaacMac Uninstall Texlive
Ébe Isaac24411 gold badge33 silver badges1717 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged macportslatex .
Active9 months ago
Ubuntu and Latex newbie here. Very basic question I have.
I recently installed Latex using the following code:
However, I want to uninstall this and just get the latex base for now.
I tried the following but it doesn't work:
dpkg --get-selections | grep tex
Icom downloads windows 10. shows that a number of latex related files are installed.![Mac uninstall texlive free Mac uninstall texlive free](/uploads/1/2/4/9/124906551/185753578.png)
How do I remove texlive?
ATMathewATMathew![Mac Uninstall Texlive Mac Uninstall Texlive](/uploads/1/2/4/9/124906551/590175494.png)
64166 gold badges1414 silver badges2323 bronze badges
4 Answers
Many other dependencies also got in when you ran
sudo apt-get install texlive
. When you ran the apt-get remove
command, then only the texlive package was uninstalled, not its dependencies.You can easily remove these extra unneeded dependencies by running:
Bilal AkhtarBilal Akhtar2,65011 gold badge1313 silver badges1515 bronze badges
sudo apt-get remove tex-common
resolved the problem for me.5,38277 gold badges3030 silver badges4444 bronze badges
luiz carlos juniorluiz carlos junior
Then download and install directly from TUG.You can choose your operating system there.This has a bunch of packages and is much more complete than other distributions.Much better than
sudo apt-get install latex
.user171440user171440
Reza RahemiReza Rahemi