Find the answer to your Linux question:
Results 1 to 6 of 6
Hello there I'm using Mandriva 2005 LE and KDE 3.2.3, and after a few months of extensive use, I have about five Go (yeah, five freaking thousand megabytes ) of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie sabin's Avatar
    Join Date
    Apr 2005
    Posts
    207

    May I emtpy the /tmp folder of my home dir ?


    Hello there

    I'm using Mandriva 2005 LE and KDE 3.2.3, and after a few months of extensive use, I have about five Go (yeah, five freaking thousand megabytes ) of files in my /home/tmp directory.

    Do you know if I can delete the contents of that folder ?
    As a windows former user i'd tend to suppose "yes, whatever lies in the temp dir is expendable", but well, I'm still new to Linux and I wouldn't want to risk to damage my system ^^

    I would really like to have an assistant to help me make room by deleting unnecessary temporary files, it's too bad Mandriva won't have one ^^

    Thanks in advance for the reply

  2. #2
    Linux Newbie
    Join Date
    Apr 2005
    Location
    South America
    Posts
    152
    It is a long time since I tried mandriva (back in the mandrake times, I think version 8.1), so I dont recall of that /home/tmp folder.
    However, I have experience with Debian and a /tmp folder on a server at collegue, and yes, you can safely delete such folders.
    Basically, they are used by applications to store temporary data, as well as the x server (IIRC) and such, so you are going to be ok just to issue a
    Code:
    rm -fr /home/tmp/*
    Your mandriva box wont cry or start failing because of this.
    Besides, 5 GB is way too much for a tmp folder, hence I think you have never deleted it since your fresh installation, right?

    Cheers

  3. #3
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Dhaka, Bangladesh.
    Posts
    150
    You can do this but the problem is:
    you may lost the setting/data of some programs, which are using this folder to store temoprary data.
    Example: Downloader for X and many more.........
    S. M. Ibrahim
    Registered Linux User # 394440

    Pentium-IV 3.00 Ghz(Cache -2MB, 64 bit), 512 MB RAM , 128 MB agp, 160 GB Hdd (SATA)

  4. #4
    Linux Newbie sabin's Avatar
    Join Date
    Apr 2005
    Posts
    207
    I just found a four gigabytes ISO image inside that temp folder, that's already better

    I think then that I'll empty that temp folder, with just one slight nuance : I'll only delete the files and folders whose owner is not the root (such as orbit-root)...

    Thank you very much for the kind helpful replies

  5. #5
    Linux Newbie
    Join Date
    Apr 2005
    Location
    South America
    Posts
    152
    I dont know how much experience with Linux you have, but with time and patience, you'll learn what to delete and what not to, eventually.

    Cheers

  6. #6
    Linux Newbie sabin's Avatar
    Join Date
    Apr 2005
    Posts
    207
    Considering that not everything from a dir called "tmp" can be deleted, it's rather disturbing, you'll recognize.
    Oh well, i'll do with it, after all, it's indeed through experiencing that you learn the most ^^

Posting Permissions

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