Ubuntu – Do Dpkg and apt-get install dependencies


I've been wondering, is there a way to tell dpkg or apt-get that when I want to install a package also install all the dependencies it requires? I installed a package using dpkg but it complained about some dependency issues so I had to manually search one by one, is there a better way to do this?

Best Answer

  • Dependencies should be installed by default with apt-get. You might also want to read the answers for this question: Installing suggested/recommended packages?.