Sometimes, we may need to install programs on Ubuntu or Debian, but the installation may not be successful due to dependencies. It means the program won't be installed unless we install other programs to run normally.
If you want to exclude these dependencies and force install a program on Ubuntu or any other Debian-based system, then follow these instructions:
Open the Terminal and run one of these commands to force install a package:
sudo apt-get install --no-install-recommends package_name
sudo aptitude install --without-recommends package_name
Replace package_name with the name of the program you want to install. Using the second command, I managed to force install Mencoder and FFmpeg on Ubuntu 11.04.
Warning: Use these commands at your own risk! We are not liable for any damage that these commands may cause to your system.