How to keep my system clean?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












When I work on a project I often need to install a bunch of packages and libraries/tools.



Often these packages create logs files and other kind of useless files that I will not need when the project will be done. With time my OS becomes messy and "dirty" .



Sometimes I just want to try a new desktop environment and I don't want to waste my configuration.



Is there a way to save the state of my machine (installed packages, configuration and some specified folders) ?



Exactly like git (you can create a branch and go back to an older commit) But for my OS.



Of course I could make backup or snapshot of my system. But it's heavy and it take a while to restore. For example, I don't need to physically save packages, I just need the version number to download them again (I apologize for the debian packages server).



Do you guys know a tool able to do that ?
Thank you for time !



PS : I mostly use Debian and Arch Linux.







share|improve this question























    up vote
    1
    down vote

    favorite












    When I work on a project I often need to install a bunch of packages and libraries/tools.



    Often these packages create logs files and other kind of useless files that I will not need when the project will be done. With time my OS becomes messy and "dirty" .



    Sometimes I just want to try a new desktop environment and I don't want to waste my configuration.



    Is there a way to save the state of my machine (installed packages, configuration and some specified folders) ?



    Exactly like git (you can create a branch and go back to an older commit) But for my OS.



    Of course I could make backup or snapshot of my system. But it's heavy and it take a while to restore. For example, I don't need to physically save packages, I just need the version number to download them again (I apologize for the debian packages server).



    Do you guys know a tool able to do that ?
    Thank you for time !



    PS : I mostly use Debian and Arch Linux.







    share|improve this question





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      When I work on a project I often need to install a bunch of packages and libraries/tools.



      Often these packages create logs files and other kind of useless files that I will not need when the project will be done. With time my OS becomes messy and "dirty" .



      Sometimes I just want to try a new desktop environment and I don't want to waste my configuration.



      Is there a way to save the state of my machine (installed packages, configuration and some specified folders) ?



      Exactly like git (you can create a branch and go back to an older commit) But for my OS.



      Of course I could make backup or snapshot of my system. But it's heavy and it take a while to restore. For example, I don't need to physically save packages, I just need the version number to download them again (I apologize for the debian packages server).



      Do you guys know a tool able to do that ?
      Thank you for time !



      PS : I mostly use Debian and Arch Linux.







      share|improve this question











      When I work on a project I often need to install a bunch of packages and libraries/tools.



      Often these packages create logs files and other kind of useless files that I will not need when the project will be done. With time my OS becomes messy and "dirty" .



      Sometimes I just want to try a new desktop environment and I don't want to waste my configuration.



      Is there a way to save the state of my machine (installed packages, configuration and some specified folders) ?



      Exactly like git (you can create a branch and go back to an older commit) But for my OS.



      Of course I could make backup or snapshot of my system. But it's heavy and it take a while to restore. For example, I don't need to physically save packages, I just need the version number to download them again (I apologize for the debian packages server).



      Do you guys know a tool able to do that ?
      Thank you for time !



      PS : I mostly use Debian and Arch Linux.









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jun 6 at 14:27









      CanardMandarin

      1613




      1613




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          On Debian stable with gnome desktop , you can use Resetter




          The easiest way to reset your debian or ubuntu based linux back to stock




          wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/add-apt-key_1.0-0.5_all.deb
          wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/resetter_2.2.3-stable_all.deb
          apt install gdebi
          gdebi add-apt-key_1.0-0.5_all.deb
          gdebi resetter_2.2.3-stable_all.deb


          Debian support is recently added.




          Officially supported distros [64-bit]



          Debian 9.2 (stable) Gnome edition



          Linux Mint 17.3+ Cinnamon and Mate



          Ubuntu 14.04+, Unity, Gnome, and Budgie(18.04)



          Elementary OS 0.4+



          Linux Deepin 15.4+







          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448220%2fhow-to-keep-my-system-clean%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            On Debian stable with gnome desktop , you can use Resetter




            The easiest way to reset your debian or ubuntu based linux back to stock




            wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/add-apt-key_1.0-0.5_all.deb
            wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/resetter_2.2.3-stable_all.deb
            apt install gdebi
            gdebi add-apt-key_1.0-0.5_all.deb
            gdebi resetter_2.2.3-stable_all.deb


            Debian support is recently added.




            Officially supported distros [64-bit]



            Debian 9.2 (stable) Gnome edition



            Linux Mint 17.3+ Cinnamon and Mate



            Ubuntu 14.04+, Unity, Gnome, and Budgie(18.04)



            Elementary OS 0.4+



            Linux Deepin 15.4+







            share|improve this answer

























              up vote
              1
              down vote













              On Debian stable with gnome desktop , you can use Resetter




              The easiest way to reset your debian or ubuntu based linux back to stock




              wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/add-apt-key_1.0-0.5_all.deb
              wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/resetter_2.2.3-stable_all.deb
              apt install gdebi
              gdebi add-apt-key_1.0-0.5_all.deb
              gdebi resetter_2.2.3-stable_all.deb


              Debian support is recently added.




              Officially supported distros [64-bit]



              Debian 9.2 (stable) Gnome edition



              Linux Mint 17.3+ Cinnamon and Mate



              Ubuntu 14.04+, Unity, Gnome, and Budgie(18.04)



              Elementary OS 0.4+



              Linux Deepin 15.4+







              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                On Debian stable with gnome desktop , you can use Resetter




                The easiest way to reset your debian or ubuntu based linux back to stock




                wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/add-apt-key_1.0-0.5_all.deb
                wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/resetter_2.2.3-stable_all.deb
                apt install gdebi
                gdebi add-apt-key_1.0-0.5_all.deb
                gdebi resetter_2.2.3-stable_all.deb


                Debian support is recently added.




                Officially supported distros [64-bit]



                Debian 9.2 (stable) Gnome edition



                Linux Mint 17.3+ Cinnamon and Mate



                Ubuntu 14.04+, Unity, Gnome, and Budgie(18.04)



                Elementary OS 0.4+



                Linux Deepin 15.4+







                share|improve this answer













                On Debian stable with gnome desktop , you can use Resetter




                The easiest way to reset your debian or ubuntu based linux back to stock




                wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/add-apt-key_1.0-0.5_all.deb
                wget https://github.com/gaining/Resetter/releases/download/v2.2.3-stable/resetter_2.2.3-stable_all.deb
                apt install gdebi
                gdebi add-apt-key_1.0-0.5_all.deb
                gdebi resetter_2.2.3-stable_all.deb


                Debian support is recently added.




                Officially supported distros [64-bit]



                Debian 9.2 (stable) Gnome edition



                Linux Mint 17.3+ Cinnamon and Mate



                Ubuntu 14.04+, Unity, Gnome, and Budgie(18.04)



                Elementary OS 0.4+



                Linux Deepin 15.4+








                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 6 at 14:41









                GAD3R

                22.1k154891




                22.1k154891






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448220%2fhow-to-keep-my-system-clean%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay