![]() You can also follow us on Google+, Twitter or like our Facebook page.The way we install application programs in Linux is a little different than in Windows. As always, if you found this post useful, then Subscribe to our free newsletter to get latest Linux tutorials. ![]() I hope this post helped you install local debian packages from the command line. , which represents the current working directory, in front of the package name so that apt can find the deb package. It automatically install dependencies if these dependencies are available from software repository. cd /path/to/the/deb-package/įor instance, to install TeamViewer 12 on Ubuntu 16.04/16.10, first download the TeamViewer deb package to the current directory wget You simply change to the directory where the deb package are stored and install it like below. ![]() Normally you would use apt to install packages from online software repositories like below: sudo apt install firefoxĭid you know that it can also be used to install local deb packages? This is another reason you should be using apt instead of apt-get, which does not have the ability. If there’s a dependency problem, gdebi will automatically install them for you, if these dependency packages are available from software repository. Then to install a local deb package, use sudo gdebi package_b Gdebi isn’t installed by default on Ubuntu, so you need to install it first. ![]() sudo apt-get -f install gdebi package installer But you can use the following command to solve it. sudo dpkg -i package_bĭpkg itself can’t solve dependency problem because it does not understand repositories. You use dpkg to install local debian package like below. Here’s 3 different command line tools to help you install deb packages. ![]() You can right-click on the downloaded deb packages and select install from the context menu but using a graphical installer can be slow compared to terminal commands. If you are asking yourself “How do I install debian package in Ubuntu or Debian?”, then you have come to the right place. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |