Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Can I install c-ares 1.18.1 on Ubuntu 21.10

I have a problem with a program that uses c-ares and I’ve been told to update my c-ares to version 1.18.1.

I ran apt list libc-ares-dev and the output was

Listing... Done
libc-ares-dev/impish,now 1.17.1-1ubuntu1 amd64 [installed]
libc-ares-dev/impish 1.17.1-1ubuntu1 i386

Is there a way of installing 1.18.1 on Ubuntu 21.10? If I download the source code and do a manual install will it overwrite the package I currently have installed? Or will it install to some other location? I’m guessing there is no package available for 1.18.1?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can install this libc-ares-dev (1.18.1-1) library manually on Ubuntu 21.10 using packages from upcoming 22.04 LTS, by commands shown below:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/c/c-ares/libc-ares2_1.18.1-1_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/main/c/c-ares/libc-ares-dev_1.18.1-1_amd64.deb

sudo apt-get install ./libc-ares2_1.18.1-1_amd64.deb ./libc-ares-dev_1.18.1-1_amd64.deb
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading