OpenSCAD on Ubuntu 18.04 how?

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenSCAD on Ubuntu 18.04 how?

nophead
So Ubuntu 18.04 comes with the 2015 release. On the download page it says this. But then it says :
For Ubuntu users:
To update to the latest release add the following PPA before installing OpenSCAD:


Does this mean it should work on Ubuntu 18.04 after doing this, because it doesn't?

Then I tried the app image version for other Linux and that says there is no application installed for app image bundle files.

Then I tried:
deb https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04/ ./

But I don't seem to have deb and apt-get intall deb doesn't know of it.

Is the only way to get it on Ubuntu 18.04 to build it from source?

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

tp3
On 14.08.19 19:56, nop head wrote:
> Does this mean it should work on Ubuntu 18.04 after doing this,
> because it doesn't?

The PPA is separately maintained, I was hoping it gets updated
soon. If not we may need to drop the reference from the homepage.

> Then I tried the app image version for other Linux and that says
> there is no application installed for app image bundle files.

That's odd. I don't know what that means. The normal process
for AppImages is 1) download 2) make executable 3) run.

> Then I tried:
> deb https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04/ ./

This line needs to go into into the file /etc/apt/sources.list
or alternatively create a new file, e.g. openscad-nightly.list,
in /etc/apt/sources.list.d/ with just that line.

After that it should be picked up by the distro software tools,
so apt-get update && apt-get install openscad-nightly should
work.

Ubuntu should also be able to install the Snap package, but I
would not really recommend using that as this makes it run in
a container which means working with files is a bit annoying.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

nophead
 2) make executable  

Oh, I now see, you mean chmod +x, I thought you meant make an executable, i.e. build it in some way.

Yes after chmod + x the appimage just runs. 

On Wed, 14 Aug 2019 at 22:12, Torsten Paul <[hidden email]> wrote:
On 14.08.19 19:56, nop head wrote:
> Does this mean it should work on Ubuntu 18.04 after doing this,
> because it doesn't?

The PPA is separately maintained, I was hoping it gets updated
soon. If not we may need to drop the reference from the homepage.

> Then I tried the app image version for other Linux and that says
> there is no application installed for app image bundle files.

That's odd. I don't know what that means. The normal process
for AppImages is 1) download 2) make executable 3) run.

> Then I tried:
> deb https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04/ ./

This line needs to go into into the file /etc/apt/sources.list
or alternatively create a new file, e.g. openscad-nightly.list,
in /etc/apt/sources.list.d/ with just that line.

After that it should be picked up by the distro software tools,
so apt-get update && apt-get install openscad-nightly should
work.

Ubuntu should also be able to install the Snap package, but I
would not really recommend using that as this makes it run in
a container which means working with files is a bit annoying.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

KeithSloan52
I am trying to install the 2019 version of OpenSCAD on Ubuntu 18.04

I have created /etc/apt/sources.list.d/openscad-nightly.list

and it contains
deb https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04/
bionic universe

I run
sudo apt-get update
sudo apt-get install openscad-nightly

But get

No apt package "openscad-nightly", but there is a snap with that name.
Try "snap install openscad-nightly"






--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

tp3
On 09.02.20 14:37, KeithSloan52 wrote:
> I am trying to install the 2019 version of OpenSCAD on Ubuntu 18.04
> I have created /etc/apt/sources.list.d/openscad-nightly.list

Hmm, the file is there (for 64bit only).

> sudo apt-get update

Any error at that point? Depending on the system setup, the
signing key is mandatory for the package to be accepted.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

KeithSloan52
Yep
Err:16 https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04
bionic Release
  404  Not Found [IP: 195.135.221.134 443]




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

tp3
On 09.02.20 18:47, KeithSloan52 wrote:
> Yep
> Err:16 https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04
> bionic Release
>   404  Not Found [IP: 195.135.221.134 443]

Oh, now I see the issue, that repo line is wrong. Please use exactly
what's posted on the download page, including the trailing / and the
single dot separated by a space and remove the "bionic universe" part.

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

KeithSloan52
sudo apt-get update seems to work okay but I still get a problem.

(base) keith@keith-MacBookPro:~$ sudo apt-get install openscad-nightly
Reading package lists... Done
Building dependency tree      
Reading state information... Done

No apt package "openscad-nightly", but there is a snap with that name.
Try "snap install openscad-nightly"

E: Unable to locate package openscad-nightly




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

tp3
What's the following command saying?:

apt-cache policy openscad-nightly

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

