How To Install varna on Ubuntu 22.04
Introduction
In this tutorial we learn how to install varna
on Ubuntu 22.04.
What is varna
varna is:
VARNA is Java lightweight Applet dedicated to drawing the secondary structure of RNA. It is also a Swing component that can be very easily included in an existing Java code working with RNA secondary structure to provide a fast and interactive visualization.
Being free of fancy external library dependency and/or network access, the VARNA Applet can be used as a base for a standalone applet. It looks reasonably good and scales up or down nicely to adapt to the space available on a web page, thanks to the anti-aliasing drawing primitives of Swing.
There are three methods to install varna
on Ubuntu 22.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 varna Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install varna
using apt-get
by running the following command:
sudo apt-get -y install varna
Install varna Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install varna
using apt
by running the following command:
sudo apt -y install varna
Install varna 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 varna
using aptitude
by running the following command:
sudo aptitude -y install varna
How To Uninstall varna on Ubuntu 22.04
To uninstall only the varna
package we can use the following command:
sudo apt-get remove varna
Uninstall varna And Its Dependencies
To uninstall varna
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove varna
Remove varna Configurations and Data
To remove varna
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge varna
Remove varna configuration, data, and all of its dependencies
We can use the following command to remove varna
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge varna
References
Summary
In this tutorial we learn how to install varna
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.