Installing rtop on NixOS latest
rtop is a real-time system monitoring tool that provides detailed information about system resources. In this tutorial, we will explain the steps to install rtop on NixOS latest.
Prerequisites
- A running NixOS latest installation.
- Internet connectivity on the server.
Installing rtop
Open the terminal and switch to the root user:
$ sudo suUse the Nix package manager to install rtop:
$ nix-env -i rtopIf you don't have the latest version of the package manager, you can update it by running:
$ nix-channel --update && nix-env -uVerify that the installation was successful by running the command:
$ rtopYou should see the rtop dashboard and system resource usage information displayed on the screen.
Congratulations, you have successfully installed rtop on NixOS latest!
Uninstalling rtop
If you ever need to uninstall rtop, you can use the Nix package manager:
Switch to the root user:
$ sudo suUse the following command to remove the rtop package:
$ nix-env -e rtop
That's all there is to it. rtop has been removed from your system.