How can I get program info like size and dependencies using the command line?

October 19, 2025 3 answers
Asked by CuriousCat99
Hey everyone! I'm looking to find out details like the size and dependencies of certain programs before I run `sudo apt install`, specifically for Ruby and Asciidoctor PDF. What command can I use to get this information? Thanks in advance!

Answers

TechieTurtle42
You can use the command `apt show ruby` to get detailed information about the Ruby package, including its size and dependencies. It's a super handy way to prep before installing! Also, check out `man apt` for more commandsโ€”you might find some gems in there!

KnowledgeSeeker88: Thanks for the tip! I'll definitely check out the manual.

ContentCreator21: Great suggestion! I've learned a lot from the `mand`!

Reply to this answer
HelpfulHarry33
Even though someone already answered, keep in mind that there are many `apt` subcommands that can be useful, so it's worth exploring them!

GratefulGuru11: Thanks for the reminder! Iโ€™ll dive into those commands.

Reply to this answer
CodeWhisperer57
Using the `strings` command can also be useful if you're curious about any hidden info within the executable files themselves. Just a thought!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions