How to install ActivityWatch on Fedora Server
In this tutorial, we will guide you through the process of installing ActivityWatch, an open-source software that allows you to track how you spend your time on your computer. We will be using Fedora Server latest version for this tutorial.
Prerequisites
Before we get started, it's essential to check that your system meets the following requirements:
- You have administrative privileges to install new software on your computer.
- You have an active internet connection.
- You have the latest version of Fedora Server installed on your system.
Step 1 - Update System
To ensure that your system is up-to-date, run the following command in your terminal:
sudo dnf update
Step 2 - Install Dependencies
Before we install ActivityWatch, we need to make sure that our system has all the necessary dependencies required to run the software. Use the following command to install the dependencies:
sudo dnf install -y python3-devel python3-setuptools gcc
Step 3 - Install ActivityWatch
Now that all the dependencies are installed, we can proceed with the installation of ActivityWatch.
First, we need to add the ActivityWatch repository key to our system using the following command:
sudo rpm --import https://raw.githubusercontent.com/ActivityWatch/key/master/activitywatch.asc
Then, we need to create a new file /etc/yum.repos.d/activitywatch.repo with the following content:
[activitywatch]
name=activitywatch
baseurl=https://yum.activitywatch.net
enabled=1
gpgcheck=1
gpgkey=https://raw.githubusercontent.com/ActivityWatch/key/master/activitywatch.asc
Now that we've added the ActivityWatch repository to our system, let's install the package using the following command:
sudo dnf install -y activitywatch
Step 4 - Start ActivityWatch
ActivityWatch is now installed on your system. To start the service and make sure it starts on boot, run the following commands:
sudo systemctl enable activitywatch
sudo systemctl start activitywatch
Step 5 - Access Web User Interface
ActivityWatch provides a web-based user interface, which you can access using your web browser. To access the UI, open your web browser and visit the following URL:
http://localhost:5600/
You should now be able to see the ActivityWatch dashboard.
Conclusion
We've now successfully installed ActivityWatch on Fedora Server, and you can use it to track your computer usage. Make sure to check the ActivityWatch documentation for a comprehensive guide on how to use the software.