Differences in installation results with apt-get and dpkg -i



  • I have the opportunity to install packages (the original product) in two ways:

    1. Roll through wget to be established sudo dpkg -i package package-dependency
    2. Put it on a special local ftp where the demon apt repository picks it. Then set it up. sudo apt-get update; sudo apt-get install package;

    What are the significant differences between these two options? Is the second always safer or can there be reversal?



  • As far as I can tell, the difference between apt-get install and dpkg In particular, the team is apt-get install It itself checks the necessary dependence and sets the necessary packages. If you know what packages are needed to set the end, there's no difference. On a large scale, stilita. apt-get install is a shell dpkgand it's her inside. https://askubuntu.com/questions/309113/what-is-the-difference-between-dpkg-and-aptitude-apt-get/




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2