I have an old installation of October on local host. When I tried to update it, through http://localhost/octobercms/backend/system/updates
I got the following error
"Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'" on line 440 of /var/www/html/octobercms/vendor/october/rain/src/Network/Http.php