How To Install ruby-luabridge on Debian 10
Introduction
In this tutorial we learn how to install ruby-luabridge
on Debian 10.
What is ruby-luabridge
ruby-luabridge is:
RubyLuaBridge is a seamless bridge between Ruby and Lua. It is a C extension that uses the actual Lua C library.
This package is built for the default Ruby version.
There are three methods to install ruby-luabridge
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 ruby-luabridge Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ruby-luabridge
using apt-get
by running the following command:
sudo apt-get -y install ruby-luabridge
Install ruby-luabridge Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-luabridge
using apt
by running the following command:
sudo apt -y install ruby-luabridge
Install ruby-luabridge 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 ruby-luabridge
using aptitude
by running the following command:
sudo aptitude -y install ruby-luabridge
How To Uninstall ruby-luabridge on Debian 10
To uninstall only the ruby-luabridge
package we can use the following command:
sudo apt-get remove ruby-luabridge
Uninstall ruby-luabridge And Its Dependencies
To uninstall ruby-luabridge
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove ruby-luabridge
Remove ruby-luabridge Configurations and Data
To remove ruby-luabridge
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge ruby-luabridge
Remove ruby-luabridge configuration, data, and all of its dependencies
We can use the following command to remove ruby-luabridge
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-luabridge
Dependencies
ruby-luabridge have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-luabridge
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.