Results 1 to 7 of 7

Thread: System Trash Collection ANd Making Additional Space

  1. #1

    Question System Trash Collection ANd Making Additional Space

    Hello,

    How do I remove unecessary packages and clean up any other unneeded files that are taking up space?

    Thanks
    OpenSUSE Leap 42.1, Gnome 3.16

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,171

    Default Re: System Trash Collection ANd Making Additional Space

    Are you restricted on diskspace?

    I any case, your question is a bit vague. How can we decide what you do not need from these two lines of information?
    Henk van Velden

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,749

    Default Re: System Trash Collection ANd Making Additional Space

    Programs take a surprisingly small space and removing them may lead to problems unless you know what you are doing. If you installed it you can uninstall it in general but heed all warnings. In doubt ask here. Easiest way is in Yast - Software management select package and mark to remove.

    Some package come in as recommendations of other packages so may be reinstalled by updates. To stop after removal mark as taboo

    If you are short on space in the root partition and use the BTRFS file system turn off or change how snapper works. If not why bother it is a huge pain to do since there is no magic program that can read your mind you have to remove each and everyone you don't want.

  4. #4

    Question Re: System Trash Collection ANd Making Additional Space

    Quote Originally Posted by gogalthorp View Post
    Programs take a surprisingly small space and removing them may lead to problems unless you know what you are doing. If you installed it you can uninstall it in general but heed all warnings. In doubt ask here. Easiest way is in Yast - Software management select package and mark to remove.

    Some package come in as recommendations of other packages so may be reinstalled by updates. To stop after removal mark as taboo

    If you are short on space in the root partition and use the BTRFS file system turn off or change how snapper works. If not why bother it is a huge pain to do since there is no magic program that can read your mind you have to remove each and everyone you don't want.
    Ubuntu sometimes leaves behind the original compressed package download files, after the packages themselves have been installed. Does Leap do this, or does it automatically remove these after the packages have been installed?
    OpenSUSE Leap 42.1, Gnome 3.16

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,306
    Blog Entries
    2

    Default Re: System Trash Collection ANd Making Additional Space

    Quote Originally Posted by Grace123 View Post
    Ubuntu sometimes leaves behind the original compressed package download files, after the packages themselves have been installed. Does Leap do this, or does it automatically remove these after the packages have been installed?
    You can remove those with the following command, ordinarily yes those packages used to install are retained but typically don't take that much room. The more common reason to remove is that package management somehow lost integrity and you want to start "clean" again.
    Code:
    zypper clean -a
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6

    Default Re: System Trash Collection ANd Making Additional Space

    Quote Originally Posted by tsu2 View Post
    You can remove those with the following command, ordinarily yes those packages used to install are retained but typically don't take that much room. The more common reason to remove is that package management somehow lost integrity and you want to start "clean" again.
    Code:
    zypper clean -a
    TSU
    That's what I needed, thanks.

    BTW, how can I check the space left in the root filesystem?
    OpenSUSE Leap 42.1, Gnome 3.16

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,749

    Default Re: System Trash Collection ANd Making Additional Space

    Depends on what file system for BTRFS

    btrfs-filesystem df /

    for all other

    df

    def works for BTRFS but number reported may not be correct do to snapshots

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •