How To Install smtm on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 474 words
Introduction
In this tutorial we learn how to install smtm on Ubuntu.
What is smtm
smtm is:
smtm, which is a not overly clever acronym for Show Me The Money, is a simple stock ticker and charting application. It creates and automatically updates a window with stock quotes from Yahoo! Finance, as well as optional charts from Yahoo! Finance.
smtm is fully configurable – it can display the stock symbol and the full name of the company, the price change, the percentage change, the volume traded, the profit or loss, the value of the holding, the length of the holding period, annualised percentage returns and more. The display can be sorted on almost any of the columns. Losers are flagged in red. smtm can be used for most global stock symbols, North American mutual funds and options, currencies and some commodities – anything supported Yahoo! Finance.
Stock quotes are normally delayed, 15 minutes for NASDAQ and 20 minutes otherwise, see Yahoo! Finance for details.
There are three methods to install smtm on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install smtm Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install smtm using apt-get by running the following command:
sudo apt-get -y install smtm
Install smtm Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install smtm using apt by running the following command:
sudo apt -y install smtm
Install smtm 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install smtm using aptitude by running the following command:
sudo aptitude -y install smtm
How To Uninstall smtm on Ubuntu
To uninstall only the smtm package we can use the following command:
sudo apt-get remove smtm
Uninstall smtm And Its Dependencies
To uninstall smtm and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove smtm
Remove smtm Configurations and Data
To remove smtm configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge smtm
Remove smtm configuration, data, and all of its dependencies
We can use the following command to remove smtm configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge smtm
Dependencies
smtm have the following dependencies:
References
Summary
In this tutorial we learn how to install smtm package on Ubuntu using different package management tools: apt, apt-get and aptitude.