How can I get program info like size and dependencies using the command line?
Asked by
cargo_2t
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
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!
Reply to this answer
Even though someone already answered, keep in mind that there are many `apt` subcommands that can be useful, so it's worth exploring them!
_checkmate_maybe: Thanks for the reminder! Iโll dive into those commands.
Reply to this answer
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.
paperweight!: Thanks for the tip! I'll definitely check out the manual.
MaybeNextWeek: Great suggestion! I've learned a lot from the `mand`!