clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
522 stars 29 forks source link

FlatPak Replacements for apps with external dependencies #914

Open stuartdd opened 5 years ago

stuartdd commented 5 years ago

With reference to the following Forum discussion: (https://community.clearlinux.org/t/flatpak-issue-for-development-tools-please-help/822) I would like to see the following applications packaged without FlatPak:

Apache NetBeans - Cannot access external binaries and resources for Java Oracle JDK - Cannot use Open JDk for the work I am doing Sublime (same as VSCode)

All of the above have issues being distributed in FlatPak format. The language (SDK and JDK) would also be nice to have. This is a platform for developers after all.

mrkz commented 5 years ago

@stuartdd Thanks for opening this issue report :tada:

For Sublime text, we cannot ship (see #913 )

For all others, we will take a look.

ahkok commented 5 years ago

For sublime, just download the upstream tarball directly. No need to package.

ahkok commented 5 years ago

There already is an atom bundle. Please do check first before asking.

ahkok commented 5 years ago

For netbeans and oracle JDK, please download the official releases from upstream. Since these are java, there is very little benefit to packaging.

stuartdd commented 5 years ago

As a newbee to this discussion what is meant by 'upstream'. Are you basically saying 'go to the vendor site and install it manually'.

This is fine for the more experienced linux dev but it is intimidating for newcommers which is the real benifit to packaging. The flat packs need to be removed from the software site and instruction presented instead. It also means that the devs are responsible for updates if the package does not manage it internally.

The only application on my list that I have NOT installed manually is FileZilla. I have installed the others manually a couple of times but it is still a pain.

I know there are legal issues but can scripts be written with the appropriate disclaimers to help installation.

The message needs to be 'You can still use vscode but you need to install it yourself, this is how to do it' Otherwise you discourage people for using your OS which would be a shame as it is really nice.

Akiyamka commented 5 years ago

@ahkok what about vscode? How i can install it without flatpack? Clear linux is "RHEL, Fedora, and CentOS based distribution" in vscode manual term, or "openSUSE and SLE-based" ?

stuartdd commented 5 years ago

It is straight forward. I downloaded code-stable-1559611337.tar.gz from the VSCode website https://code.visualstudio.com/Download# (choose the latest 64 bit version). Select tar.gz from under the .Deb/.Rpm options. Extracted it in to /home/youruserid/VSCode-linux-x64 and ran the code script in the VSCode-linux-x64 directory. To set up a gnome desktop shortcut: Go to /home/youruserid/.local/share/applications. Create vscode.desktop file. Add the following!

[Desktop Entry]
Version=1.0
Name=VSCode
Type=Application
Comment=Visual Studio Code
Terminal=false
Exec=/home/youruserid/VSCode-linux-x64/bin/code
Icon=/home/youruserid/VSCode-linux-x64/resources/app/resources/linux/code.png
Categories=Development
GenericName=Source Code Editor
Keywords=Programming;Dart;Go;vscode;code

Click on the application icon in the development group.

Hope this helps.

Stuart

Akiyamka commented 5 years ago

@stuartdd nice, thank you. Also I add vscode in PATH variable in /.zshrc

export PATH="$HOME/VSCode-linux-x64/bin:$PATH"