S
S
Shimpanze2019-08-30 07:30:18
linux
Shimpanze, 2019-08-30 07:30:18

How to update libxml2 on centos 7 server?

Hello!
I bought a VPS server from REG.RU, set it up, but the libxml2 version is 2.9.1, and now the last one is already 2.9.9.
Explain, humanly, how to update it?
So far, all I've figured out is how to upload it (but I don't even understand where):

wget ftp://xmlsoft.org/libxml2/libxml2-2.9.9-1.fc28.src.rpm

What commands are needed next?
Thank you!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
CityCat4, 2019-08-31
@Shimpanze

You - a single command:
Well, you may also need to edit the list of reps - it's in Google on the topic "how to add epel"
And the uploaded one - you won't need it from the word at all.
Firstly, this is from Fedora (fc28 in the name)
Secondly, these are the sources. Enough to collect the darkness from the sources? This (assembly from source) for a packaged distribution is an extreme measure when the weight is already exhausted and nothing helps. Because in a month you will forget that you put your hands on it and you will wrinkle your forehead with the question - why doesn’t shit work?

P
pfg21, 2019-08-30
@pfg21

this is a source package (according to the src label in the name).
you need to unpack on the target platform (judging by the rpm extension - install via yum install ) and compile the library.
on the site, and inside the archive, in theory, there should be a description of how to compile this binary. read-study.
But is there any point in version 2.9.9 ?? Or is it the pursuit of numbers.

A
Alessandra, 2019-08-30
@Alessandra

Hello! Please leave a support ticket: https://goo.gl/Yzi6kH. Our experts will definitely help you.

A
Alexey Dmitriev, 2019-08-30
@SignFinder

The correct option for someone who is not very knowledgeable is to issue the yum update command, if there is access to the console (via ssh for example), which will update all packages from the update repository intended for Centos 7.
Manual update operations need to be carried out only then - when there is a real need for it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question