Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

What are the general steps I want to take to get a program installed on Ubuntu when the program has not been made into a package, or I need an updated software version from what would normally be installed and that version is available in a later repository?

I'll give you my specific example. I'm currently using 10.04LTS and I don't want to upgrade. I want to install the expect-lite package, but it's only available for Ubuntu 11.10 (Oneiric Ocelot) http://packages.ubuntu.com/oneiric/expect-lite

The decision tree I think I want to implement is the following (I think I'm currently at step #3):

  1. apt-get install #if available (or by using the GUI package manager)

  2. Enable universe and multiverse if not already and repeat step 1.

  3. Install a package from a later version of Ubuntu. (How? What pitfalls do I need to watch for?)

  4. install a package from an unstable version of Debian. (same questions from above)

  5. Find and Install a package from Ubuntu's PPA (personal package archive), realising that packages are not reviewed for malicious backdoors or trojans, and this risk could be unacceptable to many people)

  6. If one has the ability, create a personal package from source, and install that (and upload it to the PPA archive if possible to make it available to others)

  7. Install directly from source, and make a dummy package to deal with any dependency issues (knowing full well that this could cause issues if a distro upgrade was attempted later) (info: http://eric.lubow.org/2010/system-administration/creating-dummy-packages-on-debian/ )

  8. Install directly from source as a last ditch effort.

Edited to add:

  • Use the package Alien to convert a .rpm package to a .deb and then install (see this)

  • (from BlueXrider's answer below) See if you can find the package in a non-standard repository or download a .deb file from a trusted source and use that.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

My decision tree is:

--1. Can I get?

--2. Will it work?

Expect Lite

GDebi says yes lets install it. Sourceforge I feel is a trusted source.

If I can't configure it there is always a tweak/hack available.

Ultimately it's up to you.

share|improve this answer
add comment

As the author of expect-lite, you can always download the latest version at http://expect-lite.sf.net/ On that site you will find a deb, which you can then install using: sudo dpkg -i expect-lite_4.5.0-0ubuntu1_all.deb

If you are uncomfortable installing as root, you can install the tar.gz version by untaring, and running the installer as a non-privileged user using: ./install.sh -p

All of expect-lite is open source, so feel free to view the source of the installer or expect-lite itself. There are no compiled binaries in the package.

Craig... [author and maintainer of expect-lite]

share|improve this answer
add comment

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.