Noob pacman question

Ask questions about Arch Linux ARM. Please search before making a new topic.

Noob pacman question

Postby kamm » Thu Jan 28, 2016 5:08 am

Totally new to arch, so I'm trying to determine how much space various packages occupy. For example, I ran
pacman -S --print-format "%n: %s" opencv
and that gives me 100+ lines of output such as
$this->bbcode_second_pass_code('', '...
gtk2: 6710668
glu: 149836
libxt: 512968
libxmu: 64492
pangox-compat: 37424
gtkglext: 168872
intel-tbb: 383988
opencv: 5809004')
The total comes to 59432348. Presumably those amounts are bytes so this is ~59 MB, correct? But I suspect that these are just the sizes of the compressed archive files. Is there any way to determine in advance how much space they occupy when installed?
kamm
 
Posts: 5
Joined: Fri Jan 22, 2016 11:19 pm

Re: Noob pacman question

Postby kamm » Thu Jan 28, 2016 6:05 am

Nevermind, found my answer in
pacman -Si
except I guess I'll have to run this for each of the dependencies.
kamm
 
Posts: 5
Joined: Fri Jan 22, 2016 11:19 pm

Re: Noob pacman question

Postby Kabbone » Thu Jan 28, 2016 10:08 am

If you execute pacman for installing a package it tells you the total Installed size before the question if you want to proceed with the installation.
Kabbone
 
Posts: 153
Joined: Thu Jul 25, 2013 9:20 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 14 guests