How To Install ubuntu-dev-tools on Debian 12
Introduction
In this tutorial we learn how to install ubuntu-dev-tools
on Debian 12.
What is ubuntu-dev-tools
ubuntu-dev-tools is:
This is a collection of useful tools that Ubuntu developers use to make their packaging work a lot easier.
Such tools include:
- backportpackage - helper to test package backports
- bitesize - add the ‘bitesize’ tag to a bug and comment that you are willing to help fix it.
- check-mir - check support status of build/binary dependencies
- check-symbols - will compare and give you a diff of the exported symbols of all .so files in a binary package.
- dch-repeat - used to repeat a change log into an older release.
- grab-merge - grabs a merge from merges.ubuntu.com easily.
- grep-merges - search for pending merges from Debian.
- import-bug-from-debian - copy a bug from the Debian BTS to Launchpad
- merge-changelog - manually merges two Debian changelogs with the same base version.
- mk-sbuild - script to create LVM snapshot chroots via schroot and sbuild.
- pbuilder-dist, cowbuilder-dist - wrapper script for managing several build chroots (for different Ubuntu and Debian releases) on the same system.
- pull-debian-debdiff - attempts to find and download a specific version of a Debian package and its immediate parent to generate a debdiff.
- pull-debian-source - downloads the latest source package available in Debian of a package.
- pull-lp-source - downloads source package from Launchpad.
- pull-lp-debs - downloads debs package(s) from Launchpad.
- pull-lp-ddebs - downloads dbgsym/ddebs package(s) from Launchpad.
- pull-lp-udebs - downloads udebs package(s) from Launchpad.
- pull-debian-* - same as pull-lp-* but for Debian packages.
- pull-uca-* - same as pull-lp-* but for Ubuntu Cloud Archive packages.
- pull-pkg - common script that provides above pull-* functionality.
- requestbackport - file a backporting request.
- requestsync - files a sync request with Debian changelog and rationale.
- reverse-depends - find the reverse dependencies (or build dependencies) of a package.
- seeded-in-ubuntu - query if a package is safe to upload during a freeze.
- setup-packaging-environment - assistant to get an Ubuntu installation ready for packaging work.
- sponsor-patch - Downloads a patch from a Launchpad bug, patches the source package, and uploads it (to Ubuntu or a PPA)
- submittodebian - automatically send your changes to Debian as a bug report.
- syncpackage - helper to prepare .changes file to upload synced packages
- ubuntu-build - give commands to the Launchpad build daemons from the command line.
- ubuntu-iso - output information of an Ubuntu ISO image.
- ubuntu-upload-permission - query / list the upload permissions for a package.
- update-maintainer - script to update maintainer field in ubuntu packages.
There are three methods to install ubuntu-dev-tools
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ubuntu-dev-tools Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ubuntu-dev-tools
using apt-get
by running the following command:
sudo apt-get -y install ubuntu-dev-tools
Install ubuntu-dev-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ubuntu-dev-tools
using apt
by running the following command:
sudo apt -y install ubuntu-dev-tools
Install ubuntu-dev-tools 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 ubuntu-dev-tools
using aptitude
by running the following command:
sudo aptitude -y install ubuntu-dev-tools
How To Uninstall ubuntu-dev-tools on Debian 12
To uninstall only the ubuntu-dev-tools
package we can use the following command:
sudo apt-get remove ubuntu-dev-tools
Uninstall ubuntu-dev-tools And Its Dependencies
To uninstall ubuntu-dev-tools
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove ubuntu-dev-tools
Remove ubuntu-dev-tools Configurations and Data
To remove ubuntu-dev-tools
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge ubuntu-dev-tools
Remove ubuntu-dev-tools configuration, data, and all of its dependencies
We can use the following command to remove ubuntu-dev-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ubuntu-dev-tools
Dependencies
ubuntu-dev-tools have the following dependencies:
- binutils
- dctrl-tools
- devscripts
- diffstat
- distro-info
- dpkg-dev
- dput
- lsb-release
- python3
- python3-apt
- python3-debian
- python3-debianbts
- python3-distro-info
- python3-httplib2
- python3-launchpadlib
- python3-lazr.restfulclient
- python3-ubuntutools
- sensible-utils
- sudo
- tzdata
- perl
References
Summary
In this tutorial we learn how to install ubuntu-dev-tools
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.