How To Install lua-torch-xlua on Debian 10
Introduction
In this tutorial we learn how to install lua-torch-xlua
on Debian 10.
What is lua-torch-xlua
lua-torch-xlua is:
Lua is pretty compact in terms of built-in functionalities: this package extends the table and string libraries, and provide other general purpose tools (progress bar, …).
This package ships a set of useful extensions to Lua for Torch Framework.
There are three methods to install lua-torch-xlua
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install lua-torch-xlua Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install lua-torch-xlua
using apt-get
by running the following command:
sudo apt-get -y install lua-torch-xlua
Install lua-torch-xlua Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lua-torch-xlua
using apt
by running the following command:
sudo apt -y install lua-torch-xlua
Install lua-torch-xlua 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 lua-torch-xlua
using aptitude
by running the following command:
sudo aptitude -y install lua-torch-xlua
How To Uninstall lua-torch-xlua on Debian 10
To uninstall only the lua-torch-xlua
package we can use the following command:
sudo apt-get remove lua-torch-xlua
Uninstall lua-torch-xlua And Its Dependencies
To uninstall lua-torch-xlua
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove lua-torch-xlua
Remove lua-torch-xlua Configurations and Data
To remove lua-torch-xlua
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge lua-torch-xlua
Remove lua-torch-xlua configuration, data, and all of its dependencies
We can use the following command to remove lua-torch-xlua
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lua-torch-xlua
Dependencies
lua-torch-xlua have the following dependencies:
References
Summary
In this tutorial we learn how to install lua-torch-xlua
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.