miguelfreitas / twister-core

twister core / daemon
MIT License
1.42k stars 251 forks source link

Easier way to install on Linux needed. #416

Open Snarkly opened 6 years ago

Snarkly commented 6 years ago

Some people have stated they still have problems getting Twister installed on Linux. Can you please create a Deb package to install Twister and also add Twister to the software manager on Linux. Those two ways to install Twister would make it a lot easier for people.

miguelfreitas commented 6 years ago

Please check twister.net.co downĺoad page:

http://twister.net.co/?page_id=23

Snarkly commented 6 years ago

I checked out the links but those are PPA's and a lot of people hate using PPA's. I don't even use them. Here's an example picture of what Twister needs. The GDebi package all a person has to do is download it and click on it and it installs Twister and if Twister was in the Linux software manager a person just has to click on it and tell it to install. Is there anyway you can add these two ways to install Twister. twister2

miguelfreitas commented 6 years ago

@Snarkly I'm not a debian user, I don't know how to get twister into this "Software Manager". Maybe we need to lobby some Debian maintainer to do it?

miguelfreitas commented 6 years ago

Why can't they download the .deb from this PPA channel and install it manually? Example: https://launchpad.net/~podshumok/+archive/ubuntu/twister-core-daily/+build/13306247

Snarkly commented 6 years ago

Thanks, I didn't know about that link. I'll post that link on Twitter.

appijumbo commented 6 years ago

I only stumbled across Twister a few hours ago and I'm not at all familiar with the code but I wanted to quickly try it out and I have to whole heartedly agree that as I understand the installation process is very developer centric !

Has anyone looked at creating a snap and add it to Ubuntu's Snap store and/or a Redhats Flatpak and/or Appimage ? , though its not as smooth to use and update as Snap or Flatpak.

You may ned some bash script just to check is snapd or flatpack is already installed because some distros come only with one or the other by default eg. Linux mint has Flatpak but not Snaps so you have to $ sudo apt install snapd

.deb and PPA's will be around for a while but Snaps/ Flatpak / Appimage(?) are the future as they are containerised so allow multiple versions of the same app in the system for example.

I've never installed or used Twister and I've only a basic understanding of Snaps though I do install stuff via it, but if you want I'll have a go at doing a snap for Twister?

Please no guarantees but happy to try. My only question would you be comfortable putting Twister in this list?

Also if you look at how the Signal messenger app is installed they have a script to copy

curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
sudo apt update && sudo apt install signal-desktop

Likewise Ring which has R.S been involved also has a script

sudo sh -c "echo 'deb https://dl.ring.cx/ring-nightly/ubuntu_18.04/ ring main' > /etc/apt/sources.list.d/ring-nightly-main.list"
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys A295D773307D25A33AE72F2F64CD5FA175348F84
sudo add-apt-repository universe
sudo apt-get update && sudo apt-get install ring-all

You can see that esentially both of them add a repo to the clients source list then update and upgrade to install.

Personally I think Snaps or Flatpak is the way to go both from an ease of installation , maintenance and marketing perspective.

Anyhow please let me know if I've said anything useful and I'll take a look ;)