Professional Documents
Culture Documents
RASPBERRY PI
Here you will learn how to update Pi-hole to the latest version from
command line. You are here because you might see there is a new version
showing in the footer of Pi-hole’s admin interface. But how do I update Pi-
hole?
In rare cases, if you haven’t installed Pi-hole, you can install it in the
following 1 command:
Contents
ssh <ip/host>
Once you are on your Raspberry Pi, you will see your bash prompt, actually
the username/host, is changed like below:
pihole -v
You will see similar output as shown in the following screenshot. Here my
current Pi-hole version is 4.4 and the latest is 5.1.2. BTW, AdminLTE and
FTL are Pi-hole’s components so will be updated as well.
pi@rpi:~ $ pihole -v
Pi-hole version is v4.4 (Latest: v5.1.2)
AdminLTE version is v4.3.3 (Latest: v5.1.1)
FTL version is v4.3.1 (Latest: v5.2)
Run the pihole command with -up , which means update Pi-hole, not
bring Pi-hole up…
pihole -up
You will see similar output like below. It will take a while to update Pi-hole.
It’s[✓]
easyChecking for sqlite3
to update pi-hole and it only took 3 steps.
[✓] Checking for libcap2-bin
[✓] Checking for dns-root-data
Total
[✓] Time:
Checking 10 for
minutes
libcap2
[i] Checking for lighttpd (will be installed)
[✓] Checking for php7.3-common
SSH into Raspberry Pi for Pi-hole update
[i] Checking for php7.3-cgi (will be installed)
[✓] Checking for php7.3-sqlite3
[✓] Checking for php7.3-xml
[✓] Checking for php7.3-intl
[i] Processing apt-get install(s) for: lighttpd php7.3-cgi, please
wait…
Selecting previously unselected package libfam0:armhf.
(Reading database … 150676 files and directories currently
installed.)
Preparing to unpack …/00-libfam0_2.7.0-17.3_armhf.deb …
Unpacking libfam0:armhf (2.7.0-17.3) …
Selecting previously unselected package lighttpd.
Preparing to unpack …/01-lighttpd_1.4.53-4_armhf.deb …
Unpacking lighttpd (1.4.53-4) …
Preparing to unpack …/02-php7.3-zip_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-zip (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/03-php7.3-xml_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-xml (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/04-php7.3-sqlite3_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-sqlite3 (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1)
…
Preparing to unpack …/05-php7.3-readline_7.3.19-1~deb10u1_armhf.deb
…
Unpacking php7.3-readline (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1)
…
Preparing to unpack …/06-php7.3-opcache_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-opcache (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1)
…
Preparing to unpack …/07-php7.3-mysql_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-mysql (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/08-php7.3-mbstring_7.3.19-1~deb10u1_armhf.deb
…
Unpacking php7.3-mbstring (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1)
Simply
… open an terminal run ssh <ip/host>
Preparing to unpack …/09-php7.3-json_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-json (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Check Pi-hole version
Preparing to unpack …/10-php7.3-intl_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-intl (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/11-php7.3-gd_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-gd (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/12-php7.3-fpm_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-fpm (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/13-php7.3-dev_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-dev (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/14-php7.3-curl_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-curl (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/15-php7.3-cli_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-cli (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Preparing to unpack …/16-php7.3-common_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-common (7.3.19-1~deb10u1) over (7.3.14-1~deb10u1) …
Selecting previously unselected package php7.3-cgi.
Preparing to unpack …/17-php7.3-cgi_7.3.19-1~deb10u1_armhf.deb …
Unpacking php7.3-cgi (7.3.19-1~deb10u1) …
Setting up php7.3-common (7.3.19-1~deb10u1) …
Setting up php7.3-mysql (7.3.19-1~deb10u1) …
Setting up php7.3-intl (7.3.19-1~deb10u1) …
Setting up php7.3-xml (7.3.19-1~deb10u1) …
Setting up libfam0:armhf (2.7.0-17.3) …
Setting up php7.3-opcache (7.3.19-1~deb10u1) …
Setting up php7.3-zip (7.3.19-1~deb10u1) …
Setting up php7.3-curl (7.3.19-1~deb10u1) …
Setting up php7.3-gd (7.3.19-1~deb10u1) …
Setting up lighttpd (1.4.53-4) …
Setting up php7.3-sqlite3 (7.3.19-1~deb10u1) …
Setting up php7.3-mbstring (7.3.19-1~deb10u1) …
Setting up php7.3-json (7.3.19-1~deb10u1) …
Setting up php7.3-readline (7.3.19-1~deb10u1) …
Setting up php7.3-cli (7.3.19-1~deb10u1) …
Replacing config file /etc/php/7.3/cli/php.ini with new version
Setting
Simply runuppihole
php7.3-cgi
-v . You (7.3.19-1~deb10u1)
should see there…are latest versions.
update-alternatives: using /usr/bin/php-cgi7.3 to provide
/usr/bin/php-cgi (php-cgi) in auto mode
By VarHowto Editor
[i] Received 41581 domains
[✓] Storing downloaded domains in new gravity database
[✓] Building tree Welcome to VarHowto!
[✓] Swapping databases
[i] Number of gravity PROFILE POSTS
domains: 148997 (132248 unique domains)
[i] Number of exact blacklisted domains: 2
[i] Number of regex blacklist filters: 0
[i] Number of exact whitelisted domains: 9
[i] Number of regex whitelist filters: 0
[✓] Flushing DNS cache
Guy
November 9, 2021 at 1:13 pm
+5
Rob
January 14, 2022 at 10:38 am
+2
Lazydad.tech
February 11, 2022 at 10:43 am
Chromebooker
May 25, 2021 at 11:26 am
VarHowto Editor
May 25, 2021 at 12:30 pm
BY POST AUTHOR
Hucks
April 25, 2021 at 6:06 am
+3
Steve
January 26, 2021 at 6:28 am
Not needed for the core enging or web interface but IS required
for FTL!
+2
Steve
January 26, 2021 at 6:29 am
engine
SMH !!
VarHowto Editor
January 30, 2021 at 9:26 pm
+2
BY POST AUTHOR
Mike
December 25, 2020 at 2:43 am
+3
Subscribe to VarHowto
You'll receive emails of new posts.
Email Address
SUBSCRIBE
© 2023 VarHowto