How To Install vasttrafik-cli on Debian 12
Introduction
In this tutorial we learn how to install vasttrafik-cli
on Debian 12.
What is vasttrafik-cli
vasttrafik-cli is:
V?sttrafik is the agency for public transport in V?stra G?taland (Sweden).
This package provies a CLI to access their API and plan trips or see the incoming vehicles at a given stop.
There are three methods to install vasttrafik-cli
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 vasttrafik-cli Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install vasttrafik-cli
using apt-get
by running the following command:
sudo apt-get -y install vasttrafik-cli
Install vasttrafik-cli Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install vasttrafik-cli
using apt
by running the following command:
sudo apt -y install vasttrafik-cli
Install vasttrafik-cli 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 vasttrafik-cli
using aptitude
by running the following command:
sudo aptitude -y install vasttrafik-cli
How To Uninstall vasttrafik-cli on Debian 12
To uninstall only the vasttrafik-cli
package we can use the following command:
sudo apt-get remove vasttrafik-cli
Uninstall vasttrafik-cli And Its Dependencies
To uninstall vasttrafik-cli
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove vasttrafik-cli
Remove vasttrafik-cli Configurations and Data
To remove vasttrafik-cli
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge vasttrafik-cli
Remove vasttrafik-cli configuration, data, and all of its dependencies
We can use the following command to remove vasttrafik-cli
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge vasttrafik-cli
Dependencies
vasttrafik-cli have the following dependencies:
References
Summary
In this tutorial we learn how to install vasttrafik-cli
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.