Slashdot Mirror


Canonical Helps Launch A Snap Store For The Orange Pi Community (ubuntu.com)

"Developers can distribute their applications packaged as snaps to Orange Pi owners," explains a new blog post from Canonical, bragging that "hackers and tinkerers can install complex IoT and server projects in seconds." An anonymous reader quotes Ubuntu's Insights blog: Orange Pi maker Shenzhen Xunlong Software Co. Ltd is launching an app store in partnership with Canonical to foster an active community of developers and users. Through this app store, developers gain a simple mechanism to share their applications, projects and scripts between themselves and with the wider Orange Pi community...

With snaps developers can distribute their application in a secure, confined package bundled with all its dependencies, so users can install applications that could take half an hour to install in just a few seconds. The Orange Pi App Store uses the whitelabel app store offering from Canonical, which lets them distribute applications to the Orange Pi community under its own brand. The store is a place for developers to share their Orange Pi specific applications. It also benefits from the wealth of applications available in the Ubuntu snap store, also available through the store.

Are there any Slashdot readers who are actually using snaps? Or -- for that matter -- are there any Slashdot readers developing with the Orange Pi?

55 comments

  1. Chinese crapware by Anonymous Coward · · Score: 0

    Orange Pi maker Shenzhen Xunlong Software Co. Ltd

    Why is Slashdot becoming a shillfest of Chinese crapware?

    1. Re: Chinese crapware by Anonymous Coward · · Score: 0

      i use products from all over the world.

    2. Re: Chinese crapware by fubarrr · · Score: 1

      This sound fishy, if they are a Shenzhen based company, why are they registered in Shanghai? On the other hand, if they have money to rent an office in Lujiazui, the must have moneyz.

    3. Re: Chinese crapware by Anonymous Coward · · Score: 0

      Doesn't need to be fishy. Most electronics are made in Shenzen, while Shanghai is a business capital.

    4. Re:Chinese crapware by Anonymous Coward · · Score: 0

      Perhaps it is because nobody gives a shit about slashdot anymore? Last year even Dice gave up on it and sold it to a couple of silicon valley CEOs who are trying to start up YET ANOTHER bitcoin fork. Slashdot is formally owned by the company they created to profit from that digital currency, which nobody uses.

    5. Re: Chinese crapware by _merlin · · Score: 1

      China doesn't have a uniform national business register like e.g. Australia has. The rules for registering a business don't just vary by state or city, but down to the locality within a city. The more prestigious locations often have stricter regulation and more stringent reporting requirements, but (partly as a side effect of this) make it easier to raise capital. Often the company doesn't really have an office there - a number of companies will pool together to rent a small office with one dude sitting at a desk doing very little and use it as their registered business address.

    6. Re: Chinese crapware by mspohr · · Score: 1

      iPhones and most of the electronics you buy are made in China.

      --
      I don't read your sig. Why are you reading mine?
    7. Re: Chinese crapware by TechyImmigrant · · Score: 1

      This sound fishy, if they are a Shenzhen based company, why are they registered in Shanghai? On the other hand, if they have money to rent an office in Lujiazui, the must have moneyz.

      Most large US companies are incorporated in Delaware. Nothing fishy there at all.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
  2. Orange Pi by Anonymous Coward · · Score: 1

    Done many things with the Orange Pis. If you use Armbian or buildroot they are nice devices. Do not use the official OS images, they have serious problems (some are so bad that simply nothing happens when you try to boot).

    1. Re:Orange Pi by amiga3D · · Score: 1

      This is what leads me to avoid these fly by night boards. They have virtually no support.

  3. W.T.F. is Orange Pi ?! by Anonymous Coward · · Score: 0

    Editors: Edit, FFS !

    1. Re:W.T.F. is Orange Pi ?! by DontBeAMoran · · Score: 3, Funny

      The Orange Pi is similar to the Raspberry Pi, but has a different taste.

      --
      #DeleteFacebook
    2. Re: W.T.F. is Orange Pi ?! by Anonymous Coward · · Score: 0

      It's similar to the Orange, an Apple 2 clone.

    3. Re:W.T.F. is Orange Pi ?! by Hognoxious · · Score: 1

      The Raspberry Pi is small. The Orange Pi is yuuuuge, believe me folks.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    4. Re:W.T.F. is Orange Pi ?! by Anonymous Coward · · Score: 0

      The value of Pi we have now is terrible, a disaster. The people who came up with the value had no idea how to make deals. My Pi will be over twice as big, you're going to be tired of having so much filling to eat.

  4. I'm using an Orange Pi by codeButcher · · Score: 3, Informative

    I recently picked up an Orange Pi Zero due mainly to price and availability, just to tinker with. After some initial struggles I got Armbian running on it and some other basic software - the Java Dev Kit and Tomcat to be specific, although once you have some sort of Linux box (Windows also available) you can obviously set it up in whatever way you like.

    While competing mainly with the Raspberry Pi "ecosystem", the Orange Pi "ecosystem" lacks a lot in terms of support (official and community). Official support is all but nonexisting - needs a lot of googling and trial&error to find the right pin outs, ampere requirements, where to find (working) OS and other packages, etc. etc. etc. (in unambiguous, complete and standard English). In short, not really hitting the mark for a cheap system where a complete noob can learn about computers and programming easily. At least Raspberry has some momentum behind it in that regard.

    Both the Raspberry and Orange Pi user communities have a lot of potential to spew ill-informed "help" by users with more enthusiasm than knowledge - the RPi community being so much larger.

    Can't really comment on the quality of the hardware. My sample size of one, with only anecdotal testing, seems to run along fine - so far. I'm still in two minds if I would continue with the Orange Pi if I wanted to develop some more serious (semi-commercial) IoT device on it.

    --
    Free, as in your money being freed from the confines of your account.
    1. Re: I'm using an Orange Pi by Anonymous Coward · · Score: 0

      Somebody should port NetBSD's pkgsrc to this.

    2. Re:I'm using an Orange Pi by bluelip · · Score: 3, Interesting

      There is one Raspberry Pi in my house. It just sits there being lonely. The 13 orange Pi devices, mostly Ones, are having the most fun. The most recent is streaming video and running the Octoprint frontend. The 2e is a take on the road to tinker during down time board.

      There hasn't been a bit of trouble using the Armbian distro. Do keep away, or at least be cautious, of the "Official" images. They were piling heaps of dung when I first looked at the Oranges. Google will have your issues sorted out in a few searches.

      Check out the comparison charts that are out there. With Raspberry, you're paying for a fancy label and gimmicky tricks. They may be a fine fit to spin a wheel for a science fair project. For me, the Oranges are much cheaper and even more capable.

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
  5. Yes, let's build a walled garden by hughbar · · Score: 3, Insightful

    To declare interest, I'm a big Raspberry Pi fan and user.

    However, I see this as another attempt to build a walled garden (small wall, admittedly) by creating 'snaps'. I'm not sure how these will differ from Debian packages, for example and Debian packaging is arguably more 'universal'. I currently use Ubuntu Mate on Pi3 and it's pretty good. But, unhappily, I'm now going to start watching Canonical for signs that it wishes to be the Microsoft of Linux.

    For complex, autonomous applications (as opposed to apps, whatever they are, only joking before someone tells me) easier just to supply a complete image, anyway, like some of the media centre offerings.

    --
    On y va, qui mal y pense!
    1. Re:Yes, let's build a walled garden by fisted · · Score: 1

      Debian packaging is arguably more 'universal'

      Debian packaging is infinitely inferior since snaps ship their dependencies (or so I think anyway). Isn't that great?

    2. Re:Yes, let's build a walled garden by thegarbz · · Score: 3, Informative

      How is it a walled garden any more than apt or rpm. It's open source, it's not limited to one distribution, it's not curated, and the only requirement for a snap is that the developer of a program releases it in snap format.

      Just because it came from canonical doesn't make it instantly bad.

    3. Re:Yes, let's build a walled garden by Threni · · Score: 1

      Yeah, sometimes you don't want to have to google apt-get, apt, dpkg etc. Sometimes you just want to install a fucking piece of software. That is, copy files from the download folder into some other folder so you can run them. I have no idea why handling dependencies is such a pain in the ass that involves needing to understand several tools. Sometimes the best answer to "it's always been that way" is "well, do it a newer, better way then".

    4. Re:Yes, let's build a walled garden by Anonymous Coward · · Score: 2, Insightful

      "copy files from the download folder into some other folder so you can run them."

      No. You really don't.

      Having said that debian seems to have lost control over what constitutes a suggest, recommend and depend (on purpose) so it's packaging system becomes pretty useless without repackaging. (thanks for that guys)

    5. Re:Yes, let's build a walled garden by fisted · · Score: 1

      FWIW my comment was tongue-in-cheek.

    6. Re: Yes, let's build a walled garden by fubarrr · · Score: 1

      You are a lamer: a dependency managing package manager is infinitely better than a monolithic package/image/container

    7. Re:Yes, let's build a walled garden by Goaway · · Score: 2, Insightful

      Some of us get to have that every single day on our OS, and the sky has not fallen on us yet. In fact, it works great.

      So yes. Yes, we do really, really want that. We have tried it, it works, it's much nicer, and we want it.

    8. Re:Yes, let's build a walled garden by Anonymous Coward · · Score: 0

      Snaps are the Linux equivalent of the Windows solution to DLL hell, a problem that Linux distributions simply never had. And coming right when Windows starts to ship proper package management tools like NuGet.

    9. Re:Yes, let's build a walled garden by Anonymous Coward · · Score: 0

      > In fact, it works great.

      Except when it doesn't. Take a good look at what ant, maven, gradle, CPAN, pip, and all the other "I'll build the dependencies myself!!!" tools do to a stable working environment for all the components that don't happen to be in the latest package's dependency list.

    10. Re:Yes, let's build a walled garden by hughbar · · Score: 0

      Yes, you may be right and, in many ways, I hope so. However, even in this case, it's yet another sotfware distribution mechanism (YASDM !), when we have (as you say) apt, rpm etc. and they work pretty well.

      The 'app store' part, whilst terribly modern and trendy makes me feel cynical and suspicious though. Also, the (what I call) the pharmacology, how do all these things mix together, or not?

      --
      On y va, qui mal y pense!
    11. Re:Yes, let's build a walled garden by _merlin · · Score: 4, Insightful

      Yeah, so instead of patching your system-wide copy of OpenSSL for the next heartbleed, you get to patch the copy embedded in every snap. Isn't that fantastic?

    12. Re:Yes, let's build a walled garden by Antique+Geekmeister · · Score: 1

      The major apt and rpm providers publish all their source code, and their build environments. Being "Open source" is no guarantee that the developer's tools or the build tools will be available for developers. Such tools are often the "secret sauce" that some providers use to keep the gates closed to their walled gardens. AWS Linux, for example, is doing so quite effectively, even though their Linux is built from RHEL. RHEL _is_ very good about making their full toolkits and build tools accessible to developers.

    13. Re: Yes, let's build a walled garden by Anonymous Coward · · Score: 0

      Well, every snap is it's own sandbox, sort, each with it's own attack surface. So maybe the heartbleed would be more contained.

    14. Re:Yes, let's build a walled garden by thegarbz · · Score: 1

      However, even in this case, it's yet another sotfware distribution mechanism (YASDM !), when we have (as you say) apt, rpm etc. and they work pretty well.

      That's like saying Wind power is yet another power generation system when we have coal which works pretty well. The reality is one system is designed to address the shortcomings of another.

      Snap will never replace the fundamental distribution of packages in a system.
      Likewise apt and rpm is a special kind of horrid hell for anyone trying to do anything outside of a sanctioned, compatible and well maintained repository of a system. This in itself introduces delays in shipping software as incompatibilities between packages and dependencies need to be resolved. I do not so fondly remember spending several days trying to fix a very confused package manager for someone who attempted to upgrade to a newer version of smbd than his distribution maintained. Trying to manually unbreak apt is a special kind of hell reserved for people who don't comment code.

      It's not so much an "app store" that this is setting up but a "self contained app", something which Linux has desperately needed for a while.

    15. Re: Yes, let's build a walled garden by Mariner28 · · Score: 1

      Yes, possibly. But once a flaw has been found in the snap sandbox/container, then it's simply a matter of time and effort to find a snap package with a heartbleed-type hole, then exploit the snap flaw, and bam, you're in. Snap/Docker/et.al. will all have to be gone over with a fine tooth comb to find any flaws.

      I haven't looked into it yet, but is the Snap/Docker container maintainer (say that 3 times fast) still responsible for dependency updates, or is there a mechanism to update them automatically, separate from the main app in said container?

      --
      "A little misunderstanding? Galileo and the Pope had a little misunderstanding."
    16. Re:Yes, let's build a walled garden by Anonymous Coward · · Score: 0

      so maybe things like Snaps are for deployed and embedded things and you keep Ant, Maven etc on your development/build/testing environment.

  6. Re:I'm using an Orange Pi - me too. by petes_PoV · · Score: 1

    Can't really comment on the quality of the hardware

    I have a few of these (just purchased a couple of OPi-lite) and they seem to be just as good, hardware-wise, as the Raspberry. I also have a few NanoPi Neo's and the same applies to them.

    If either of these two suppliers had software and the support for it, that matched the build quality of their hardware, they would be right up there with the RPi in terms of adoption, popularity and units sold. That is the RPi's only real advantage: its community of volunteers and the ecosystem those volunteers have built around the hardware.

    --
    politicians are like babies' nappies: they should both be changed regularly and for the same reasons
  7. Orange Pi is Closed-Source by Anonymous Coward · · Score: 0

    There is almost no documentation available that details the workings of the Orange Pi. This device cannot be compared to Raspberry Pi in any way, save for the name.

    1. Re:Orange Pi is Closed-Source by Gaygirlie · · Score: 1

      Um, the schematics for the Orange Pi - boards have been available on their website from the beginning. I would know, considering I've fucking downloaded and read through them!

  8. What's the point? by Gaygirlie · · Score: 4, Informative

    The official Orange Pi - images are total fucking crapshoot, being so bad they make even your mum's cameltoe look appealing in comparison! It's not the availability of apps that is the problem, it's the support for the boards and all of their features, including Mali-drivers, or the closed, undocumented WiFi-chips, and so on that is the problem! Xunlong ain't doing shit to help get drivers mainlined in the kernel, they just produce a shitty image that barely boots and then hope the community will do all the hard work for them.

    So, what's the point with these "snaps?" How do they make the situation any better? Oh, they don't? Weeellll...

  9. Canonical can Go to Hell by Anonymous Coward · · Score: 0

    This amounts to building the Great Wall of China around Linux. Canonical ought to be ashamed of itself for hopping in bed with what is essentially a closed-source implementation of Linux. There is little or no documentation or support for the hardware, and even the "official" distribution packages only barely work.

  10. Not a fan of Canonical anymore by Anonymous Coward · · Score: 0

    Used to think Canonical was the one positive Linux had going for it. A well known corporation that could extend Linux onto several platforms. Now I see the company is just out for itself and creating several opportunities to advance its own interests. Much like Google has, I don't like open source being used as a means to create a walled garden. Google did it with Android and more specifically Chrome OS and Canonical has certainly taken Ubuntu on a path that mirrors a proprietary OS in many ways. Orange Pi is just another flavor of this.

    1. Re: Not a fan of Canonical anymore by Anonymous Coward · · Score: 0

      You are definitely right. There were news articles a few months back that Ubuntu was removing almost all references to "Linux" on its websites(s) so that "Ubuntu" seems like it's own thing. Canonical doesn't care about Linux much.

  11. Its not a walled garden by Anonymous Coward · · Score: 0

    Its not a walled garden - its a way to give your custom ARM board a custom app store. Custom ARM boards have a lot of hardware dependencies, and to compile for every option with enough RAM and flash/SSD disk space is time consuming on the board itself and you may easily fail. Instead, if it is pre-compiled for your board, and lets assume the board is a weeny camera IoT device, then you can just download from the snap store ready to run apps. Ubuntu hosts snap stores and you can create your own store there, or you can host your own, the hosting software is free.

    Potentially every little $5 ARM board capable of running Linux will now be able to have their own app store thanks to snap, and not just your smartphones and their appstores like google play, which are hugely popular.

    1. Re:Its not a walled garden by Desler · · Score: 1

      Why would you be compiling software on the board itself? Have you never heard of cross-compiling?

    2. Re:Its not a walled garden by thegarbz · · Score: 1

      Snaps have nothing to do with compiling, nothing to do with ARM or any other architecture and everything to do with distributing.

      Your complaints are already handled well by APT and RPM. Snaps solve a different problem.

  12. Any chance of working wifi on OPiLite? by John+Allsup · · Score: 1

    I have two OrangePiLite's, have tried many distros, including the ones on the OrangePi website. The only built in network connection is the wifi, and it works on precisely zero of the distros I tried.

    A distro where the wifi actually works, and where dragged windows don't sporadically vanish would be welcome.

    --
    John_Chalisque
    1. Re:Any chance of working wifi on OPiLite? by petes_PoV · · Score: 1

      it works on precisely zero of the distros I tried

      Yesterday I d/l'd Armbian Jessie (v 5.25). Installed it on a good quality micro-SD card. Connected the board to a good quality power supply and it came up first time and every time since then.

      Almost all the problems with these boards are due to lousy power supplies and the rest seem to be due to crappy SD cards. But I do agree: all the distros seem to be stuck on 2 or 3 year-old software, with little support or interest from the suppliers. If all the wannabe *-Pi manufacturers invested time and effort into easing people's experience they would wipe RPi's off the map with their lower price and better on-board facilities such as eMMC and (compared to the RPi Zero) availability.

      --
      politicians are like babies' nappies: they should both be changed regularly and for the same reasons
    2. Re:Any chance of working wifi on OPiLite? by Anonymous Coward · · Score: 0

      Why not try Yocto. It gives you up to date every thing. If all you need is a special kernel you can just use linux-dummy recipe and use the provided kernel.

      Everything else is a givent.

  13. Re:I'm using an Orange Pi - me too. by pr0fessor · · Score: 1

    I recently purchased a few rpi 3 for myself and a couple friends and before we bought them we looked at the banana/orange pi and odroid they had a little better specs but the rpi community is what sold us.

    I'm glad we chose the rpi because each problem we ran into and there were a couple all it took was quick look on the rpi forum and I was able to find the fix immediately.

     

  14. Orange Pi fan by Anonymous Coward · · Score: 1

    I started using an Orange Pi Plus 2 for a project I was working on several months ago and have been using it as main computer ever since. In fact, I'm writing this post right now using it :).

    It's not quite as fast as a laptop, but for my purposes (text editing in vim, schematic layout with Kicad, 2D CAD drawing with librecad, controlling a server with ssh, and looking up documentation on the internet with Firefox running Ublock Origin) it works quite well.

    The big advantage of single-board computers like the OPi+2 is the GPIO pins. It makes programming microcontrollers and serial communication easy.

    I originally tried doing all this using a Raspberry Pi 3, but found the OPi+2 to be much more useable and faster. The OPi+2 has twice as much RAM compared to the RPi3 and 16 Gb of eMMC storage.

    I'm using Armbian for my OS. It's is a much better distribution than the RPi3's Raspbian, IMHO--more secure, less buggy, and more polished.

    I haven't had that much difficulty getting things to work. The Armbian site is really well documented, and the forums there have answered every question I've had. Documenation and forums on the Orange Pi site is not nearly as good.

    I think the next board I'll try will be the OrangePi+2E. It has one less USB port, but the three remaining ports are directly connected to the processor (not through a bus) for faster throughput. It's slightly smaller in size and cost less, too.

  15. Does this mean increased memory usage? by HalAtWork · · Score: 1

    Does every snap package load only its own libraries increasing ram usage? And then multiple versions of libraries you can't individually update may have flaws and exploits that you have to rely on someone to update the snap package every time one of the components is updated?

  16. In the name of all that is holy... by MountainLogic · · Score: 2

    ...Can we please not use Linux and IoT in the same sentence. Linux is a wonderful OS. Most IoT devices are a world apart from what Linux needs to live. Most IoT devices are limited to 8k or 16k. That was not a typo - EIGHT KILOBYTES! Even if these little devices have an ARM M0/3, they do not have a memory manager. Many IoT devices have real time requirements and as blazing fast as Linux may be, it was just not architected to meet hard real requirements. Real world, mass produced product are under such extreme cost and/or battery constraints that pennies matter when selling at Home Depot or Target against $13 alternatives. Real world product have to live with one little processor to run the entire RF stack (BLE, etc) AND run the application, all of this in say 8k. Sure, there are exceptions such as smart phones, but how many millions of people are going to pay $800 for a thermostat (a few nest customers excepted).
    /Rant Mode off
    There is certainly a place for tiny Linux based computers in IoT home projects and as mini PCs and servers, as Orange Pi's home pages suggest. They are an amazing amount of technology for the money, just not scaleable.

    1. Re:In the name of all that is holy... by Anonymous Coward · · Score: 0

      And those "EIGHT KILOBYTE" machines, with no memory manager, are probably more fitted to the task of teaching people to understand their computers.

      But you can't run a retro game emulator or stream audio and or video by just installing a .deb (most of the time).

      It is isn't at least 1080p, how can we be expected play.... er.. learn anything?

  17. Definitely using Orange Pi by kriston · · Score: 1

    They're faster than comparable Raspberry Pi units since they don't put all their peripherals through a slow, shared USB 2.0 bus. There's also more variety in the different boards, some of which have working WiFi/BlueTooth and on-board flash memory. There are several tiny versions of the board, too, including a SODIMM one with peripheral board and very tiny versions with ethernet and I/O ports on it.

    There are already two 64-bit boards that actually run in 64-bit, unlike the Raspberry Pi 3.

    Unfortunately, unless you're using Android, the accelerated graphics chipset isn't available in some distributions. The web site http://linux-sunxi.org/ has more information.

    The Armbian project at http://www.armbian.com/ is actively developing on these units.

    --

    Kriston