[opensuse] How to open .ymp files from command line?
I looked for a version of inkscape and landed on this page: https://software.opensuse.org/package/inkscape It offered to let me "install it now" by downloading it with a .ymp extension. The page doesn't seem to offer other download formats, but the .ymp was to "install now" (from my windows browser? hmmm).. So I saved it so I could open and install it on my linux box. However, how do I open it or use it as an installation source? Usually I try to save an install file to disk before "executing" it. So how do I open it from the cmd line? Thanks! -l -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-09-25 22:34, L. A. Walsh wrote:
I looked for a version of inkscape and landed on this page:
https://software.opensuse.org/package/inkscape
It offered to let me "install it now" by downloading it with a .ymp extension. The page doesn't seem to offer other download formats,
Yes, it does. Click on the grey "Show other versions" below the big direct install. Recommended.
but the .ymp was to "install now" (from my windows browser? hmmm).. So I saved it so I could open and install it on my linux box. However, how do I open it or use it as an installation source?
Usually I try to save an install file to disk before "executing" it. So how do I open it from the cmd line?
Yes, there is a command to install them directly, but failing that, you can point firefox to "file:///home/whatever" and then click on the ymp file to install it. Or open it in a text editor to find out the repo and files it wants. Sorry, I don't remember the direct command. I never use it. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
* L. A. Walsh
I looked for a version of inkscape and landed on this page:
https://software.opensuse.org/package/inkscape
It offered to let me "install it now" by downloading it with a .ymp extension. The page doesn't seem to offer other download formats, but the .ymp was to "install now" (from my windows browser? hmmm)..
So I saved it so I could open and install it on my linux box. However, how do I open it or use it as an installation source?
Usually I try to save an install file to disk before "executing" it. So how do I open it from the cmd line?
google: opensuse install ymp command line -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan wrote:
google: opensuse install ymp command line
Yeah -- cept google says not. Someone said: "Just use zypper to add the repository and then the application your after?" --- What repo? I just have an "everything-contained-in-one-file", ymp. Others say to use OBS, then copy the binary to a local dir, then create a repo from it then you can add that w/zypper, and then install the package you D/L'ed the "all-in-one" for... And .. ah, of course, silly me -- should have know it was in the "yast2-metapackage-hander" *ahem*.... I guess I wasn't the only one with this issue and only 1 person on their personal website had the answer -- Wow! Carlos wrote:
Yes, there is a command to install them directly, but failing that, you can point firefox to "file:///home/whatever" and then click on the ymp file to install it.
One of the reasons I wanted the cmd was my browser was (and is) running on Windows at the time. Does this seems a bit excessive to anyone else for users to have to figure out to install a featured package download method via the cmd line? Anyway, off to the OCICLI: /sbin/OCICLI <.ymp path>...oh frack! s> sudo OCICLI inkscape.ymp /usr/sbin/yast: line 48: test: too many arguments /usr/sbin/yast: line 49: test: too many arguments /usr/sbin/yast: line 50: test: too many arguments Unknown config. YaST got signal 11 at file /usr/share/YaST2/modules/Misc.rb:180 /usr/sbin/yast: line 440: 99785 Segmentation fault (core dumped) $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS Invalid snapshot ''. --- Those errors above about test... simple shell bug -- surprised it made it out the door? Involves testing output of program, but not quoting it, so test sees a bunch of words... Sigh.. this is far more effort than it's worth -- I'm sure glad someone made it easy w/1-click...:-( -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* L. A. Walsh
Patrick Shanahan wrote:
google: opensuse install ymp command line
Yeah -- cept google says not.
Someone said: "Just use zypper to add the repository and then the application your after?" --- What repo? I just have an "everything-contained-in-one-file", ymp.
Others say to use OBS, then copy the binary to a local dir, then create a repo from it then you can add that w/zypper, and then install the package you D/L'ed the "all-in-one" for...
And .. ah, of course, silly me -- should have know it was in the "yast2-metapackage-hander" *ahem*....
I guess I wasn't the only one with this issue and only 1 person on their personal website had the answer -- Wow!
Carlos wrote:
Yes, there is a command to install them directly, but failing that, you can point firefox to "file:///home/whatever" and then click on the ymp file to install it.
One of the reasons I wanted the cmd was my browser was (and is) running on Windows at the time.
Does this seems a bit excessive to anyone else for users to have to figure out to install a featured package download method via the cmd line?
Anyway, off to the OCICLI: /sbin/OCICLI <.ymp path>...oh frack!
s> sudo OCICLI inkscape.ymp /usr/sbin/yast: line 48: test: too many arguments /usr/sbin/yast: line 49: test: too many arguments /usr/sbin/yast: line 50: test: too many arguments Unknown config. YaST got signal 11 at file /usr/share/YaST2/modules/Misc.rb:180 /usr/sbin/yast: line 440: 99785 Segmentation fault (core dumped) $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS Invalid snapshot ''.
--- Those errors above about test... simple shell bug -- surprised it made it out the door? Involves testing output of program, but not quoting it, so test sees a bunch of words...
Sigh.. this is far more effort than it's worth -- I'm sure glad someone made it easy w/1-click...:-(
so you open the .ymp file with firefox/a browser or you peruse the file and add the contained repo and "zypper -v in >" -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-09-26 00:31, L. A. Walsh wrote:
Patrick Shanahan wrote:
google: opensuse install ymp command line
Yeah -- cept google says not.
Someone said: "Just use zypper to add the repository and then the application your after?" --- What repo? I just have an "everything-contained-in-one-file", ymp.
open the ymp file with an editor. I just did: cer@Telcontar:~> cat Download/Firefox_downloads/inkscape.ymp <metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install"> <group> <repositories> <repository recommended="true"> <name>openSUSE:13.1</name> <summary>Official 13.1 openSUSE distribution</summary> <description>This project builds the official 13.1 openSUSE distribution. Have a look at http://en.opensuse.org/Portal:13.1 for more details.</description> <url>http://download.opensuse.org/distribution/13.1/repo/oss/</url> </repository> </repositories> <software> <item> <name>inkscape</name> <summary>Vector Illustration Program</summary> <description>Inkscape is a vector illustration program for the GNOME desktop.</description> </item> </software> </group> </metapackage> cer@Telcontar:~> So, the repository is the "oss". :-) :-P
Carlos wrote:
Yes, there is a command to install them directly, but failing that, you can point firefox to "file:///home/whatever" and then click on the ymp file to install it.
One of the reasons I wanted the cmd was my browser was (and is) running on Windows at the time.
Yes, but later you were on a Linux machine. You had to transfer somehow the ymp file to the Linux machine in order to run OCICLI on it.
Does this seems a bit excessive to anyone else for users to have to figure out to install a featured package download method via the cmd line?
Anyway, off to the OCICLI: /sbin/OCICLI <.ymp path>...oh frack!
Ah, OCICLI.
s> sudo OCICLI inkscape.ymp /usr/sbin/yast: line 48: test: too many arguments
Why sudo? Always prefer "su -".
Sigh.. this is far more effort than it's worth -- I'm sure glad someone made it easy w/1-click...:-(
It is one click in Linux. Anyway, you didn’t' look at this paragraph of the previous post: LA> The page doesn't seem to offer other download formats, C> C> Yes, it does. Click on the grey "Show other versions" below the big C> direct install. Recommended. So, did you try? -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
cer@Telcontar:~> cat Download/Firefox_downloads/inkscape.ymp <name>openSUSE:13.1</name> <summary>Official 13.1 openSUSE distribution</summary> <description>This project builds the official 13.1 openSUSE distribution. Have a look at http://en.opensuse.org/Portal:13.1 for more details.</description> <url>http://download.opensuse.org/distribution/13.1/repo/oss/</url> <name>inkscape</name> <summary>Vector Illustration Program</summary>
So, the repository is the "oss". :-) :-P
Poo! I have that, er wait -- I have it for 13.2, the 1-above is for 13.1? Ow!
ls /suse132/inkscape* /suse132/inkscape-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-dia-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-extra-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-fig-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-gimp-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-skencil-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-lang-0.48.5-4.1.4.noarch.rpm
Already have that. What I wanted is what was "advertised": @ https://inkscape.org/en/download/ Official Release Packages: Stable release >>>0.91<<< intended for production use is available. (OpenSUSE: Package Search => ymp file for 0.48...) I was looking for the current version and but the Package Search only turns up the version for 13.1? Ow!
sudo OCICLI inkscape.ymp /usr/sbin/yast: line 48: test: too many arguments
Why sudo? Always prefer "su -".
Why? Wouldn't su - have cleared your home dir and asked for a password? Hey -- now when I click on the suse package search it takes me to a page for 0.91 / Tumbleweed?! Wazzup w/that? That sure isn't what I would have gotten had the 1-click worked yesterday. Guess it's good that it didn't work right away?
C> Yes, it does. Click on the grey "Show other versions" below the big C> direct install. Recommended.
Saw that later.
So, did you try?
Tried the various tools that should have worked, but they were a waste of time (in that they didn't work, and I would have installed the wrong version). I don't see any way that page could have been in my cache, its from too long ago... Just weird.
Sigh.. glad someone made it easy w/1-click...:-(
It is one click in Linux.
spm -Uhv inkscape-0.91-4.2.x86_64.rpm error: Failed dependencies:
From what I've noticed OS seems to embed more version info in
---would have been, for the wrong version -- whereas the 'right' version doesn't work: libMagick++-6.Q16.so.6()(64bit) is needed by inkscape-0.91-4.2.x86_64 libgsl.so.19()(64bit) is needed by inkscape-0.91-4.2.x86_64 libgslcblas.so.0()(64bit) is needed by inkscape-0.91-4.2.x86_64 libpoppler.so.63()(64bit) is needed by inkscape-0.91-4.2.x86_64 libstdc++.so.6(GLIBCXX_3.4.21)(64bit) is needed by inkscape-0.91-4.2.x86_64 Windows doesn't seem to have these problems any more (they have other problems). I've was trying to get openSUSE to support multiple versions, "side-by-side" as windows has for at least the past 7+ years. It sure would have made many things so much easier. Why doesn't SUSE allow multiple versions of files to exist side-by-side? Vs. Suse's current policy is to go out of its way to make sure versions between release don't interoperate. That's going in the opposite direction of helpful. their binaries than any other vendor I've noticed -- all to make sure you can't mix tools from different OS-versions. Sigh. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-09-26 07:04, Linda Walsh wrote:
Carlos E. R. wrote:
cer@Telcontar:~> cat Download/Firefox_downloads/inkscape.ymp <name>openSUSE:13.1</name> <summary>Official 13.1 openSUSE distribution</summary> <description>This project builds the official 13.1 openSUSE distribution. Have a look at http://en.opensuse.org/Portal:13.1 for more details.</description> <url>http://download.opensuse.org/distribution/13.1/repo/oss/</url> <name>inkscape</name> <summary>Vector Illustration Program</summary>
So, the repository is the "oss". :-) :-P
Poo! I have that, er wait -- I have it for 13.2, the 1-above is for 13.1? Ow!
Sure. I did the testing with 13.1, so I get results for 13.1. That's obvious, no? :-) The page either detects your openSUSE version, or you configure it yourself. At the right of the search box there is a little wrench tool. Click there, select your version.
ls /suse132/inkscape* /suse132/inkscape-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-dia-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-extra-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-fig-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-gimp-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-extensions-skencil-0.48.5-4.1.4.x86_64.rpm /suse132/inkscape-lang-0.48.5-4.1.4.noarch.rpm
Already have that. What I wanted is what was "advertised": @ https://inkscape.org/en/download/
Official Release Packages: Stable release >>>0.91<<< intended for production use is available. (OpenSUSE: Package Search => ymp file for 0.48...)
I was looking for the current version and but the Package Search only turns up the version for 13.1? Ow!
See above. Clicking around, the page shows the official version for 13.2 as 0.48.2, and clicking in "Show unstable packages" you can see version "0.91" in the graphics repo.
sudo OCICLI inkscape.ymp /usr/sbin/yast: line 48: test: too many arguments
Why sudo? Always prefer "su -".
Why? Wouldn't su - have cleared your home dir and asked for a password?
Unsure. I don't trust it to get the "/root" directory.
Hey -- now when I click on the suse package search it takes me to a page for 0.91 / Tumbleweed?! Wazzup w/that? That sure isn't what I would have gotten had the 1-click worked yesterday. Guess it's good that it didn't work right away?
It depends on the cookies stored by each browser.
C> Yes, it does. Click on the grey "Show other versions" below the big C> direct install. Recommended.
Saw that later.
So, did you try?
Tried the various tools that should have worked, but they were a waste of time (in that they didn't work, and I would have installed the wrong version).
You did not click on the right point.
I don't see any way that page could have been in my cache, its from too long ago... Just weird.
Cookies. That's the way it remembers your configured release.
Sigh.. glad someone made it easy w/1-click...:-(
It is one click in Linux.
---would have been, for the wrong version -- whereas the 'right' version doesn't work:
It should get you the official version, the oss version, for the configured release. 13.1 for me, 13.2 for you...
I've was trying to get openSUSE to support multiple versions, "side-by-side" as windows has for at least the past 7+ years. It sure would have made many things so much easier. Why doesn't SUSE allow multiple versions of files to exist side-by-side?
It does. Linux does. But *you* have to compile the package to use a different directory. Remember that it is Linux policy that the directory for a package is chosen at compile time, whereas on Windows you do that at install time. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Sunday 25 September 2016 15:31:31 L. A. Walsh wrote:
[…] Anyway, off to the OCICLI: /sbin/OCICLI <.ymp path>...oh frack!
s> sudo OCICLI inkscape.ymp /usr/sbin/yast: line 48: test: too many arguments /usr/sbin/yast: line 49: test: too many arguments /usr/sbin/yast: line 50: test: too many arguments Unknown config. YaST got signal 11 at file /usr/share/YaST2/modules/Misc.rb:180 /usr/sbin/yast: line 440: 99785 Segmentation fault (core dumped) $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS Invalid snapshot ''.
--- Those errors above about test... simple shell bug -- surprised it made it out the door? Involves testing output of program, but not quoting it, so test sees a bunch of words...
On openSUSE Leap 42.1 I get the following: ``` # OneClickInstallCLI local/tmp/inkscape.ymp Unable to retrieve YMP at local/tmp/inkscape.ymp # OCICLI "https://software.opensuse.org/ymp/openSUSE:Leap:42.1:Update/standard/inkscape.ymp?base=openSUSE%3ALeap%3A42.1&query=inkscape" If you continue, the following repositories will be subscribed: * http://download.opensuse.org/update/leap/42.1/oss/ If you continue, the following software packages will be installed: * inkscape Continue? y/N ``` So OneClickInstallCLI on the complete *quoted* URL to the .ymp file works fine for me. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Sonntag, 25. September 2016 22:34 CEST, "L. A. Walsh"
I looked for a version of inkscape and landed on this page:
https://software.opensuse.org/package/inkscape
It offered to let me "install it now" by downloading it with a .ymp extension. The page doesn't seem to offer other download formats, but the .ymp was to "install now" (from my windows browser? hmmm)..
So I saved it so I could open and install it on my linux box. However, how do I open it or use it as an installation source?
Usually I try to save an install file to disk before "executing" it.
So how do I open it from the cmd line?
This is an XML file which you can open in any text editor to check. The command OneClickInstallUI can understand it. Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-09-26 11:33, Aaron Digulla wrote:
Am Sonntag, 25. September 2016 22:34 CEST, "L. A. Walsh" <> schrieb:
So how do I open it from the cmd line?
This is an XML file which you can open in any text editor to check.
Yes.
The command OneClickInstallUI can understand it.
Telcontar:~ # OneClickInstallUI --help Unknown config. Invalid snapshot ''. Telcontar:~ # Telcontar:~ # OCICLI --help Usage: <YMP URL> Telcontar:~ # The second one expects an URL, can't be used on a local file. The first one, I don't, know. /sbin/OCICLI -> OneClickInstallCLI* /sbin/OneClickInstallUI -> OneClickInstallUrlHandler -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On Mon, Sep 26, 2016 at 4:11 PM, Carlos E. R.
Telcontar:~ # OCICLI --help Usage: <YMP URL> Telcontar:~ #
The second one expects an URL, can't be used on a local file.
file:///path/to/local/file is valid URL that refers to local file. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-09-26 15:18, Andrei Borzenkov wrote:
On Mon, Sep 26, 2016 at 4:11 PM, Carlos E. R.
wrote: Telcontar:~ # OCICLI --help Usage: <YMP URL> Telcontar:~ #
The second one expects an URL, can't be used on a local file.
file:///path/to/local/file is valid URL that refers to local file.
Ah, yes, right. It did not occur to me to use that syntax. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (7)
-
Aaron Digulla
-
Andrei Borzenkov
-
Carlos E. R.
-
L. A. Walsh
-
Linda Walsh
-
Oliver Kurz
-
Patrick Shanahan