You are not logged in.

#1 2022-08-06 14:40:32

dweebinept
Member
Registered: 2022-08-06
Posts: 4

[SOLVED] What if we installed the same package twice?

Hello, everyone. I am new to Linux and basically tech stuff. I have a question that what if we install the already-installed package using pacman again? Will it take more space? Do I run into space issues? Please excuse my bad English and dumb question. I can't find the answer anywhere on the internet. Thank you.

Last edited by dweebinept (2022-08-06 15:32:00)

Offline

#2 2022-08-06 15:07:31

null
Member
Registered: 2009-05-06
Posts: 398

Re: [SOLVED] What if we installed the same package twice?

Packages are archives. When you install a package it gets extracted to your filesystem. A new installation will just extract these files again, replacing the previous installed ones. If the package has the exact same version and was still cached on your device, no additional space should be required.

Offline

#3 2022-08-06 15:10:59

dweebinept
Member
Registered: 2022-08-06
Posts: 4

Re: [SOLVED] What if we installed the same package twice?

Thank you so much. And What if it's different in version?

Offline

#4 2022-08-06 15:21:31

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

Re: [SOLVED] What if we installed the same package twice?

Then the old version is removed right before the new one is installed.


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

Offline

#5 2022-08-06 15:27:25

dweebinept
Member
Registered: 2022-08-06
Posts: 4

Re: [SOLVED] What if we installed the same package twice?

Got it. Thank you so much. Arch Linux has a great community. Love it <3

Offline

#6 2022-08-06 15:30:37

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] What if we installed the same package twice?

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

#7 2022-08-06 15:31:25

dweebinept
Member
Registered: 2022-08-06
Posts: 4

Re: [SOLVED] What if we installed the same package twice?

Oh! Sorry I didn't know. I will

Offline

Board footer

Powered by FluxBB