How To Install libinjeqt-dev on Debian 10
Introduction
In this tutorial we learn how to install libinjeqt-dev
on Debian 10.
What is libinjeqt-dev
libinjeqt-dev is:
Dependency injection is an implementation of inverse of control and can be used to increase program modularity and extendability. In general it also results in more testable source code.
There is a lot of dependency injection frameworks for bytecode based languages like Java and C#, for instance Guice and Spring. C++ lacks reflection facilities that make dependency injection so powerful in these languages.
Injeqt is an attempt to build a powerful and reliable dependency injection framework on Qt’s reflection based on MOC (meta-object compiler). For version 0.1 some basic features were implemented.
This package contains development files needed to compile software, that uses the library.
There are three methods to install libinjeqt-dev
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libinjeqt-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libinjeqt-dev
using apt-get
by running the following command:
sudo apt-get -y install libinjeqt-dev
Install libinjeqt-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libinjeqt-dev
using apt
by running the following command:
sudo apt -y install libinjeqt-dev
Install libinjeqt-dev Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libinjeqt-dev
using aptitude
by running the following command:
sudo aptitude -y install libinjeqt-dev
How To Uninstall libinjeqt-dev on Debian 10
To uninstall only the libinjeqt-dev
package we can use the following command:
sudo apt-get remove libinjeqt-dev
Uninstall libinjeqt-dev And Its Dependencies
To uninstall libinjeqt-dev
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libinjeqt-dev
Remove libinjeqt-dev Configurations and Data
To remove libinjeqt-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libinjeqt-dev
Remove libinjeqt-dev configuration, data, and all of its dependencies
We can use the following command to remove libinjeqt-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libinjeqt-dev
Dependencies
libinjeqt-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libinjeqt-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.