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

  1. Open the terminal and switch to the root user:

    $ sudo su
    
  2. Use the Nix package manager to install rtop:

    $ nix-env -i rtop
    

    If you don't have the latest version of the package manager, you can update it by running:

    $ nix-channel --update && nix-env -u
    
  3. Verify that the installation was successful by running the command:

    $ rtop
    

    You 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:

  1. Switch to the root user:

    $ sudo su
    
  2. Use 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.