LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Free space on linux (https://www.linuxquestions.org/questions/linux-newbie-8/free-space-on-linux-4175604514/)

jlozanom0780 04-24-2017 10:49 AM

Free space on linux
 
I have a space detail with my oracle linux and I would like to know if there is any problem for cleaning the / var / cache / yum folder

Since it does not allow me to run the yum clean all

regards

AwesomeMachine 04-24-2017 10:52 AM

Hi jlozanom,

Welcome to LQ.

If the folder is full of package files, then yes, it is ok to just delete them.

frankbell 04-24-2017 08:15 PM

You should be able to clear the cache with the command

Code:

yum clean all
yum clean has several options. See man yum for more.

fatmac 04-25-2017 09:46 AM

You may need to be the root user, or use sudo, to remove some files, just be careful.

suicidaleggroll 04-25-2017 10:07 AM

Quote:

Originally Posted by jlozanom0780 (Post 5701525)
Since it does not allow me to run the yum clean all

If you're not "allowed" to run "yum clean all" due to permissions issues, you likely won't have permission to delete any of the files in that directory either.


All times are GMT -5. The time now is 11:23 PM.