Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

linux newbie here. I'm running Fedora 12 and I have a script for Ubuntu installing a bunch of packages using aptitude. I tried installing the packages using yum, but most of them aren't available.

The packages aren't very new or complicated stuff, is there any way get packages through aptitude on fedora? Or am I just going to have to find the Fedora equivalent of each package manually, for example the first package installed is g++ and of course this has a fedora equivalent.

share|improve this question
    
While it may be possible to run aptitude on Fedora, it is almost certainly a bad idea to install packages from repositories that are not specifically designed to work with Fedora. Loading packages from an Ubuntu repository, for example, could severely mess up your Fedora installation. –  200_success Sep 23 '13 at 3:03

4 Answers 4

up vote 1 down vote accepted

I think you'll just have to manually find the equivalent packages.

For example, g++ on Fedora is gcc-c++. libfoo-dev is generally libfoo-devel or foo-devel.

share|improve this answer
    
This is what I ended up doing; it wasn't as difficult as I thought it would be looking for those differences in syntax. –  user37974 Mar 21 '10 at 12:20

Install YumEx , I think it goes for Yum Extended, it's a graphical interface like synaptic, it will help you.

share|improve this answer

Aptitude is just a front end for APT. You can install both APT and Aptitude on your Fedora machine.

Apt can be installed through Yum (yum install apt), and Aptitude can be installed via apt-get.

Edit: Direct Link to Aptitude

share|improve this answer
    
After apt-get update, apt-get can't find the aptitude package... –  user37974 Mar 17 '10 at 22:42

You will need to put your repo links in /etc/apt/sources.list

share|improve this answer

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.