KeithSloan52
(base) keith@keith-MacBookPro:~$ ls /etc/apt/services
ls: cannot access '/etc/apt/services': No such file or directory
(base) keith@keith-MacBookPro:~$ ls
/etc/apt/sources.list.d/openscad-nightly.list
/etc/apt/sources.list.d/openscad-nightly.list
(base) keith@keith-MacBookPro:~$ cat
/etc/apt/sources.list.d/openscad-nightly.list
deb https://download.opensuse.org/repositories/home:/t-paul/xUbuntu_18.04/
./
(base) keith@keith-MacBookPro:~$ apt-cache policy openscad-nightly
N: Unable to locate package openscad-nightly




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

tp3
On 09.02.20 19:34, KeithSloan52 wrote:
> (base) keith@keith-MacBookPro:~$ apt-cache policy openscad-nightly
> N: Unable to locate package openscad-nightly

I'm running out of ideas. That is a 64bit system for sure?

$ dpkg --print-architecture
amd64

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

KeithSloan52
Yep correct

(base) keith@keith-MacBookPro:~$ dpkg --print-architecture
amd64
(base) keith@keith-MacBookPro:~$




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

KeithSloan52
What is the problem of installing via snap?

I thought I saw something about avoiding.



--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

doug.moen
I've tried the snap version of OpenSCAD on Ubuntu 18.04, and for me it is unusable.
Your experience may vary. I would prefer a Flatpak image over a Snap image.

First, the 3D graphics rendering doesn't work on my Intel HD Graphics GPU.
This is some kind of bug in the way that the GPU is accessed from inside the Snap sandboxing environment.
Not everybody with an Intel GPU experiences this problem.

Second, the snap image is incapable of loading OpenSCAD files that are not in my home directory.
This breaks my workflow.

The snap for Blender doesn't have any of these issues on my system. However, the Blender foundation
needed to get *special permission* from *Ubuntu* in order to set a bit in the snap image that disables
the sandboxing. That wouldn't be necessary if Snap was open source, like Flatpak. But Snap is
not open source: it is an attempt by Ubuntu to create an Apple-like walled garden app store for Linux.

So the fix to all these problems is to use Flatpak instead of Snap.

Doug Moen.

On Mon, Feb 10, 2020, at 4:46 AM, KeithSloan52 wrote:

> What is the problem of installing via snap?
>
> I thought I saw something about avoiding.
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

cacb
On 2020-02-10 14:51, Doug Moen wrote:
> Second, the snap image is incapable of loading OpenSCAD files that are
> not in my home directory.
> This breaks my workflow.

I saw the same thing, it makes it unusable.

Carsten Arnholm

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: OpenSCAD on Ubuntu 18.04 how?

tp3
In reply to this post by doug.moen
On 10.02.20 14:51, Doug Moen wrote:
> I've tried the snap version of OpenSCAD on Ubuntu 18.04, and
> for me it is unusable. Your experience may vary. I would prefer
> a Flatpak image over a Snap image.

Well, there is one. As soon as I can find out how to have a
nightly build for that too, that may happen as well, but for
now it's only the release version (many thanks to the people
who did maintain and update it so far).

> Not everybody with an Intel GPU experiences this problem.

Yep, no problem here with that. Running on Mesa DRI Intel(R)
UHD Graphics 620 (Kabylake GT2).

> Second, the snap image is incapable of loading OpenSCAD files
> that are not in my home directory. This breaks my workflow.

Welcome to the new world of containers :-). I suspect there
might be a solution at some point. We are not going to do
"classic" snap packages so we'll have to see if and how snap
develops.

> That wouldn't be necessary if Snap was open source, like
> Flatpak. But Snap is not open source: it is an attempt by
> Ubuntu to create an Apple-like walled garden app store for
> Linux.

Hmm... the store itself probably is. Snapd and the snap builder
stuff are open source (GPL3 at https://github.com/snapcore).
Flatpak is hosted on github which is not open source either.

Comparing that to Apple seems totally off as they do the double
walled garden on an island far way shooting down everyone
coming near without paying first (and some in addition just
randomly for reasons). Ubuntu is putting their throne somewhere
in the middle of an open lawn trying to convince everyone
getting the candy from them.

> So the fix to all these problems is to use Flatpak instead
> of Snap.

Both have their problems, but maybe Flatpak has the not so
annoying ones ;-). The recommendation is still the native
packages first. I'm not sure why it does not work on that
system, probably some small issue that's just hard to find
by poking it via email.

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten