Sunday, August 26, 2018

package management - Offline installing libxml2-dev in Ubuntu 15.04


Hi I'm kinda new to Ubuntu and have a problem. I don't have any internet on my pc and wanto install the libxml2-dev package to my system. I've gotten hold of a .deb file which I can open with the Software Centre buuuut, when I do that I get an error: Dependency is not satisfiable: libicu-dev.
Here is the complete name of the .deb file I downloaded from LaunchPad site.
libxml2-dev_2.9.2+dfsg_1-3_amd64.deb
So can anyone help me install this package via .deb file format please.



Go to a system with Internet access and download libicu-dev
via


wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu-dev_52.1-8ubuntu0.2_amd64.deb

and install with


sudo dpkg -i libicu-dev_52.1-8ubuntu0.2_amd64.deb

Then install the libxml2-dev package again


sudo dpkg -i libxml2-dev_2.9.2+dfsg1-3_amd64.deb



However, it may be that you still need more packages. Unfortunately I can not say that because I do not know what you have already installed. But I think the way forward is clear. ;)


All packages are available here. Search the packages for Vivid (vivid and/or vivid-updates) and download the 64-bit versions. Use an USB stick and use this stick in your desktop system.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...