How To Install redshift on Fedora 34
Introduction
In this tutorial we learn how to install redshift
on Fedora 34.
What is redshift
Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. The color temperature is set according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt. This package provides the base program.
We can use yum
or dnf
to install redshift
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install redshift.
Install redshift on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install redshift
using dnf
by running the following command:
sudo dnf -y install redshift
Install redshift on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install redshift
using yum
by running the following command:
sudo yum -y install redshift
How To Uninstall redshift on Fedora 34
To uninstall only the redshift
package we can use the following command:
sudo dnf remove redshift
redshift Package Contents on Fedora 34
/usr/bin/redshift
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/43b279d209c42029834a54bbf457d187b558e0
/usr/lib/systemd/user/redshift.service
/usr/share/applications/redshift.desktop
/usr/share/doc/redshift
/usr/share/doc/redshift/CONTRIBUTING.md
/usr/share/doc/redshift/DESIGN
/usr/share/doc/redshift/NEWS
/usr/share/doc/redshift/NEWS.md
/usr/share/doc/redshift/README
/usr/share/doc/redshift/README-colorramp
/usr/share/doc/redshift/README.md
/usr/share/doc/redshift/redshift.conf.sample
/usr/share/licenses/redshift
/usr/share/licenses/redshift/COPYING
/usr/share/locale/ar/LC_MESSAGES/redshift.mo
/usr/share/locale/be/LC_MESSAGES/redshift.mo
/usr/share/locale/bg/LC_MESSAGES/redshift.mo
/usr/share/locale/ca/LC_MESSAGES/redshift.mo
/usr/share/locale/cs/LC_MESSAGES/redshift.mo
/usr/share/locale/da/LC_MESSAGES/redshift.mo
/usr/share/locale/de/LC_MESSAGES/redshift.mo
/usr/share/locale/el/LC_MESSAGES/redshift.mo
/usr/share/locale/en_GB/LC_MESSAGES/redshift.mo
/usr/share/locale/es/LC_MESSAGES/redshift.mo
/usr/share/locale/et/LC_MESSAGES/redshift.mo
/usr/share/locale/eu/LC_MESSAGES/redshift.mo
/usr/share/locale/fi/LC_MESSAGES/redshift.mo
/usr/share/locale/fr/LC_MESSAGES/redshift.mo
/usr/share/locale/gl/LC_MESSAGES/redshift.mo
/usr/share/locale/he/LC_MESSAGES/redshift.mo
/usr/share/locale/hi/LC_MESSAGES/redshift.mo
/usr/share/locale/hr/LC_MESSAGES/redshift.mo
/usr/share/locale/hu/LC_MESSAGES/redshift.mo
/usr/share/locale/it/LC_MESSAGES/redshift.mo
/usr/share/locale/ja/LC_MESSAGES/redshift.mo
/usr/share/locale/ka/LC_MESSAGES/redshift.mo
/usr/share/locale/lt/LC_MESSAGES/redshift.mo
/usr/share/locale/nb/LC_MESSAGES/redshift.mo
/usr/share/locale/nl/LC_MESSAGES/redshift.mo
/usr/share/locale/pl/LC_MESSAGES/redshift.mo
/usr/share/locale/pt/LC_MESSAGES/redshift.mo
/usr/share/locale/pt_BR/LC_MESSAGES/redshift.mo
/usr/share/locale/ro/LC_MESSAGES/redshift.mo
/usr/share/locale/ru/LC_MESSAGES/redshift.mo
/usr/share/locale/sr/LC_MESSAGES/redshift.mo
/usr/share/locale/sv/LC_MESSAGES/redshift.mo
/usr/share/locale/tr/LC_MESSAGES/redshift.mo
/usr/share/locale/uk/LC_MESSAGES/redshift.mo
/usr/share/locale/zh_CN/LC_MESSAGES/redshift.mo
/usr/share/locale/zh_TW/LC_MESSAGES/redshift.mo
/usr/share/man/man1/redshift.1.gz
References
Summary
In this tutorial we learn how to install redshift
on Fedora 34 using yum and dnf.