Ways to Uninstall and Install tkdnd on Ubuntu 22.04

Updated: October 11, 2022

TkDND is an extension that adds native drag & drop capabilities to the Tk toolkit. Under unix the drag & drop protocol in use is the XDND protocol version 4 (also used by the QT toolkit, KDE & GNOME Desktops). I will show you how to install tkdnd on Ubuntu 22.04 in this tutorial.

Requirements

  • Operating system: Ubuntu 22.04 is needed for tkdnd to work
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install tkdnd on Ubuntu 22.04

Install tkdnd Ubuntu 22.04

tkdnd is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install tkdnd using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install tkdnd on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install tkdnd Ubuntu by executing this command in the terminal.

sudo apt -y install tkdnd

Install tkdnd using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt-get install aptitude

After that, you can now install tkdnd by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install tkdnd Ubuntu by executing this command in the terminal.

sudo aptitude -y install tkdnd

Uninstall tkdnd on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a tkdnd.

This command can be used to uninstall tkdnd from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove tkdnd

If you want to uninstall tkdnd and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge tkdnd

Conclusion

In this guide, I showed you ways to install tkdnd on Ubuntu 22.04 and some ways to uninstall tkdnd too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.