Is it safe to remove contents of this directory?

As you may know whenever one builds AUR packages there is a folder whose path is

/var/tmp/pamac-build-username

that contains a lot of sub-folders and their files related to each package built. In my case the parent folder as above is around 700MB, and I don’t think anything inside this folder takes part in launching a particular AUR package, although there is some interesting info related in building each package.

So is it safe to go ahead and delete everything inside that folder?

1 Like

Yes, it’s safe, because those are usually just the build files for AUR packages, and they can always be downloaded again if no longer present.

You can manually delete them, although running… :backhand_index_pointing_down:

pamac clean --build-files

… should take care of that as well.

7 Likes

Usually if it’s just cache or leftover package files, clearing it is fine and can free up quite a bit of space. I’d still recommend checking the folder contents first and maybe keeping a backup just in case. Linux has a funny way of making “unused” files suddenly important later.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.