Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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 12:46 AM.
Reason: Some thing missing
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.
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
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.
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.
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 09:29 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.