Author Topic: Installing PixInsight on a Ubuntu system  (Read 6322 times)

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Installing PixInsight on a Ubuntu system
« on: 2008 December 21 16:38:46 »
Hi All

Can anybody give me a steer on how to install PixInsight on a Ubuntu system as the built in install manager will not handle tar.gz files?

I am new to linux

Thanks

Tony

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: Installing PixInsight on a Ubuntu system
« Reply #1 on: 2008 December 21 18:09:52 »
Quote from: "tmorris"
Can anybody give me a steer on how to install PixInsight on a Ubuntu system as the built in install manager will not handle tar.gz files?


In general terms, you have to add a couple of lines to the APT configuration and the PixInsight packages should appear in synaptic, aptitude or whatever package manager you use.

To configure apt, add these lines to /etc/apt/sources.list:

Code: [Select]
deb http://repos.pixinsight.com/debian unstable non-free
deb-src http://repos.pixinsight.com/debian unstable non-free


Now follow the standard procedure of your package manager to search / install PixInsight. Sorry, I can't help you with that since I use plain apt-get. The last version I uploaded to the repository is 1.3.0 if memory serves me well, but I'm currently working on the packaging of 1.4.1.

Please don't hesitate to ask whenever you have any kind of problem or question :). And bug me if you need 1.4.1 for any reason!
--
 David Serrano

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Re: Installing PixInsight on a Ubuntu system
« Reply #2 on: 2008 December 22 16:38:25 »
Quote from: "David Serrano"
Quote from: "tmorris"
Can anybody give me a steer on how to install PixInsight on a Ubuntu system as the built in install manager will not handle tar.gz files?


In general terms, you have to add a couple of lines to the APT configuration and the PixInsight packages should appear in synaptic, aptitude or whatever package manager you use.

To configure apt, add these lines to /etc/apt/sources.list:

Code: [Select]
deb http://repos.pixinsight.com/debian unstable non-free
deb-src http://repos.pixinsight.com/debian unstable non-free


Now follow the standard procedure of your package manager to search / install PixInsight. Sorry, I can't help you with that since I use plain apt-get. The last version I uploaded to the repository is 1.3.0 if memory serves me well, but I'm currently working on the packaging of 1.4.1.

Please don't hesitate to ask whenever you have any kind of problem or question :). And bug me if you need 1.4.1 for any reason!


David
Downloaded ok via Synaptic manager but when I try to launch it from the icon I get the following message:-
Fatal Error - Unable to launch the pixinsight core application /usr/lib/pixinsight/bin/pixinsight core.
I cannot find a /usr/lib/pixinsight/bin folder.

Thanks
Tony Morris

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: Installing PixInsight on a Ubuntu system
« Reply #3 on: 2008 December 26 14:36:03 »
Quote from: "tmorris"
I cannot find a /usr/lib/pixinsight/bin folder.


Hmm, that's interesting. Could you post the result of running the following two commands?:

Code: [Select]
dpkg -l "pixinsight*"
dpkg -L pixinsight-core


(They can be run as normal user with no ill effects)
--
 David Serrano

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Re: Installing PixInsight on a Ubuntu system
« Reply #4 on: 2008 December 29 11:42:01 »
Quote from: "David Serrano"
Quote from: "tmorris"
I cannot find a /usr/lib/pixinsight/bin folder.


Hmm, that's interesting. Could you post the result of running the following two commands?:

Code: [Select]
dpkg -l "pixinsight*"
dpkg -L pixinsight-core


(They can be run as normal user with no ill effects)


Hi David

Sorry but I removed and re-installed PixInsight before I read your reply...

But I now do not get any error messages but Pixinsight does not launch

I ran the code
First row
Name=pixinsight-cor
Version=01.03.00.434-2
Description Modular, open-architecture, etc
Second row
Name=pixinsight-mod
Version=01.03.00.434-2
Description Modular, open-architecture, etc

The second returns
Name=pixinsight-cor
Version=01.03.00.434-2
Description Modular, open-architecture, etc

Thanks
Tony

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: Installing PixInsight on a Ubuntu system
« Reply #5 on: 2008 December 29 13:00:41 »
Quote from: "tmorris"
But I now do not get any error messages but Pixinsight does not launch


Please try running it from the console, by typing "PixInsight" in an user console. Paste the output. I expect at least one error message ;).

Quote from: "tmorris"
I ran the code


Hmm, I would expect the second command to return a list of files included in the package pixinsight-core. Did you use copy-paste, or typed the commands yourself? This is a snippet of the output in my machine:

