Installing apt-get RPM on Fedora Core 2

Apt-get RPM is based on the same principle as apt-get for Debian, in that it works out all the depenencies for you when installing packages. To install apt-get on Fedora core 2, download and. As root, cd to the directory where you downloaded these two RPMs and go: rpm -Uvh apt-0.

Linux Software 434 This topic was started by ,


data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
Apt-get RPM is based on the same principle as apt-get for Debian, in that it works out all the depenencies for you when installing packages. To install apt-get on Fedora core 2, download this and this.
 
As root, "cd" to the directory where you downloaded these two RPMs and go:
 
rpm -Uvh apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm apt-devel-0.5.15cnc6-1.1.fc2.fr.i386.rpm [enter]
 
(If using konsole, you can copy and paste the above command, without "[enter]" of course...)
 
Both should install without incident. Next, you must update your machine with apt by going:
 
apt-get update [enter]
 
After it finishes, do apt-get update a second time.
 
When it is through downloading the updates, you will next need the front end for apt which is called "Synaptic."
 
Still as root go:
 
apt-get install synaptic
 
When it is done installing synaptic, just type:
 
synaptic [enter]
 
The Synaptic front end will now come up. It is very intuitive, and you shouldn't have too difficult a time figuring out how to use it.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar20.webp

26 Posts
Location -
Joined 2004-01-24
Quote:As root, "cd" to the directory where you downloaded these two RPMs and go:

I get it all but that part

"cd"? What's that mean?

Thanks alot for all the help you've given me.

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
OP
cd means Change Directory. When you open a terminal it will likely start out in your home directory. If, for instance, you installed the RPMs to your "Documents" directory which would be in your home directory, you would go:
 
cd Documents [enter] to change to, or enter that directory.
 
Lets assume you needed to go to the directory containing your desktop sessions. You would go:
 
cd /etc/X11/dm/Sessions [enter]
 
Which would place you in the Sessions directory.
 
See?
 
Think of it like this:
 
You can't build RPMs or Tarballs unless you are in the directory where they are.
 
Let's pretend you wanted to bake a cake. All the ingredients are in the kitchen, but you're in the upstairs bedroom. You can't make the cake from your bedroom, so you must change rooms. You must go downstairs, and into the kitchen to bake the cake, because that's where it's ingredients are..
 
Do you know about the fabulous TAB key? It is a lifesaver in Linux! Let's say you wanted to install apt-devel-0.5.15cnc6-1.1.fc2.fr.i386.rpm
 
Once in the directory where that file is located you would go:
 
rpm -Uvh apt-d [press tab key]
 
And the rest is filled in for you automatically so you don't have to type it!
 
Neat huh?

data/avatar/default/avatar05.webp

500 Posts
Location -
Joined 2004-04-06
But the apt repositories are pretty limited.

data/avatar/default/avatar04.webp

1678 Posts
Location -
Joined 2003-09-27
OP
You can add and subtract repositories as you like. There are many apt-get rpm repositories, that have all kinds of packages. Look under "preferences." then, there are the dag repositories..
 
Just Google:
 
dag apt-get rpm fedora Core 2

data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
Very nice directions, Dan. Hunting down some of the repositories is sometimes a pain, but well worth it. Once you get a good set of repositories, it works very well, with some exceptions. Mplayer, for example, is not ready for Fedora Core 2, but all of the basics are there. Some web sites, such as K3b, even offer apt repository directions on their web page. So, everybody is getting the idea.

data/avatar/default/avatar20.webp

26 Posts
Location -
Joined 2004-01-24
Ok, I got it installed and I'm downloading updates now. Thanks! 8)

data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
If it is Photoshop 5.5, yes. Unforunately, my favorite Wine site, Frank's Corner is down right now. Hopefully he will be up and running soon. The site message states that the account has been suspended. It is an excellent resource. I hope it comes back up soon.
 
For reference; Frank's Corner links.

data/avatar/default/avatar31.webp

11 Posts
Location -
Joined 2004-10-31
I am trying to install atp and it comes up with an error "can't create transaction lock" when I try to install the cnc file. What am I doing wrong? I downloaded it from freshrpms. I installed firefox from an rpm sucessufully. Another question, once I have atp will I be able to install rpm files without going into command line stuff? Not that that is a big deal, but it can be a pain. I am a linux noob, it seems to be getting easier though. I like it. Oh, I'm running Fedora core 2 kernel 2.6.8...

data/avatar/default/avatar05.webp

309 Posts
Location -
Joined 2004-02-24
on the from command line thing your going to want to get synaptic once its fixed
 
in this order
 
apt-get update
apt-get update
apt-get install synaptic
 
didnt say this in your post but make sure your root other than that im not sure

data/avatar/default/avatar31.webp

11 Posts
Location -
Joined 2004-10-31
Okay that did it. Thanks! Now, what does this do that up2date can't do?

data/avatar/default/avatar05.webp

309 Posts
Location -
Joined 2004-02-24
all right this is where it gets interesting redhat has this thing about using there kernel so get the kernel from up2date or synaptic your choice i personally always run custom kernels
 
k
 
what your going to want to do is first hit mark all upgrades and select smart update that will update all software to the current version or i like to do that through the command line
like this
 
apt-get dist-upgrade this will upgrade everything for you it will ask you if you want to proceed and x amount of space will be taken
 
synaptic is easily my favorite tool around
you can go by sections
like say applications multimedia hit enter on the package you want to install and it may come up with will install these packages as well or will have to remove the packages now at first you really dont need to worry about it
the best thing about apt is resolved dependcies some applications will ask for different dependcies this handles that for you
 
once you have all the packages you want to install hit apply it will show how many packages will install/removed/etc. and then you can expand the categories to see whats in each section
 
just play around with synaptic and youll get the feel
if you dont see the application you want you can add repositories and if you want ill explain that to you im still looking for a site that lists core 2 repositories
 
apt-get in my opinion shows alot more power through the command line
heres a link to all the commands
http://www.die.net/doc/linux/man/man8/apt-get.8.html
 
you can also check this out for some more help
http://www.fedoraforum.org/forum/showthread.php?p=12844&mode=threaded