How To Install privoxy on CentOS 8

privoxy is Privacy enhancing proxy

Introduction

In this tutorial we learn how to install privoxy on CentOS 8.

What is privoxy

Privoxy is a web proxy with advanced filtering capabilities for protecting privacy, filtering web page content, managing cookies, controlling access, and removing ads, banners, pop-ups and other obnoxious Internet junk. Privoxy has a very flexible configuration and can be customized to suit individual needs and tastes. Privoxy has application for both stand-alone systems and multi-user networks. Privoxy is based on the Internet Junkbuster.

We can use yum or dnf to install privoxy on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install privoxy.

Install privoxy on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install privoxy using dnf by running the following command:

sudo dnf -y install privoxy

Install privoxy on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install privoxy using yum by running the following command:

sudo yum -y install privoxy

How To Uninstall privoxy on CentOS 8

To uninstall only the privoxy package we can use the following command:

sudo dnf remove privoxy

privoxy Package Contents on CentOS 8

/etc/logrotate.d/privoxy
/etc/privoxy
/etc/privoxy/config
/etc/privoxy/default.action
/etc/privoxy/default.filter
/etc/privoxy/match-all.action
/etc/privoxy/regression-tests.action
/etc/privoxy/templates
/etc/privoxy/templates/blocked
/etc/privoxy/templates/cgi-error-404
/etc/privoxy/templates/cgi-error-bad-param
/etc/privoxy/templates/cgi-error-disabled
/etc/privoxy/templates/cgi-error-file
/etc/privoxy/templates/cgi-error-file-read-only
/etc/privoxy/templates/cgi-error-modified
/etc/privoxy/templates/cgi-error-parse
/etc/privoxy/templates/cgi-style.css
/etc/privoxy/templates/client-tags
/etc/privoxy/templates/connect-failed
/etc/privoxy/templates/connection-timeout
/etc/privoxy/templates/default
/etc/privoxy/templates/edit-actions-add-url-form
/etc/privoxy/templates/edit-actions-for-url
/etc/privoxy/templates/edit-actions-for-url-filter
/etc/privoxy/templates/edit-actions-for-url-string-filter
/etc/privoxy/templates/edit-actions-list
/etc/privoxy/templates/edit-actions-list-button
/etc/privoxy/templates/edit-actions-list-section
/etc/privoxy/templates/edit-actions-list-url
/etc/privoxy/templates/edit-actions-remove-url-form
/etc/privoxy/templates/edit-actions-url-form
/etc/privoxy/templates/forwarding-failed
/etc/privoxy/templates/mod-local-help
/etc/privoxy/templates/mod-support-and-service
/etc/privoxy/templates/mod-title
/etc/privoxy/templates/mod-unstable-warning
/etc/privoxy/templates/no-server-data
/etc/privoxy/templates/no-such-domain
/etc/privoxy/templates/show-request
/etc/privoxy/templates/show-status
/etc/privoxy/templates/show-status-file
/etc/privoxy/templates/show-url-info
/etc/privoxy/templates/toggle
/etc/privoxy/templates/toggle-mini
/etc/privoxy/templates/untrusted
/etc/privoxy/templates/url-info-osd.xml
/etc/privoxy/trust
/etc/privoxy/user.action
/etc/privoxy/user.filter
/usr/lib/.build-id
/usr/lib/.build-id/52
/usr/lib/.build-id/52/bace30c4275a818e917043caf9b59a169dc09b
/usr/lib/systemd/system/privoxy.service
/usr/sbin/privoxy
/usr/share/doc/privoxy
/usr/share/doc/privoxy/AUTHORS
/usr/share/doc/privoxy/ChangeLog
/usr/share/doc/privoxy/LICENSE
/usr/share/doc/privoxy/README
/usr/share/doc/privoxy/doc
/usr/share/doc/privoxy/doc/pcrs.3
/usr/share/doc/privoxy/doc/source
/usr/share/doc/privoxy/doc/source/authors.sgml
/usr/share/doc/privoxy/doc/source/buildsource.sgml
/usr/share/doc/privoxy/doc/source/changelog.sgml
/usr/share/doc/privoxy/doc/source/config.sgml
/usr/share/doc/privoxy/doc/source/contacting.sgml
/usr/share/doc/privoxy/doc/source/copyright.sgml
/usr/share/doc/privoxy/doc/source/developer-manual.sgml
/usr/share/doc/privoxy/doc/source/faq.sgml
/usr/share/doc/privoxy/doc/source/history.sgml
/usr/share/doc/privoxy/doc/source/install.sgml
/usr/share/doc/privoxy/doc/source/ldp.dsl
/usr/share/doc/privoxy/doc/source/ldp.dsl.in
/usr/share/doc/privoxy/doc/source/license.sgml
/usr/share/doc/privoxy/doc/source/newfeatures.sgml
/usr/share/doc/privoxy/doc/source/p-authors.sgml
/usr/share/doc/privoxy/doc/source/p-config.sgml
/usr/share/doc/privoxy/doc/source/privoxy-man-page.sgml
/usr/share/doc/privoxy/doc/source/privoxy.sgml
/usr/share/doc/privoxy/doc/source/readme.sgml
/usr/share/doc/privoxy/doc/source/seealso.sgml
/usr/share/doc/privoxy/doc/source/supported.sgml
/usr/share/doc/privoxy/doc/source/user-manual.sgml
/usr/share/doc/privoxy/doc/source/webserver
/usr/share/doc/privoxy/doc/source/webserver/index.sgml
/usr/share/doc/privoxy/doc/webserver
/usr/share/doc/privoxy/doc/webserver/README.txt
/usr/share/doc/privoxy/doc/webserver/announce.txt
/usr/share/doc/privoxy/doc/webserver/developer-manual
/usr/share/doc/privoxy/doc/webserver/developer-manual/coding.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/documentation.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/git.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/index.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/introduction.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/newrelease.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/testing.html
/usr/share/doc/privoxy/doc/webserver/developer-manual/webserver-update.html
/usr/share/doc/privoxy/doc/webserver/error-favicon.ico
/usr/share/doc/privoxy/doc/webserver/faq
/usr/share/doc/privoxy/doc/webserver/faq/configuration.html
/usr/share/doc/privoxy/doc/webserver/faq/contact.html
/usr/share/doc/privoxy/doc/webserver/faq/copyright.html
/usr/share/doc/privoxy/doc/webserver/faq/general.html
/usr/share/doc/privoxy/doc/webserver/faq/index.html
/usr/share/doc/privoxy/doc/webserver/faq/installation.html
/usr/share/doc/privoxy/doc/webserver/faq/misc.html
/usr/share/doc/privoxy/doc/webserver/faq/trouble.html
/usr/share/doc/privoxy/doc/webserver/favicon.ico
/usr/share/doc/privoxy/doc/webserver/images
/usr/share/doc/privoxy/doc/webserver/images/privoxy.png
/usr/share/doc/privoxy/doc/webserver/index.html
/usr/share/doc/privoxy/doc/webserver/man-page
/usr/share/doc/privoxy/doc/webserver/man-page/privoxy-man-page.html
/usr/share/doc/privoxy/doc/webserver/p_doc.css
/usr/share/doc/privoxy/doc/webserver/p_feedback.css
/usr/share/doc/privoxy/doc/webserver/privoxy-index.html
/usr/share/doc/privoxy/doc/webserver/privoxy.css
/usr/share/doc/privoxy/doc/webserver/robots.txt
/usr/share/doc/privoxy/doc/webserver/sponsors
/usr/share/doc/privoxy/doc/webserver/sponsors/index.html
/usr/share/doc/privoxy/doc/webserver/team
/usr/share/doc/privoxy/doc/webserver/team/01stefanw.jpg
/usr/share/doc/privoxy/doc/webserver/team/01stefanw_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/02jon.jpg
/usr/share/doc/privoxy/doc/webserver/team/02jon_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/03andreas.jpg
/usr/share/doc/privoxy/doc/webserver/team/03andreas_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/04rodney.jpg
/usr/share/doc/privoxy/doc/webserver/team/04rodney_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/05david.jpg
/usr/share/doc/privoxy/doc/webserver/team/05david_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/05member.jpg
/usr/share/doc/privoxy/doc/webserver/team/05member_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/06member.jpg
/usr/share/doc/privoxy/doc/webserver/team/06member_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/07member.jpg
/usr/share/doc/privoxy/doc/webserver/team/07member_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/08member.jpg
/usr/share/doc/privoxy/doc/webserver/team/08member_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/20member.jpg
/usr/share/doc/privoxy/doc/webserver/team/20member_t.jpg
/usr/share/doc/privoxy/doc/webserver/team/index.html
/usr/share/doc/privoxy/doc/webserver/user-manual
/usr/share/doc/privoxy/doc/webserver/user-manual/actions-file.html
/usr/share/doc/privoxy/doc/webserver/user-manual/appendix.html
/usr/share/doc/privoxy/doc/webserver/user-manual/config.html
/usr/share/doc/privoxy/doc/webserver/user-manual/configuration.html
/usr/share/doc/privoxy/doc/webserver/user-manual/contact.html
/usr/share/doc/privoxy/doc/webserver/user-manual/copyright.html
/usr/share/doc/privoxy/doc/webserver/user-manual/files-in-use.jpg
/usr/share/doc/privoxy/doc/webserver/user-manual/filter-file.html
/usr/share/doc/privoxy/doc/webserver/user-manual/index.html
/usr/share/doc/privoxy/doc/webserver/user-manual/installation.html
/usr/share/doc/privoxy/doc/webserver/user-manual/introduction.html
/usr/share/doc/privoxy/doc/webserver/user-manual/proxy2.jpg
/usr/share/doc/privoxy/doc/webserver/user-manual/proxy_setup.jpg
/usr/share/doc/privoxy/doc/webserver/user-manual/quickstart.html
/usr/share/doc/privoxy/doc/webserver/user-manual/seealso.html
/usr/share/doc/privoxy/doc/webserver/user-manual/startup.html
/usr/share/doc/privoxy/doc/webserver/user-manual/templates.html
/usr/share/doc/privoxy/doc/webserver/user-manual/whatsnew.html
/usr/share/man/man8/privoxy.8.gz
/var/log/privoxy

References

Summary

In this tutorial we learn how to install privoxy on CentOS 8 using yum and dnf.