You are not logged in.

#1 2024-08-25 16:20:42

Frankwarch
Member
Registered: 2024-02-12
Posts: 36

What happens if I forgot the -c flag using makepkg?

So I tried to install the package anki "manually". That is, using makepkg and then pacman -U.

Since the package has some python dependencies, I used

 makepkg -s

and pacman installed them without any problem. Then the package was built and I ran

pacman -U

without any problem either. The package was succesfully installed and it works well. The only problem is I didn't use the -c flag. Reading the man page for makepkg I see it "cleans up stuff". It's really not clear to me what it does but it seems important.

My question is: what now? Are there a bunch of "dead" files all over my system? Can I clean them up automatically somehow?


New to Arch and Linux in general. Very happy for now!

Offline

#2 2024-08-25 16:26:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: What happens if I forgot the -c flag using makepkg?

Depending on how you manage your AUR source repos, it is not important at all.  I never use the -c flag.

This does not leave anything anywhere on your system except under the build directory (along side the PKGBUILD).

EDIT: technically, I suppose this might also purge anything created under /tmp - I doubt this is the case, but it could be.  But still, the worst case is junk under /tmp which is a pretty good place for junk as it will be gone on the next reboot.

Last edited by Trilby (2024-08-25 16:27:59)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-08-26 10:17:45

Frankwarch
Member
Registered: 2024-02-12
Posts: 36

Re: What happens if I forgot the -c flag using makepkg?

Okay! So it's no big deal then. Thanks.


New to Arch and Linux in general. Very happy for now!

Offline

Board footer

Powered by FluxBB