curl downgrade

ent000

New member
Joined
Feb 11, 2013
Messages
6
Hello,

Is there a possibility to downgrade from current curl version 7.29.0 to lower version? (last one before 7.29.0)?
 
Hello,

Is there a possibility to downgrade from current curl version 7.29.0 to lower version? (last one before 7.29.0)?
un pacman linked against that library to downgrade to curl.
Code:
mkdir /tmp/pacman_build
cd /tmp/pacman_build
# The exact version number probably isn't important, just pick one that isn't the most recent
Code:
cp /var/cache/pacman/pkg/curl-7.26.0-1-x86_64.pkg.tar.xz .
tar -xJf curl-7.26.0-1-x86_64.pkg.tar.xz
sudo LD_PRELOAD=/tmp/pacman_build/usr/lib/libcurl.so pacman -U /var/cache/pacman/pkg/curl-7.26.0-1-x86_64.pkg.tar.xz
# Now carry on
Code:
sudo pacman -Su
# And clean up if you like
Code:
rm -r /tmp/pacman_build

I hope it helped you. :rolleyes:
 
I think your OS must be CentOS/Debian. So Try the following command.
Code:
yum remove curl
then search for the version on internet and download the package you want and install.
Code:
rpm -i curl.x.x.x.rpm
 
I'm using Debian and curl is from custombuild.
It's no deffrence, the bellow comaneds came from http://www.directadmin.com/setup.sh
Code:
if [ "$CURLDEV" -eq 0 ]; then
	#only applies to centos 6
	if [ "${FILES_PATH}" = "es_6.0" ] || [ "${FILES_PATH}" = "es_6.0_64" ]; then
		echo "Installing libcurl-devel..";

		yum -y install libcurl-devel

So you should remove curl
Code:
yum remove curl
then fined the version you want on internet and at last install that like the following code.
Code:
rpm -i curl.x.x.x.rpm
 
There is above this: #only applies to centos 6

I use debian so i don't have yum and this solution is not for debian...
 
So
Code:
apt-get prge curl
Find the Curl version you want. then
Code:
dpkg -i Curl package name
 
I wrote earlier that curl is build from source from custombuild. Apt-get remove/purge dosen't work because it shows that there isn't package curl in the system...
 
You can change the version in versions.txt as long as you have autover=no in options.conf.
 
Back
Top