How To Install tksao on Ubuntu 20.04
Introduction
In this tutorial we learn how to install tksao
on Ubuntu 20.04.
What is tksao
tksao is:
SAOTk is an integrated set of Tcl/Tk canvas widgets for astronomical imaging and data visualization. The widget set is composed of the Frame, Panner, Magnifier, and Colorbar widgets. In addition to classical support for imaging FITS data, manipulating colormaps, region marking, coordinate readout (including WCS), etc, SAOTk widgets also support arbitrary image scaling and rotation, advanced postscript printing, Truecolor graphic support, and image mosaics.
The SAOTk widgets are being used in a wide variety of astronomical applications. These applications include general visualization and analysis, real-time instrumentation and calibration, and interactive modeling. These Tcl extensions can be utilized in any standard Tcl/Tk environment to build custom data analysis and visualization applications.
There are three methods to install tksao
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install tksao Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tksao
using apt-get
by running the following command:
sudo apt-get -y install tksao
Install tksao Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tksao
using apt
by running the following command:
sudo apt -y install tksao
Install tksao 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 tksao
using aptitude
by running the following command:
sudo aptitude -y install tksao
How To Uninstall tksao on Ubuntu 20.04
To uninstall only the tksao
package we can use the following command:
sudo apt-get remove tksao
Uninstall tksao And Its Dependencies
To uninstall tksao
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove tksao
Remove tksao Configurations and Data
To remove tksao
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge tksao
Remove tksao configuration, data, and all of its dependencies
We can use the following command to remove tksao
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tksao
References
Summary
In this tutorial we learn how to install tksao
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.