LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2015, 09:17 AM   #1
Nitin.pant
LQ Newbie
 
Registered: Jul 2015
Location: Chandigarh,India
Distribution: Rhel,Cent_os,Ubuntu
Posts: 5

Rep: Reputation: Disabled
Post Cent_os to Ubuntu


Hi All,
I want that my all ubuntu system should update or even install there packages in my Cent_os server Through yum repository. How'z it worked.
 
Old 07-30-2015, 01:02 PM   #2
wesaus32
LQ Newbie
 
Registered: Jul 2015
Location: Michigan, USA
Distribution: Ubuntu Mate, Debian 8.0, LFS 7.7
Posts: 20

Rep: Reputation: Disabled
If I understand what you are asking correctly, you cannot install the packages from the Cent OS via yum on Ubuntu. Yum is the tool used for distros that use RPM. Ubuntu uses tools like apt-get and aptitude to install .deb packages. You are welcome to convert RPM packages to DEB packages or just find the equivalent package you want (i.e there is a RPM package you want ... find the same package in deb format). Alternatively, you can always build from source. Good luck.
 
1 members found this post helpful.
Old 07-30-2015, 05:13 PM   #3
jslobotski
LQ Newbie
 
Registered: Jul 2015
Location: Council Bluffs, IA
Distribution: Fedora, CentOS6/7, RHEL, Gentoo
Posts: 3

Rep: Reputation: Disabled
Yea as wesaus32 stated, those are two completely different package managers. Packages from yum are not compatible with the apt-get manager and vise versa.

Take a look here http://how-to.linuxcareer.com/compar...gement-systems

It talks about the apt, yum, pacman, and portage package managers.
 
Old 07-30-2015, 05:43 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
Not going to happen. Produce a list of the packages installed via yum on your centos machine, find the apt equivalents, and then use apt-get to install them on Ubuntu from the Ubuntu repository.
 
Old 07-31-2015, 01:30 AM   #5
Nitin.pant
LQ Newbie
 
Registered: Jul 2015
Location: Chandigarh,India
Distribution: Rhel,Cent_os,Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Post

Thanks to all for your interest in my post.
I am follow all procedure in making yum server in cent_os and also stored there .deb packages.
Through ftp it will be connected but i want to that my ubuntu system get all packages through yum as like rhel or cent_os worked..

PLease all suggested me asap..

Last edited by Nitin.pant; 07-31-2015 at 01:46 AM. Reason: Some thing missing
 
Old 07-31-2015, 02:08 AM   #6
Nitin.pant
LQ Newbie
 
Registered: Jul 2015
Location: Chandigarh,India
Distribution: Rhel,Cent_os,Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wesaus32 View Post
If I understand what you are asking correctly, you cannot install the packages from the Cent OS via yum on Ubuntu. Yum is the tool used for distros that use RPM. Ubuntu uses tools like apt-get and aptitude to install .deb packages. You are welcome to convert RPM packages to DEB packages or just find the equivalent package you want (i.e there is a RPM package you want ... find the same package in deb format). Alternatively, you can always build from source. Good luck.
wesaus32,
Thank you for that information. Tell me that how get the packages through apt-get command.
 
Old 07-31-2015, 09:23 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,893
Blog Entries: 9

Rep: Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518Reputation: 3518
nitin.pant, which operating system is installed?
 
Old 07-31-2015, 09:50 AM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
Quote:
Originally Posted by Nitin.pant View Post
i want to that my ubuntu system get all packages through yum as like rhel or cent_os worked.
As you've been told repeatedly - Ubuntu does not use yum. It doesn't matter how many times you ask, it's not going to happen. Also, you WILL brick your system if you attempt to convert your centos rpm packages to deb and install them on Ubuntu, do not do it.

As I said before:
Quote:
Originally Posted by suicidaleggroll View Post
Produce a list of the packages installed via yum on your centos machine, find the apt equivalents, and then use apt-get to install them on Ubuntu from the Ubuntu repository.
 
Old 07-31-2015, 09:55 AM   #9
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
Quote:
Originally Posted by Nitin.pant View Post
wesaus32,
Thank you for that information. Tell me that how get the packages through apt-get command.
http://www.howtogeek.com/63997/how-t...-command-line/
 
Old 07-31-2015, 12:13 PM   #10
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
The yum equivalent on Ubuntu is apt-get. So you might have used something like
Code:
sudo yum install package
on Ubuntu you will use
Code:
sudo apt-get install package
Ubuntu and CentOS are not binary compatible, so not only are the package managers different, but the whole package architecture is different. Each application will likely have different perquisites and even a different folder structure. So even if you did manage to get yum running on Ubuntu, like suicidaleggroll said, bank on fracking up your system.

If you have no clue what I'm talking about, read this.

Hope that clears this up.
 
Old 08-01-2015, 10:18 PM   #11
Nitin.pant
LQ Newbie
 
Registered: Jul 2015
Location: Chandigarh,India
Distribution: Rhel,Cent_os,Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
nitin.pant, which operating system is installed?
In my server side i used centos and we have client ubuntu.
 
Old 08-01-2015, 10:28 PM   #12
Nitin.pant
LQ Newbie
 
Registered: Jul 2015
Location: Chandigarh,India
Distribution: Rhel,Cent_os,Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
As you've been told repeatedly - Ubuntu does not use yum. It doesn't matter how many times you ask, it's not going to happen. Also, you WILL brick your system if you attempt to convert your centos rpm packages to deb and install them on Ubuntu, do not do it.

As I said before:
As you said, i understand what you said but my question is. I want my ubuntu dont get any packages through online they should get there all packages form server.i.e centos

Last edited by Nitin.pant; 08-01-2015 at 10:29 PM.
 
Old 08-01-2015, 11:49 PM   #13
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134Reputation: 2134
Then set up a local apt-get repository. There are numerous guides online showing how to do it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Install Ubuntu 12.10 or Upgrade to Ubuntu 12.10 (Quantal Quetzal) from Ubuntu allu john sudhakar Linux - Newbie 1 10-26-2012 12:59 AM
LXer: Hereā??s Two Method That is Helping Ubuntu User to Upgrade Ubuntu 11.10/10.04 to Ubuntu 12.04 LT LXer Syndicated Linux News 0 05-12-2012 07:50 PM
LXer: Ubuntu live CD will let you upgrade to newer Ubuntu versions Ubuntu 11.04 Development LXer Syndicated Linux News 0 03-01-2011 04:20 PM
LXer: Ubuntu Restricted Extras - Lets Ubuntu Play Everything [Ubuntu for Beginners Sc LXer Syndicated Linux News 0 04-20-2010 01:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration