How To Install lightsquid on Fedora 34
Introduction
In this tutorial we learn how to install lightsquid
on Fedora 34.
What is lightsquid
lightsquid is a small and fast Squid log analyzer.
We can use yum
or dnf
to install lightsquid
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install lightsquid.
Install lightsquid 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 lightsquid
using dnf
by running the following command:
sudo dnf -y install lightsquid
Install lightsquid 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 lightsquid
using yum
by running the following command:
sudo yum -y install lightsquid
How To Uninstall lightsquid on Fedora 34
To uninstall only the lightsquid
package we can use the following command:
sudo dnf remove lightsquid
lightsquid Package Contents on Fedora 34
/etc/cron.daily/lightsquid
/etc/lightsquid
/etc/lightsquid/group.cfg
/etc/lightsquid/lightsquid.cfg
/etc/lightsquid/realname.cfg
/usr/sbin/lightparser.pl
/usr/share/doc/lightsquid
/usr/share/doc/lightsquid/gnugpl.txt
/usr/share/doc/lightsquid/graph.txt
/usr/share/doc/lightsquid/install.txt
/usr/share/doc/lightsquid/logformat.txt
/usr/share/doc/lightsquid/readme.txt
/usr/share/doc/lightsquid/templates.txt
/usr/share/doc/lightsquid/thanks.txt
/usr/share/doc/lightsquid/version.txt
/usr/share/lightsquid/check-setup.pl
/usr/share/lightsquid/common.pl
/usr/share/lightsquid/ip2name/ip2name.abils
/usr/share/lightsquid/ip2name/ip2name.demo
/usr/share/lightsquid/ip2name/ip2name.dhcp
/usr/share/lightsquid/ip2name/ip2name.dns
/usr/share/lightsquid/ip2name/ip2name.ip
/usr/share/lightsquid/ip2name/ip2name.list
/usr/share/lightsquid/ip2name/ip2name.simple
/usr/share/lightsquid/ip2name/ip2name.smb
/usr/share/lightsquid/ip2name/ip2name.squidauth
/usr/share/lightsquid/ip2name/ip2name.squidlist
/usr/share/lightsquid/ip2name/ip2name.squidlist2
/usr/share/lightsquid/lang/bg.lng
/usr/share/lightsquid/lang/check_lng.pl
/usr/share/lightsquid/lang/check_tpl_lng.pl
/usr/share/lightsquid/lang/cz.lng
/usr/share/lightsquid/lang/eng.lng
/usr/share/lightsquid/lang/fr.lng
/usr/share/lightsquid/lang/hu.lng
/usr/share/lightsquid/lang/it.lng
/usr/share/lightsquid/lang/pt_br.lng
/usr/share/lightsquid/lang/ru-koi8.lng
/usr/share/lightsquid/lang/ru-utf8.lng
/usr/share/lightsquid/lang/ru.lng
/usr/share/lightsquid/lang/sp.lng
/usr/share/lightsquid/lang/ua.lng
/usr/share/lightsquid/tools/SiteAggregator
/usr/share/lightsquid/tools/SiteAggregator/ReportExplorer.pl
/usr/share/lightsquid/tools/SiteAggregator/SiteAgregator.pl
/usr/share/lightsquid/tools/fixreport.pl
/usr/share/lightsquid/tpl/base
/usr/share/lightsquid/tpl/base/bigfiles.html
/usr/share/lightsquid/tpl/base/day_detail.html
/usr/share/lightsquid/tpl/base/graph.html
/usr/share/lightsquid/tpl/base/group_detail.html
/usr/share/lightsquid/tpl/base/images
/usr/share/lightsquid/tpl/base/images/datetime.png
/usr/share/lightsquid/tpl/base/images/flag_red.png
/usr/share/lightsquid/tpl/base/images/graph.png
/usr/share/lightsquid/tpl/base/images/printer.png
/usr/share/lightsquid/tpl/base/index.html
/usr/share/lightsquid/tpl/base/month_detail.html
/usr/share/lightsquid/tpl/base/topsites.html
/usr/share/lightsquid/tpl/base/user_detail.html
/usr/share/lightsquid/tpl/base/user_month.html
/usr/share/lightsquid/tpl/base/user_time.html
/usr/share/lightsquid/tpl/base/whousesite.html
/usr/share/lightsquid/tpl/text
/usr/share/lightsquid/tpl/text/bigfiles.html
/usr/share/lightsquid/tpl/text/day_detail.html
/usr/share/lightsquid/tpl/text/group_detail.html
/usr/share/lightsquid/tpl/text/index.html
/usr/share/lightsquid/tpl/text/month_detail.html
/usr/share/lightsquid/tpl/text/topsites.html
/usr/share/lightsquid/tpl/text/user_detail.html
/usr/share/lightsquid/tpl/text/user_month.html
/usr/share/lightsquid/tpl/text/whousesite.html
/var/lightsquid
References
Summary
In this tutorial we learn how to install lightsquid
on Fedora 34 using yum and dnf.