PDA

View Full Version : [ubuntu] command to install a package without dependencies?



vksingh
October 15th, 2009, 12:50 PM
Hi,

What is the command to install a .deb package without dependencies?

Thanks,

Vivek:(

mcduck
October 15th, 2009, 01:26 PM
Why would you do that? You'd only end with a broken install and non-functional program.

The package you are trying to install depends on other packages to provide some functionalities, so installing it without installing those dependencies would only result in broken program.

(the "-f" switch for dpkg will force install, but like I said doing that will most likely just break things)

Mark Phelps
October 17th, 2009, 11:17 PM
The command is dpkg -- but it won't work because unless you are able to satisfy the dependencies, it won't complete the install.