Ways to Uninstall and Install tmux-plugin-manager on Ubuntu 22.04

Updated: October 14, 2022

tmux-plugin-manager is a plugin manager for tmux. It uses git to install / upgrade plugins. In this guide, I will show you how to install tmux-plugin-manager on Ubuntu 22.04.

Requirements to install

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install tmux-plugin-manager on Ubuntu 22.04

Install tmux-plugin-manager Ubuntu 22.04

tmux-plugin-manager is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one you believe is simple and easy to follow.

Install tmux-plugin-manager using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get tmux-plugin-manager on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install tmux-plugin-manager Ubuntu by executing this command in the terminal.

sudo apt install tmux-plugin-manager

Install tmux-plugin-manager using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

After installing, you can now install tmux-plugin-manager by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install tmux-plugin-manager Ubuntu by executing this command in the terminal.

sudo aptitude -y install tmux-plugin-manager

Uninstall tmux-plugin-manager on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just tmux-plugin-manager.

You can uninstall tmux-plugin-manager Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove tmux-plugin-manager

If you want to uninstall tmux-plugin-manager and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge tmux-plugin-manager

Summary

In this guide, I showed you ways to install tmux-plugin-manager on Ubuntu 22.04 and some ways to uninstall tmux-plugin-manager too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.