Is it possible to install a .deb file using command line, can someone tell me how?
|
Packages are manually installed via the DPKG command (Debian Package Management System). 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. Something along the lines of: DPKG --> Apt-get, Aptitude --> Synaptic, Software Center But 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.. Lastly the dpkg command which is the base for all of them. Since dpkg is the base, you can use it to install packaged directly from the command line. INSTALL A PACKAGE
For example if the package file is called REMOVE A PACKAGE
For example if the package is called |
||||
|
|
|
Debian (.deb) packages are the packages that are used in Ubuntu. You can install any .deb package in your system. .deb files can generally be installed from your file manager (Nautilus) merely by clicking on them, since file associations with the default installer is already set in Ubuntu. These instructions are for those who wish to install packages from the command-line terminal (Terminal). To install a downloaded Debian (Ubuntu) package (.deb): Open Terminal and type
To remove a Debian (Ubuntu) package (.deb):
To Reconfigure/Repair an installed Debian (Ubuntu) package (.deb):
|
|||
|
|
|
My favourite is gdebi, available from both terminal/shell or graphical desktop. I usually associate |
||||
|
|
