Permits to execute usual SysRq commands by network, like: sync, umount, reboot, poweroff, sak, term, etc. In this tutorial, I will show you how to install sysrqd on Ubuntu 22.04.
Prerequisites to install
- OS: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Make sure you are able to execute sudo commands.
Install sysrqd Ubuntu 22.04
sysrqd is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.
Install sysrqd using APT
This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to install sysrqd on your Ubuntu.
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:
Step 2: Install the package on Ubuntu 22.04. You can now install sysrqd Ubuntu by executing this command in the terminal.
Install sysrqd using Aptitude
With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.
After that, you can now install sysrqd by following these steps:
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:
Step 2: Install the package on Ubuntu 22.04. After updating, you can install sysrqd Ubuntu by pasting this command into the terminal and executing it.
Uninstall sysrqd on Ubuntu 22.04
Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a sysrqd, can be easily uninstalled by anyone.
If you installed sysrqd using APT or Aptitude, you could uninstall sysrqd on Ubuntu by running this command
If you want to uninstall sysrqd and delete its data and dependencies, you can also run the following command:
In this guide, I showed you ways to install sysrqd on Ubuntu 22.04 and ways to uninstall sysrqd too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.