Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am frequently getting low disk space error and attached screen displayed.

Let me know what to do.

share|improve this question

closed as unclear what you're asking by Zelda, Anthon, Hauke Laging, Timo, rahmu Feb 24 at 8:58

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
without the OS, you are using, we cant do anything! –  user49418 Feb 24 at 6:55
    
@utkash i am using zorin os 7 –  MIZILLA Feb 24 at 6:55
    
Where is the attached screen? Do you have a link? –  Anthon Feb 24 at 7:12
add comment

1 Answer 1

up vote 0 down vote accepted

To delete downloaded packages (.deb) already installed (and no longer needed)

sudo apt-get clean

To remove all stored archives in your cache for packages that can not be downloaded anymore (thus packages that are no longer in the repository or that have a newer version in the repository).

sudo apt-get autoclean

To remove unnecessary packages (After uninstalling an app there could be packages you don't need anymore)

sudo apt-get autoremove

To delete old kernel versions

sudo apt-get remove --purge linux-image-X.X.XX-XX-generic

If you don't know which kernel version to remove

dpkg --get-selections | grep linux-image

I hope this helps you.

share|improve this answer
1  
OMG! 1432MB DISK SPACE CREATED –  MIZILLA Feb 24 at 7:00
    
i dont have any other kernel so, that is useless. but the first 3 commands help me a lot!!!!~ you are great man!!!! –  MIZILLA Feb 24 at 7:03
    
try to run these commands monthly –  user49418 Feb 24 at 7:03
1  
ok friend...thnx –  MIZILLA Feb 24 at 7:04
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.