How To Install yasr on Debian 9
Introduction
In this tutorial we learn how to install yasr
on Debian 9.
What is yasr
yasr is:
Yasr is a general-purpose console screen reader for GNU/Linux and other Unix-like operating systems. The name “yasr” is an acronym that can stand for either “Yet Another Screen Reader” or “Your All-purpose Screen Reader”.
Currently, yasr attempts to support the Speak-out, DEC-talk, BNS, Apollo, and DoubleTalk synthesizers. It is also able to communicate with Emacspeak servers and can thus be used with synthesizers not directly supported, such as Festival Lite (via eflite) or FreeTTS.
Yasr is written in C and works by opening a pseudo-terminal and running a shell, intercepting all input and output. It looks at the escape sequences being sent and maintains a virtual “window” containing what it believes to be on the screen. It thus does not use any features specific to Linux and can be ported to other Unix-like operating systems without too much trouble.
There are three methods to install yasr
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 yasr Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install yasr
using apt-get
by running the following command:
sudo apt-get -y install yasr
Install yasr Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install yasr
using apt
by running the following command:
sudo apt -y install yasr
Install yasr 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 yasr
using aptitude
by running the following command:
sudo aptitude -y install yasr
How To Uninstall yasr on Debian 9
To uninstall only the yasr
package we can use the following command:
sudo apt-get remove yasr
Uninstall yasr And Its Dependencies
To uninstall yasr
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove yasr
Remove yasr Configurations and Data
To remove yasr
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge yasr
Remove yasr configuration, data, and all of its dependencies
We can use the following command to remove yasr
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge yasr
Dependencies
yasr have the following dependencies:
References
Summary
In this tutorial we learn how to install yasr
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.