I was running baobab, and this specific directory ~/makepkg
had many Gygabytes, so I was thinking about deleting all files inside it.
I don’t know if it is safe to do this, but I guess this directory is kind of a temporary directory for packages being build by pacman.
And, in case this is not safe, could I remove subdirectories from packages I have already uninstalled previously?
You’re the one that created that directory in your own home folder, you tell us.
1 Like
Ok, let’s go!
Taking a closer look at /etc/makepkg.conf
I’ve found BUILDDIR=/tmp/makepkg
in comments, so… yes, that directory in my home folder can be deleted.
Why I did that (changing makepkg from tmp
into my home dir), well, I don’t remember exactly, but I suppose it was because I was following some tutorial on tmpfs.
Strit
12 March 2021 15:13
4
Or maybe you where building a package, which source was bigger than your tmpfs, so you changed it to your home folder.
/tmp is mounted on tmpfs which defaults to half your physical memory.
As such you may run into storage issues when compiling very large packages.
If you run into such issues it makes sense to move the makepkg build dir.
Ben
13 March 2021 00:24
6
Well we assume you have backups, so delete it and let us know.
system
Closed
28 March 2021 00:24
7
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.