![]() Remove a package sudo dpkg -r PACKAGE_NAMEįor example if the package is called askubuntu then you should do sudo dpkg -r askubuntu. If that reports an error, you'll have to sort out the dependencies yourself by following for example How do I resolve unmet dependencies after adding a PPA?. If dpkg reports an error due to dependency problems, you can run sudo apt-get install -f to download the missing dependencies and configure everything. Install a package sudo dpkg -i DEB_PACKAGEįor example if the package file is called askubuntu_2.0.deb then you should do sudo dpkg -i askubuntu_2.0.deb. Since dpkg is the base, you can use it to install packaged directly from the command line. Lastly the dpkg command which is the base for all of them. dpkg is the backend to commands like apt-get and aptitude, which in turn are the backend for GUI install apps like the Software Center and Synaptic.ĭpkg -> apt-get, aptitude -> Synaptic, Software Centerīut of course the easiest ways to install a package would be, first, the GUI apps (Synaptic, Software Center, etc.), followed by the terminal commands apt-get and aptitude that add a very nice user friendly approach to the backend dpkg, including but not limited to packaged dependencies, control over what is installed, needs update, not installed, broken packages, etc. Here the ‘-f’ or ‘–fix-broken’ option fixes the broken dependencies of the system.Packages are manually installed via the dpkg command (Debian Package Management System). deb”Īlso, to solve the dependency issues, run the following command: ![]() You can also install deb files on Ubuntu using the dpkg command “sudo dpkg -i. To list all dependencies of a deb file, run the following command: How To install deb with dependencies on Ubuntu You will be asked “Do you want to install the software package? :” select Y when prompted and gdebi will then install the deb package and all its dependencies. Once installed use gdebi to install the deb package with gdebi using the following command: It is not installed by default in Ubuntu and can be installed using the following command: Gdebi is another grea tool for installing local deb packages. How to install local deb package with gdebi ![]() You will be prompted to type Y to continue and henceforth the apt package manager will resolve and install all the package dependencies. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |