• Clean system with application


    I want clean unnecessary files which is remain in system. please suggest any application

  • Hi,
    I don’t exactly no want you want to clean, but what you can do is:

    pacman -Rsn $(pacman -Qdtq)
    

    To clean all unused packages.
    Also you can do:

    rm -rf ~/.local/share/Trash/*
    

    To clean your trash.

  • @Quantum_Sniper said in Clean system with application:

    @Avdhut Bleachbit

    Linux is not windows that “needs” crap like ccleaner, bleachbit is a good way to render your system utterly unusable.
    J.

  • @Jeannie____ I strongly disagree. Linux gets tons of crap just like any other OS, and I find that BleachBit does a great job.

    I run it once a month or so, and it usually removes 2-5 GB of cached files, temporary files, and other crap. Every single month! And I only have less than a half of cleanup options checked in BleachBit!

    Never had a single problem after running it…

  • Install package pacman-contrib and give the following terminal commands:

    sudo paccache -rk1
    sudo paccache -ruk0
    

    They will leave to cache only one version of each package you have already installed.
    If you wish to remove all packages from the cache, run this:

    sudo paccache -rk0
    

    instead of the first command above.

    Package cache wastes quite lot of space in the long run, if not cleaned occasionally.

    Another command for doing about the same is

    sudo pacman -Scc
    
  • @Jeannie____ said in Clean system with application:

    @Quantum_Sniper said in Clean system with application:

    @Avdhut Bleachbit

    Linux is not windows that “needs” crap like ccleaner, bleachbit is a good way to render your system utterly unusable.
    J.

    I have used Bleachbit over many many distros and it has never failed me. It is my faithful cleaner and does the job well. Of course, you must know what options to check and what to not check. If you close your eyes and tick all the options, you are going to screw your system up.

  • @manuel Thank you, that was super useful. Just cleaned 15 GB of space by leaving only the latest versions of installed packages.

    I’d wish Updates Manager gets cached packages bug fixed one day, so if we set the number of versions to keep in “Cache” section, it automatically deletes old versions as it should…

  • Paccache I work this way, first to know if there something to prune:

     sudo paccache -d
    [sudo] password for judd: 
    
    ==> finished dry run: 17 candidates (disk space saved: 343.37 MiB)
    
    

    and later

    sudo paccache -rk0
    
  • Useful terminal commands for seeing what’s in the cache:

    du -h /var/cache/pacman/pkg    # show space taken by cache
    ls -la /var/cache/pacman/pkg   # show files in cache
    
  • Bleachbit can lead to problems, in many Linux forums there are heaps of problem reports which are caused by Bleachbit. I wouldn’t recommend it to a rookie.

  • cleaners you always know what you do at the end, Mundus from aur is handy to remove old configurations in .config

    pitty is bit unstable but stil works.

    but for browsing geeral it can be helpfull to remove the flash buffer, but you can do it in the browser it self also.

  • Remove unused packages from cache

    $ sudo apt-get autoclean
    

    Clearing the cache, apt utilities:

    $ sudo apt-get clean
    

    Remove unwanted dependencies:

    $ sudo apt-get autoremove
    

    In general, it will be a good practice to remove dependencies immediately when an application is deleted:

    $ sudo apt-get autoremove application
    

    or
    The command

    pacman -Syyhit both galaxy and community.
    

    But now pacman-contrib is there. I do not understand what has changed.

    I was using

    pacman -Syyuand then
    
    pacman -S pacman-contrib
    

    I thought -Syyu would update the package databases.

  • @reberkahum what is it you want to share here?

    To remove a package and its dependencies which are not required by any other installed package:
    
    # pacman -Rs package_name
    

    https://www.archlinux.org/pacman/pacman.8.html

  • @reberkahum nice linke :) https://wiki.archlinux.org/index.php/Pacman/Rosetta

    i update my self mostly sudo pacman -Syu , mostly is sufficient for me :)

    pacman -Rns is also removing some configurations..
    
system134 application31 clean7 Posts 15Views 388
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.