Cli tool for installing runtime dependencies of a debian package
If you want to extend the source code of debian package you need the runtime dependecies
of that package. mk-deps
was created to easily install the runtime dependencies, without
installing the debian package itself.
You can use mk-deps in your shell after the installation.
mk-deps [OPTIONS]
mk-deps install debian/control
mk-deps install debian/control -p {PACKAGE_NAME}
- Clone the repository
- Run the following commands
sudo apt-get install fakeroot dh-make build-essential devscripts # Packages nessesary for building package python3-all python3-pytest python3-click
sudo pip3 install wheel click-man
cd mk-deps/debian
debuild -us -uc # Build the package
sudo dpkg -i ../mk-deps*.deb # Install the package
- To enable autocompletion, run
source /usr/share/bash_completion/completions/mk-deps-complete.sh
or open a new shell
Use the Docker file to create your image and play around with mk-deps, without polluting your main system.
- Install Docker, following the instructions https://docs.docker.com/engine/installation/
- Build your docker image:
docker build --pull -t $USER/mk-deps .
- Create a container from this image:
docker run -t -i $USER/mk-deps bash
- Play around
mk-deps install tests/input/tsp-web.control
Some packages use variables inside runtime dependencies. mk-deps is (yet) not able to get the value of these variables.