What is new program name?

Owen Townend owen.townend at gmail.com
Sun Mar 16 02:05:20 UTC 2008


On 16/03/2008, Dotan Cohen <dotancohen at gmail.com> wrote:
>
> On 16/03/2008, Felipe Figueiredo <philsf79 at gmail.com> wrote:
> > On Sat 15 Mar 2008 11:45:22 Dotan Cohen wrote:
> >  > I just installed Autopano from the deb file at the publisher's
> >  > website. However, I do not know the command to start the program! How
> >  > does one discover which command launched newly installed programs?
> >  >
> >
> >
> > assuming "autopano" is the package name:
> >
> >  dpkg -L autopano | grep bin
> >
> >  should give you a hint
>
>
> feisty at feisty-laptop:~$ dpkg -L autopano | grep bin
> Package `autopano' is not installed.
> Use dpkg --info (= dpkg-deb --info) to examine archive files,
> and dpkg --contents (= dpkg-deb --contents) to list their contents.
> feisty at feisty-laptop:~$
>
> Of course, that was the first name that I tried. Capatalized, too.
>
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> --
>
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Heya,
  Just downloaded and installed it in a vm. The package
name is autopanopro, even for the demo version.

owen at arabica:~$ dpkg -L autopano|grep bin
Package `autopano' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
owen at arabica:~$ dpkg -L autopanopro|grep bin
/usr/bin
/usr/bin/AutopanoPro
owen at arabica:~$

Strange thing is, /usr/bin/AutopanoPro is actually a directory, and it's
empty.
This is the way the installer intended too, from the deb file 'Included
Files':

./
usr/
usr/bin/
usr/bin/AutopanoPro/
usr/lib/
usr/lib/AutopanoPro/
usr/lib/AutopanoPro/AutopanoPro
[snip]

So I downloaded the .tar.gz file they have available.

Copying the executable 'AutopanoPro' to the /usr/bin/AutopanoPro directory
didn't fix the .deb installation, neither did replacing the directory with
the executable from the .tar.gz

Running the program extracted from the .tar.gz directly didn't work
immediately either. The shell script they give to launch it throws a bad
substitution error. I got it working in the end by using the extracted
tar.gz and editing the script file AutopanoPro.sh as so:

4c4
< if [ "${dirname:0:1}" != "/" ]; then
---
> if [ `echo ${dirname} | grep ^\/` ]; then

This achieves the same intent in a different way which works here.

cheers,
Owen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080316/0608f9ae/attachment.html>


More information about the ubuntu-users mailing list