How To Install wondershaper on Debian 9
Introduction
In this tutorial we learn how to install wondershaper
on Debian 9.
What is wondershaper
wondershaper is:
An easy to use traffic shaping script that provides these improvements:
- Low latency for interactive traffic (and pings) at all times
- Allow websurfing at reasonable speeds while uploading / downloading
- Make sure uploads don’t hurt downloads
- Make sure downloads don’t hurt uploads
It does this by:
- Limiting upload speed slightly, to eliminate queues
- Limiting download speed, while allowing bursts, to eliminate queues
- Interactive traffic skips the queue
- ACKs and tiny packets skip the queue
Configuring the wondershaper requires you to accurately and precisely determine your consistent upload and download speeds.
The wondershaper is the simplest, easiest to use, entry level, traffic shaping script provided by Debian.
After installing this package, read highly the detailed instructions: /usr/share/doc/wondershaper/README.Debian
There are three methods to install wondershaper
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 wondershaper Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install wondershaper
using apt-get
by running the following command:
sudo apt-get -y install wondershaper
Install wondershaper Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install wondershaper
using apt
by running the following command:
sudo apt -y install wondershaper
Install wondershaper 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 wondershaper
using aptitude
by running the following command:
sudo aptitude -y install wondershaper
How To Uninstall wondershaper on Debian 9
To uninstall only the wondershaper
package we can use the following command:
sudo apt-get remove wondershaper
Uninstall wondershaper And Its Dependencies
To uninstall wondershaper
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove wondershaper
Remove wondershaper Configurations and Data
To remove wondershaper
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge wondershaper
Remove wondershaper configuration, data, and all of its dependencies
We can use the following command to remove wondershaper
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge wondershaper
Dependencies
wondershaper have the following dependencies:
References
Summary
In this tutorial we learn how to install wondershaper
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.