Score:0

How to install debian file in ubuntu 21.04?

th flag

I installed one package by using wget command ,The downloaded package is storing in my Downloads folder,when i tried to do the following command it throws an error please help me to resolve this issue..

sudo dpkg -i libcurl3_7.58.0-2ubuntu2_amd64.deb

dpkg-deb: error: 'libcurl3_7.58.0-2ubuntu2_amd64.deb' is not a Debian format archive
dpkg: error processing archive libcurl3_7.58.0-2ubuntu2_amd64.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 libcurl3_7.58.0-2ubuntu2_amd64.deb
Sravani avatar
th flag
wget http://packages.ubuntu.com/libcurl3_7.58.0-2ubuntu2_amd64.deb ,by using this command i installed
us flag
Ubuntu 21.04 has `libcurl4`. Does that not work for you? `sudo apt install libcurl4`.
Sravani avatar
th flag
Is it compatible for php7.2-curl
user535733 avatar
cn flag
Are you saying that you do not understand the error? `X.deb is not a Debian format archive` seems pretty clear.
Sravani avatar
th flag
@user535733, How to install that package,i am very new to the ubuntu
Sravani avatar
th flag
1)sudo apt-get install libcurl3_7.58.0-2ubuntu2_amd64.deb. it's throwing an error unable to locate any package . 2) wget http://packages.ubuntu.com/libcurl3_7.58.0-2ubuntu2_amd64.deb it's installing but when i run dpkg command it throws archive error
Sravani avatar
th flag
@user535733, whih way i have to follow please help me
user535733 avatar
cn flag
The package `php7.2-curl` (which requires `libcurl3`) is specific to Ubuntu 18.04. It's not available in newer nor older releases of Ubuntu. If you MUST use php7.2-curl, you will find it easiest to do so using Ubuntu 18.04 instead of Ubuntu 21.04.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.