How to install bzr on RPM-based distribution
I have used Bazaar-NG aka bzr for a month. It works well and I like it so much because I don’t need to have network to commit my change. The installer for win32-based system works perfectly on my laptop. Unfortunately, there is no official bzr distributed in RPM. I have to build it myself. This action is terrible for me because bzr requires at least Python 2.4. Below are my step to successfully install bzr on Fedora Core 1 i386 and CentOS 4.2 x86_64.
- Build Python 2.4. You might need to modify python-2.4.spec to fix incorrect changelog. In addition, you have to apply 3 patches to build on x86_64.
- Install Python 2.4.
- Build bzr 0.8.2. Just simply run given setup.py with python2.4 interpreter and option --python=python2.4. You might need to comment out bzr.1 to ignore missing tools for generating man.
- Install bzr 0.8.2.
- Build paramiko 1.6.
- Install paramiko 1.6.
- Build pycrypto 2.0.1.
- Install pycrypto 2.0.1.
So now your bzr should fully support sftp transport.
Technorati Tags: English, Programming, Python, Tips and Tricks, Bzr, Paramiko, Pycrypto
- sugree's blog
- 1085 reads
Post new comment