Code: [Select]
$ dpkg -L pixinsight-core
/.
/usr
/usr/share
/usr/share/doc
/usr/share/applications
/usr/share/applications/pixinsight-core.desktop
/usr/share/icons
/usr/share/icons/pixinsight.png
[...]


Please always use copy and paste to debug problems. That way you don't have to care about computer nuisances (capital or small letters, spacing, quoting and such things) and we maintainers get exactly what is needed to help :).
--
 David Serrano

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Installing PixInsight on a Ubuntu system
« Reply #6 on: 2008 December 29 13:11:59 »
David

I have now used copy and paste as you suggest!!

I get a long list of files.....

tony@ubuntu:~$ dpkg -L pixinsight-core
/.
/usr
/usr/share
/usr/share/doc
/usr/share/applications
/usr/share/applications/pixinsight-core.desktop
/usr/share/icons
/usr/share/icons/pixinsight.png
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/PixInsight.1.gz
/usr/share/menu
/usr/share/menu/pixinsight-core
/usr/bin
/usr/lib
/usr/lib/pixinsight
/usr/lib/pixinsight/PixInsight
/usr/lib/pixinsight/PixInsight-core
/usr/lib/pixinsight/libcfitsio.so
/usr/lib/pixinsight/libjpeg.so
/usr/lib/pixinsight/libjs.so
/usr/lib/pixinsight/liblcms.so
/usr/lib/pixinsight/liblibtiff.so
/usr/lib/pixinsight/libzlib.so
/usr/lib/pixinsight/startup.scp
/usr/lib/pixinsight/default.ssm
/usr/lib/pixinsight/color
/usr/lib/pixinsight/color/icc
/usr/lib/pixinsight/color/icc/sRGB_IEC61966-2.1.icc
/usr/lib/pixinsight/color/icc/sRGB_IEC61966-2.1_noBPC.icc
/usr/lib/pixinsight/include
/usr/lib/pixinsight/include/pjsr
/usr/lib/pixinsight/include/pjsr/SampleType.jsh
/usr/lib/pixinsight/include/pjsr/CompositionOp.jsh
/usr/lib/pixinsight/include/pjsr/BrushStyle.jsh
/usr/lib/pixinsight/include/pjsr/TextAlign.jsh
/usr/lib/pixinsight/include/pjsr/KeyCodes.jsh
/usr/lib/pixinsight/include/pjsr/Slider.jsh
/usr/lib/pixinsight/include/pjsr/DataType.jsh
/usr/lib/pixinsight/include/pjsr/StdIcon.jsh
/usr/lib/pixinsight/include/pjsr/ColorSpace.jsh
/usr/lib/pixinsight/include/pjsr/FrameStyle.jsh
/usr/lib/pixinsight/include/pjsr/Sizer.jsh
/usr/lib/pixinsight/include/pjsr/CheckState.jsh
/usr/lib/pixinsight/include/pjsr/StdCursor.jsh
/usr/lib/pixinsight/include/pjsr/FontStretch.jsh
/usr/lib/pixinsight/include/pjsr/ResizeMode.jsh
/usr/lib/pixinsight/include/pjsr/FontFamily.jsh
/usr/lib/pixinsight/include/pjsr/StdDialogCode.jsh
/usr/lib/pixinsight/include/pjsr/PenCap.jsh
/usr/lib/pixinsight/include/pjsr/UndoFlag.jsh
/usr/lib/pixinsight/include/pjsr/StdButton.jsh
/usr/lib/pixinsight/include/pjsr/FillRule.jsh
/usr/lib/pixinsight/include/pjsr/FontWeight.jsh
/usr/lib/pixinsight/include/pjsr/Interpolation.jsh
/usr/lib/pixinsight/include/pjsr/ImageOp.jsh
/usr/lib/pixinsight/include/pjsr/ButtonCodes.jsh
/usr/lib/pixinsight/include/pjsr/PenStyle.jsh
/usr/lib/pixinsight/include/pjsr/MorphOp.jsh
/usr/lib/pixinsight/include/pjsr/FocusStyle.jsh
/usr/lib/pixinsight/include/pjsr/PenJoin.jsh
/usr/lib/pixinsight/include/pjsr/NumericControl.jsh
/usr/lib/pixinsight/src
/usr/lib/pixinsight/src/scripts
/usr/lib/pixinsight/src/scripts/masked-stretch.js
/usr/lib/pixinsight/src/scripts/Spherize.js
/usr/lib/pixinsight/src/scripts/DSSImageDownloader.js
/usr/lib/pixinsight/src/scripts/ExtractWaveletLayers.js
/usr/lib/pixinsight/src/scripts/aberration-spotter.js
/usr/lib/pixinsight/src/scripts/PolarCoordinates.js
/usr/lib/pixinsight/src/scripts/BatchFormatConversion.js
/usr/lib/pixinsight/src/scripts/HDRComposition.js
/usr/lib/pixinsight/src/scripts/TestInstances.js
/usr/lib/pixinsight/src/scripts/HelloWorld.js
/usr/lib/pixinsight/src/scripts/NonlinearFlatField.js
/usr/lib/pixinsight/src/scripts/DrawSignature.js
/usr/lib/pixinsight/src/scripts/FFTRegistration.js
/usr/lib/pixinsight/src/scripts/TranslucentPlanets.js
/etc
/etc/xdg
/etc/xdg/PleiadesAstrophoto
/etc/xdg/PleiadesAstrophoto/PixInsight.ini
/usr/share/doc/pixinsight-core
/usr/bin/PixInsight

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Installing PixInsight on a Ubuntu system
« Reply #7 on: 2009 January 02 01:00:01 »
Hi Tony,

