How To Install shiny-server on Debian 12
Introduction
In this tutorial we learn how to install shiny-server
on Debian 12.
What is shiny-server
shiny-server is:
Shiny Server lets you put shiny web applications and interactive documents online. Take your Shiny apps and share them with your organization or the world.
Shiny Server lets you go beyond static charts, and lets you manipulate the data. Users can sort, filter, or change assumptions in real-time. Shiny server empower your users to customize your analysis for their specific needs and extract more insight from the data.
There are three methods to install shiny-server
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install shiny-server Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install shiny-server
using apt-get
by running the following command:
sudo apt-get -y install shiny-server
Install shiny-server Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install shiny-server
using apt
by running the following command:
sudo apt -y install shiny-server
Install shiny-server 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 shiny-server
using aptitude
by running the following command:
sudo aptitude -y install shiny-server
How To Uninstall shiny-server on Debian 12
To uninstall only the shiny-server
package we can use the following command:
sudo apt-get remove shiny-server
Uninstall shiny-server And Its Dependencies
To uninstall shiny-server
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove shiny-server
Remove shiny-server Configurations and Data
To remove shiny-server
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge shiny-server
Remove shiny-server configuration, data, and all of its dependencies
We can use the following command to remove shiny-server
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge shiny-server
Dependencies
shiny-server have the following dependencies:
- libc6
- libgcc-s1
- libnode108
- libstdc++6
- adduser
- r-base
- r-cran-shiny
- mocha
- node-bash
- node-express
- node-faye-websocket
- node-graceful-fs
- node-handlebars
- node-log4js
- node-moment
- node-optimist
- node-pause
- node-q
- node-qs
- node-send
- node-should
- node-sinon
- node-split
- node-stable
- node-underscore
- node-compression
- node-client-sessions
- node-nan
- node-morgan
- node-shiny-server-client
- node-ip-address
- node-http-proxy
- nodejs
- npm
- pandoc
- python3
- node-sockjs-client
- node-sockjs
References
Summary
In this tutorial we learn how to install shiny-server
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.