this post was submitted on 07 Dec 2023
19 points (95.2% liked)

Linux

48193 readers
1708 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Electron folder under /home/cache has reached 1.3GB.

I want to clean it but I don't know how or would be wrong?

Is there a command like yarn cache clean?

you are viewing a single comment's thread
view the rest of the comments
[–] Strit@lemmy.linuxuserspace.show 17 points 11 months ago (9 children)

It's a cache. It's meant to be deleted from time to time, especially if the application is not good at it by itself.

So simply delete the folder. Anything electron will need after that will be re-downloaded when the application is run again.

[–] sandayle@iusearchlinux.fyi 6 points 11 months ago (7 children)
[–] greybeard@lemmy.one 26 points 11 months ago (6 children)

General trick for unknowns like this, you can rename a folder, open the applications. If they work, it is likely safe to delete that folder. If not, you rename that folder back. A simple way to test removing something non-destructively.

[–] empireOfLove@lemmy.one 4 points 11 months ago (2 children)

folder.old

then it's all fun and games till you've been fucking with it for 3 hours and you get to folder.old.old.old.old.old

[–] greybeard@lemmy.one 2 points 11 months ago

I've been there.

[–] turbowafflz@lemmy.world 1 points 11 months ago (1 children)

I always do folder.save, then folder.oldsave, then folder.oldoldsave. It isn't any better but it is slightly different

[–] bustrpoindextr@lemmy.world 4 points 11 months ago (1 children)
[–] IlliteratiDomine@infosec.pub 4 points 11 months ago

.bak gang rise up.

load more comments (3 replies)
load more comments (3 replies)
load more comments (4 replies)