Installing from source

I want to install some software from source tarball. Even first user is like root user, there is doubt if it can do installation step on source tarball. is it possible through flatpak or someway and how to do it?

Hi,

building applications as flatpaks is described in the manual:
http://docs.flatpak.org/en/latest/building.html

Essentially, it consists of a few steps, namely:

  1. Install the desired SDK (e.g. for GNOME or KDE)
  2. Write a Json/Yaml file which describes how to build the package
  3. Using flatpak-builder to build it
  4. Using flatpak to install it

I recommend you to take a look at documentation mentioned above and also some of the simpler applications in the flathub github repository, like the gnome calculator: https://github.com/flathub/org.gnome.Calculator/blob/master/org.gnome.Calculator.json or for a more complex example with a lot of external dependencies, wxMaxima: https://github.com/scx/wxmaxima-flatpak

Egon