Download and Install

Since pyBit is meant to be a simple and useful application I could figure that the best option would be a .deb package for installing it, but the problem was, that creating a .deb package is not so easy. I found the app DebianPackageMaker and the .deb package was ready for downloading. The only problem that this debian package has is that it will not add a menu entry in your Applications menu, and you will still need to do it manually. Therefor I'll explain how you can install pyBit the way you want it.

Installation

PyBit doesn't require any installation, but if you wish, you could do that following the next steps:

  1. Be sure you have installed the needed dependences.
  2. Copy the folder content to the /opt directory (you could change it but for the example I'll be using /opt)
    cp -rp pybit /opt
  3. Make sure the python.conf file is writable:
    chmod 755 /opt/pybit/pybit.conf
  4. Create a global executable script:
     sudo gedit /usr/bin/pybit

    in the opened editor enter the following content:

    #!/bin/bash
    cd /opt/pybit/ && python pybit.py
  5. Make the script executable:
    sudo chmod +x /usr/bin/pybit
  6. Now you can add pybit to your applications menu:
    • For GNOME:
      1. Open System → Preferences → Main Menu
      2. Select Internet and click on +New Item
      3. Enter the following:
        • Name: pyBit
        • Command: pybit
        • Comment: URL shortening
      4. For icon you could select /opt/pybit/icons/icon.png
    • For KDE: It's identical, but I don't have KDE based distribution to test

and That's it about the installation process

Download

You can download the Source Archive: pybit_2.0.tar.gz

Or you can download the .deb package witch will work with all Ubuntu and Debian versions: pybit_2.0.deb

 
downloadandinstall.txt · Last modified: 2009/12/28 11:33 by Vladimir Kolev
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki