Lets say I want to install the gcc package using sudo apt-get install gcc but before I want to know the size of it, is there a command for that ?

1 Answer 1


If you run

sudo apt install gcc

you will get a prompt showing the packages to be installed and required space, asking if you want to continue.

To see the download size of a specific package you can run e.g.

apt show gcc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.