I am trying to install Arduino software from here: http://playground.arduino.cc//Linux/OpenSUSE There’s a one-click install buttton, but all it does is download (or open with browser - qupzilla) the file arduino.ymp, which appears to be an XML file that doesn’t seem to contain any obvious instructions. Doing a bit of searching finds this page https://en.opensuse.org/openSUSE:One_Click_Install which (under Questions & Answers) tells me I should run /sbin/OCICLI on the .ymp file. However, running it appears to do exactly nothing: it runs for maybe a second then quits, producing no output.
What am I doing wrong?
PS: I’m using OpenSuSE 13.1, but the one-click install page dates back to 10 or so.
But there should be a file association installed by default, so just try to open it in your file manager.
And yes, a .ymp file contains XML, it describes what repos to add and which packages to install.
You can do the same manually with YaST or zypper as well.
Hi
My Son has a makeblock robot kit which uses an Arduino board, all I did was download the latest arduino tarball, extract and run as my user. I did also manually create a desktop file and script to start it. That OBS version is way out of date.
Already tried that, and it gives the same (lack of) result: returns to the command-line prompt after about a second, producing no output.
But there should be a file association installed by default, so just try to open it in your file manager.
The assumption here is that I have a file manager, which I don’t. Unless you consider a command-line prompt to be such - which I do, since I can do everything I need to do with less effort than any file manager I’ve seen.
And yes, a .ymp file contains XML, it describes what repos to add and which packages to install.
You can do the same manually with YaST or zypper as well.
Didn’t analyze it in any detail, but I didn’t see anything obvious…
I tried that, I think, with arduino-1.0.6-3.1.x86_64.rpm, but it gave me a list of a half-dozen dependencies that needed to be installed first.
I’m not too worried about an out-of-date version, since the board I have is kind of out of date too - a duemilanove - and before I try doing anything much, I’ll need to bypass the Arduino IDE and compile from the command line.
But that assumption is valid IMHO, because there is a file manager on a default installation.
As your installation apparently is not default, you might miss other things too that would be needed for 1-click install to work.
Does YaST itself work?
Didn’t analyze it in any detail, but I didn’t see anything obvious…
Well, the .ymp file contains stuff like this:
<group distversion="openSUSE 13.1">
<name>Fritzing Installer For openSUSE 13.1</name>
<summary>Installs Fritzing On Your System</summary>
<description>
This YaST Meta Package installs:
* Fritzing
Click "Customise" on the next screen to get the option to change the software selection.
</description>
<remainSubscribed />
<repositories>
<repository recommended="true" format="auto">
<name>openSUSE BuildService - Education</name>
<summary>Applications for education users</summary>
<description>Repository containing Fritzing and many other applications for educational purposes.</description>
<url>http://download.opensuse.org/repositories/Education/openSUSE_13.1/</url>
</repository>
</repositories>
<software>
<item recommended="true">
<name>fritzing</name>
<summary>Intuitive EDA platform featuring from prototype to product</summary>
<description>Fritzing is an open-source initiative to support designers, artists, researchers and hobbyists to take the step from physical prototyping to actual product. It is in the spirit of Processing and Arduino which allows users to document their Arduino and other electronic-based prototypes, and to create a PCB layout for manufacturing.</description>
</item>
</software>
</group>
Apart from the descriptions, the important things are the <url> tag in the <repositories> group, which tells YaST what repo to add, and the items in the <software> group that tell YaST what packages to install.
Again, you can add that repo and install the packages manually with YaST or zypper, the page even tells you the exact steps just a few lines below that 1-click install: http://playground.arduino.cc//Linux/OpenSUSE
The main problem I see with that .ymp file is that the latest version supported is openSUSE 13.1. But you said you are using 13.1, so it should work.
PS: Sorry, I see that that’s fritzing.ymp. But it should be similar with arduino.ymp. And as mentioned you can just follow the “Installation of the Arduino IDE from the Command Line” a few lines below on that page as well.
Sort of. It has the long-noted problem of not using system colors, which means that sometimes I have to figure out how to read black-on-black or white-on-white, but it’s doable.
And as mentioned you can just follow the “Installation of the Arduino IDE from the Command Line” a few lines below on that page as well.
OK, took me a couple of readings to see that, The way that page is formatted, it looks as though it’s part of the section on “Fritzing”, which I skipped over since I don’t want it.