While we try to fix this issue with Linux installation packages, have you installed the application manually? I refer to simply unpacking the .tar.gz distribution archive on a sub-directory under your home directory, for example:

/home/<your-user-name>/PixInsight

If you do so, you can run PixInsight through the PixInsight.sh shell script on the bin installation directory (e.g., by double-clicking it from a file browser window):

/home/<your-user-name>/PixInsight/bin/PixInsight.sh

Let me know if it works. If not, we'll work to make it run on your computer.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Installing PixInsight on a Ubuntu system
« Reply #8 on: 2009 January 02 15:55:00 »
Juan

Sorry no luck yet, I extracted the tar.gz as you directed.
The files extract with the same structure when using the Synaptic Package Manager as far as I can see

Tony

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: Installing PixInsight on a Ubuntu system
« Reply #9 on: 2009 January 03 08:23:03 »
tmorris: I guess you overlooked this part of a previous post of mine:

Quote from: "David Serrano"
Quote from: "tmorris"
But I now do not get any error messages but Pixinsight does not launch


Please try running it from the console, by typing "PixInsight" in an user console. Paste the output. I expect at least one error message ;).
--
 David Serrano

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Installing PixInsight on a Ubuntu system
« Reply #10 on: 2009 January 03 10:36:53 »
David

Output from a console window:-

tony@ubuntu:~$ PixInsight
PixInsight: error while loading shared libraries: liblcms.so: cannot open shared object file: No such file or directory

Tony

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Installing PixInsight on a Ubuntu system
« Reply #11 on: 2009 January 03 11:26:20 »
liblcms? Hmm... the binary PixInsight isn't supposed to be linked against that library. Please do:

Code: [Select]
ldd /usr/lib/pixinsight/PixInsight

as a normal user and post the output.
--
 David Serrano

Offline Tony Morris

  • Newcomer
  • Posts: 31
    • http://www.msas.org.uk
Installing PixInsight on a Ubuntu system
« Reply #12 on: 2009 January 03 12:18:21 »
David

tony@ubuntu:~$ ldd /usr/lib/pixinsight/PixInsight
   linux-gate.so.1 =>  (0xb7f38000)
   libSM.so.6 => /usr/lib/libSM.so.6 (0xb7f02000)
   libICE.so.6 => /usr/lib/libICE.so.6 (0xb7eea000)
   libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7ee0000)
   libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7ed9000)
   libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7ed4000)
   libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7ecb000)
   libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7ec7000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e51000)
   libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7e24000)
   libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e15000)
   libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d26000)
   libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7d20000)
   librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7d16000)
   libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7cfd000)
   libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7cf9000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c0a000)
   libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7be4000)
   libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7bd5000)
   libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a76000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb79bf000)
   libz.so.1 => /usr/lib/libz.so.1 (0xb79a9000)
   libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7982000)
   libXau.so.6 => /usr/lib/libXau.so.6 (0xb797f000)
   libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb797b000)
   libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7962000)
   /lib/ld-linux.so.2 (0xb7f1e000)
   libpcre.so.3 => /lib/libpcre.so.3 (0xb7938000)
   libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7933000)

Tony