How to uninstall Latex?












7















Ubuntu and Latex newbie here. Very basic question I have.



I recently installed Latex using the following code:



sudo apt-get install texlive


However, I want to uninstall this and just get the latex base for now.



I tried the following but it doesn't work:



sudo apt-get remove texlive


dpkg --get-selections | grep tex shows that a number of latex related files are installed.



How do I remove texlive?










share|improve this question

























  • sudo apt-get purge --auto-remove texlive*

    – Reza Rahemi
    Dec 9 '18 at 17:50
















7















Ubuntu and Latex newbie here. Very basic question I have.



I recently installed Latex using the following code:



sudo apt-get install texlive


However, I want to uninstall this and just get the latex base for now.



I tried the following but it doesn't work:



sudo apt-get remove texlive


dpkg --get-selections | grep tex shows that a number of latex related files are installed.



How do I remove texlive?










share|improve this question

























  • sudo apt-get purge --auto-remove texlive*

    – Reza Rahemi
    Dec 9 '18 at 17:50














7












7








7








Ubuntu and Latex newbie here. Very basic question I have.



I recently installed Latex using the following code:



sudo apt-get install texlive


However, I want to uninstall this and just get the latex base for now.



I tried the following but it doesn't work:



sudo apt-get remove texlive


dpkg --get-selections | grep tex shows that a number of latex related files are installed.



How do I remove texlive?










share|improve this question
















Ubuntu and Latex newbie here. Very basic question I have.



I recently installed Latex using the following code:



sudo apt-get install texlive


However, I want to uninstall this and just get the latex base for now.



I tried the following but it doesn't work:



sudo apt-get remove texlive


dpkg --get-selections | grep tex shows that a number of latex related files are installed.



How do I remove texlive?







uninstall latex






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 9 '18 at 5:55









muru

1




1










asked Apr 15 '11 at 1:01









ATMathewATMathew

60661322




60661322













  • sudo apt-get purge --auto-remove texlive*

    – Reza Rahemi
    Dec 9 '18 at 17:50



















  • sudo apt-get purge --auto-remove texlive*

    – Reza Rahemi
    Dec 9 '18 at 17:50

















sudo apt-get purge --auto-remove texlive*

– Reza Rahemi
Dec 9 '18 at 17:50





sudo apt-get purge --auto-remove texlive*

– Reza Rahemi
Dec 9 '18 at 17:50










4 Answers
4






active

oldest

votes


















5














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:



sudo apt-get autoremove





share|improve this answer
























  • +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

    – ATMathew
    Apr 16 '11 at 19:28



















5














sudo apt-get remove tex-common resolved the problem for me.






share|improve this answer

































    3














    sudo apt-get remove texlive
    sudo apt-get autoremove
    sudo apt-get remove tex-common


    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.






    share|improve this answer

































      0














      This removes all latex packages:



      sudo apt-get purge --auto-remove texlive*





      share|improve this answer

























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f35155%2fhow-to-uninstall-latex%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5














        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:



        sudo apt-get autoremove





        share|improve this answer
























        • +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

          – ATMathew
          Apr 16 '11 at 19:28
















        5














        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:



        sudo apt-get autoremove





        share|improve this answer
























        • +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

          – ATMathew
          Apr 16 '11 at 19:28














        5












        5








        5







        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:



        sudo apt-get autoremove





        share|improve this answer













        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:



        sudo apt-get autoremove






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 15 '11 at 11:29









        Bilal AkhtarBilal Akhtar

        2,56411215




        2,56411215













        • +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

          – ATMathew
          Apr 16 '11 at 19:28



















        • +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

          – ATMathew
          Apr 16 '11 at 19:28

















        +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

        – ATMathew
        Apr 16 '11 at 19:28





        +1 Thanks for the explanation. I often forget that there's remove and autoremove are distinct commands.

        – ATMathew
        Apr 16 '11 at 19:28













        5














        sudo apt-get remove tex-common resolved the problem for me.






        share|improve this answer






























          5














          sudo apt-get remove tex-common resolved the problem for me.






          share|improve this answer




























            5












            5








            5







            sudo apt-get remove tex-common resolved the problem for me.






            share|improve this answer















            sudo apt-get remove tex-common resolved the problem for me.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 10 '12 at 11:49









            Peachy

            4,92672843




            4,92672843










            answered Nov 10 '12 at 11:25









            luiz carlos juniorluiz carlos junior

            5111




            5111























                3














                sudo apt-get remove texlive
                sudo apt-get autoremove
                sudo apt-get remove tex-common


                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.






                share|improve this answer






























                  3














                  sudo apt-get remove texlive
                  sudo apt-get autoremove
                  sudo apt-get remove tex-common


                  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.






                  share|improve this answer




























                    3












                    3








                    3







                    sudo apt-get remove texlive
                    sudo apt-get autoremove
                    sudo apt-get remove tex-common


                    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.






                    share|improve this answer















                    sudo apt-get remove texlive
                    sudo apt-get autoremove
                    sudo apt-get remove tex-common


                    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.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jun 30 '13 at 10:23









                    Manuel

                    1,183818




                    1,183818










                    answered Jun 30 '13 at 9:00









                    user171440user171440

                    311




                    311























                        0














                        This removes all latex packages:



                        sudo apt-get purge --auto-remove texlive*





                        share|improve this answer






























                          0














                          This removes all latex packages:



                          sudo apt-get purge --auto-remove texlive*





                          share|improve this answer




























                            0












                            0








                            0







                            This removes all latex packages:



                            sudo apt-get purge --auto-remove texlive*





                            share|improve this answer















                            This removes all latex packages:



                            sudo apt-get purge --auto-remove texlive*






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Dec 9 '18 at 17:48

























                            answered Dec 9 '18 at 4:44









                            Reza RahemiReza Rahemi

                            14012




                            14012






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f35155%2fhow-to-uninstall-latex%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                How to send String Array data to Server using php in android

                                Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                                Is anime1.com a legal site for watching anime?