Guides - Uninstalling the Deprecated Linode CLI using API v3
Access the entire Linode platform from the command line, easily adding, removing, or modifying services.
Following the release of the Linode API v4, both the Linode API v3 and earlier versions of the CLI using that API version have been deprecated. While earlier versions remained functional for some time, they have officially been deprecated and can not be leveraged to use the full extent of the Linode Platform.
To ensure that all users continue to use a currently supported version of the API in their production pipelines, it is recommended that users upgrade to the newest version of the Linode CLI as soon as they are able. This guide walks you through uninstalling the old version of the CLI. After the old version has been removed, you can follow the instructions within the Linode CLI Overview guide to install the latest version.
If the Linode CLI was installed through a package manager, it can be uninstalled through the same package manager. Follow the instructions below for your operating system.
Ubuntu and Debian: Use the following command to uninstall the Linode CLI through the APT package manager:
sudo apt remove linode-cli
Fedora: Use the following command to uninstall the Linode CLI through the DNF package manager:
sudo dnf remove linode-cli
MacOS: Use the following command to uninstall the Linode CLI through brew:
brew uninstall linode-cli
If the Linode CLI was installed manually, then all configurations files and modules can also be removed manually. The primary relevant files can usually be uninstalled using the following commands:
Additionally, if they are no longer needed, users may remove the following Perl modules using their tooling of choice:
Once the deprecated version of the Linode CLI has been safely removed, the newest version of the Linode CLI should be installed using Python 3. More information on this process can be found on our Overview of the Linode CLI Guide.
You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.
This page was originally published on