How to installa the package libxml2 in my ubuntu server

Asked by Johan Gutierrez

I have decompress my package in Ubuntu but, I have not the option to do the installation of this package, could somebody tell how to do this? thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libxml2 Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Which Ubuntu release is your server running?

And for installing, just use Ubuntu's package management system, e.g. with a command like
sudo apt install libxml2

see also https://ubuntu.com/server/docs/package-management

Revision history for this message
Johan Gutierrez (johanj) said :
#2
Revision history for this message
Johan Gutierrez (johanj) said :
#3

My UBUNTU version is Ubuntu 20.04.4 LTS. I ran that command but, I received a message that I already have the last version in my server (2.9.10+dfsg-5ubuntu0.20.04.1). The problem is my company want the version (2.9.10+dfsg-5ubuntu0.20.04.2) with .2 at the end. There is a possibility to do that?

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Try updating the local list of available packages and then try again:

sudo apt update
sudo apt upgrade

if this still does not install the newest version, then please paste all output into this question document that we can check.

Revision history for this message
Johan Gutierrez (johanj) said :
#5

How can I update the local list of available packages?

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

"How can I update the local list of available packages?"
With the first of the two commands in my comment #4
And the second command will then install a newer version of all packages for which an update is available.

Revision history for this message
Johan Gutierrez (johanj) said (last edit ):
#7

I did that and in fact I follow the instructions of the INSTALL file of the package and nothing worked, I am still with the same version that end in .1

Revision history for this message
Johan Gutierrez (johanj) said (last edit ):
#8

Hi Manfre, appriciate your help what you said was right, the problem was in my side because, there is a restriction in the domain of company to do a patch update outside of the patch cicle, they gave me the command to bypass this restriction and I was able to install the new version of the package without problems.