Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to install bz2 lib from ssh to my CentOS server. I get it from here and use

tar -xvf

command to extract it,but it does't have configure file to compile and install it. I need this lib to install apt-get on CentOS and it needs this lib. How can I install it from ssh? (sorry if my question is so simple,I start linux so late I think)

share|improve this question

1 Answer 1

CentOS uses yum instead of apt-get. You can probably make apt-get work, but most of the docs and articles you find on the web are going to assume yum.

share|improve this answer
    
I want to install apt-get by yum.I get it apt-get source ,when I want to compile it ,it goes wrong because of libbz2 is not installed on server. –  Moein7tl Aug 10 '11 at 21:49
    
@Moein7tl I don't have a CentOS box in front of me, and I haven't tried these instructions before, but this article supposedly walks you through installing apt using yum. At a glance, it looks reasonable, but that's all I can say for it. I will say one more time that it probably makes more sense to just learn how to use yum than trying to manage a CentOS using apt, but you know your own needs best. –  Hank Gay Aug 11 '11 at 9:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.