bti-shrink-urls command not found

In this troubleshooting guide we learn how to fix bti-shrink-urls command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bti-shrink-urls: command not found

or when using sudo you get the following error message

sudo: bti-shrink-urls: command not found

Solutions to bti-shrink-urls: command not found

How To Fix bti-shrink-urls: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bti-shrink-urls is provided by bti package.

bti is:

bti sends a tweet message to twitter.com.

bti provides an easy way to send tweet messages directly from the command line or a script. It reads the message on standard input and uses the account and password settings either from the command line options or from a config file to deliver the message.

Besides sending messages bti also allows one to see one’s friends’, a group’s or a specific user’s timeline, the public timeline, replies to messages, and direct messages.

To fix this problem, we can install more using the command below.

sudo apt-get -y install bti

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bti.

sudo apt -y install bti

Or if you have aptitude installed you can use the following command.

sudo aptitude install bti

Summary

In this tutorial we learn how to fix bti-shrink-urls command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.