How To Install yorick-yao on Debian 9
Introduction
In this tutorial we learn how to install yorick-yao
on Debian 9.
What is yorick-yao
yorick-yao is:
Yao is a monte-carlo simulation package for adaptive optics. It can be used stand-alone through a GTK-based integrated graphical user interface or as a Yorick language extension. Yao features:
- Shack-Hartmann and Curvature WFS, on or off axis;
- support for Stackarray (piezostack), curvature (bimorph), modal (zernike) and Tip-Tilt deformable mirrors. The altitude of conjugation is adjustable;
- arbitrary number of WFSs and DMs, with the possibility of mixing types. It is therefore possible (and easy) to simulate single DM systems, as well as single non-zero conjugate, GLAO and MCAO systems;
- support for Natural and Laser Guide Stars (or a mix), WFS with photon and read-out noise;
- multi-layered atmospheric model with geometrical propagation only;
- speed-optimized loop: critical routines have been coded in C.
There are three methods to install yorick-yao
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install yorick-yao Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install yorick-yao
using apt-get
by running the following command:
sudo apt-get -y install yorick-yao
Install yorick-yao Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install yorick-yao
using apt
by running the following command:
sudo apt -y install yorick-yao
Install yorick-yao 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install yorick-yao
using aptitude
by running the following command:
sudo aptitude -y install yorick-yao
How To Uninstall yorick-yao on Debian 9
To uninstall only the yorick-yao
package we can use the following command:
sudo apt-get remove yorick-yao
Uninstall yorick-yao And Its Dependencies
To uninstall yorick-yao
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove yorick-yao
Remove yorick-yao Configurations and Data
To remove yorick-yao
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge yorick-yao
Remove yorick-yao configuration, data, and all of its dependencies
We can use the following command to remove yorick-yao
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yorick-yao
Dependencies
yorick-yao have the following dependencies:
References
Summary
In this tutorial we learn how to install yorick-yao
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.