How to check package dependencies on Ubuntu or Debian

A typical .deb package relies on other packages to install and operate properly. With package managers such as apt-get and aptitude, you can resolve package dependencies, and have all prerequisites installed automatically. Suppose for whatever reason, you want to manually resolve package dependencies of a particular package, in which case you need to identify all […]
Continue reading…

 

How to create .deb Debian package for Java web application

Suppose you have built a Java web application as a Java servlet. Now you want to create .deb Debian package for the Java web application, such that when you install the .deb package file, it will automatically install any prerequisite packages (e.g., Java and Tomcat web server), and deploy the Java servlet on Tomcat. I […]
Continue reading…

 

How to install .deb file with dependencies

In a Debian-base system, program files, libraries and source codes are packaged and distributed as .deb files. Installation of .deb files can be done with a command-line tool called dpkg. However, typical .deb package has dependencies (or prerequisite packages) which need to be pre-installed for the .deb package to be able to be installed, and […]
Continue reading…