Possible Duplicate:
How do I install and manage RPMs in Ubuntu
I can't open git-0.99.1.rpm. So, I need the rpm command to install git-0.99.1.rpm. Is there any supply for the rpm command in Ubuntu Linux? How can I install the git-0.99.1.rpm package?
Possible Duplicate:
How do I install and manage RPMs in Ubuntu
I can't open git-0.99.1.rpm. So, I need the rpm command to install git-0.99.1.rpm. Is there any supply for the rpm command in Ubuntu Linux? How can I install the git-0.99.1.rpm package?
Here is how you can install RPM packages on Ubuntu:
Convert RPM package to *.deb using alien and install it afterwards, i.e.
sudo apt-get install alien dpkg-dev debhelper build-essential
sudo alien -k --scripts some-rpm-package.rpm
sudo dpkg -i some-rpm-package.deb
You don't use rpms on Ubuntu -- you use apt. Just type
sudo apt-get install git
and you'll be all set!
Go here, https://launchpad.net/~git-core/+archive/ppa, and
Read about installing
. You just have to add the PPA to your system and you can install with apt. If you really can't figure it out, you can download the .deb file for your architecture from the bottom of that same page and install withsudo dpkg -i [filename]
anubhava did mention that you can use alien to convert .rpm files to .deb, but you don't want to do this--at least not for git when there are .debs available and it's in a repo. alien is (for me) a last resort (after trying to compile from source).