Skip to content
Juha Kukkonen edited this page Apr 15, 2021 · 10 revisions

Install instructions for Arch based distros

  • Download the vartiant suitable for arch based distros.
  • Browse where the downloaded file is located and run a command $ sudo pacman -U __downloaded_file__
    • If the command fails to install because of missing package. Force installation by ignoring all dependency checks with command $ sudo pacman -Udd __downloaded-file__
  • Also install required packages if needed $ sudo pacman -S glib2 xdg-utils

Install instructions for Fedora distribution

  • Download the vartiant suitable for RPM based distros.
  • Browse where the downloaded file is located and run a command $ sudo dnf localinstall __downloaded_file__
  • Also install required packages if needed $ sudo dnf install glib2-devel xdg-utils

Install instructions for Open SUSE distribution

  • Download the vartiant suitable for RPM based distros.
  • Browse where the downloaded file is located and run a command $ sudo zypper install __downloaded_file__
    • Zypper might notify about missing dependency. Just choose to break loginized application and ingore missing dependencies.
    • Zypper might also notify that package is not signed. Just choose to ingore this.
  • Also install required packages if needed $ sudo zypper install glib2-devel xdg-utils

Install instructions for Debian based distros

  • Download the vartiant suitable for Debian based distros.
  • Browse where the downloaded file is located and run a command $ sudo dpkg -i __downloaded_file__
  • Also install required packages if needed $ sudo apt install libglib2.0-bin libglib2.0-dev-bin xdg-utils
  • In Ubuntu installation might leave package manager in inconsistent state by not installing some dependencies this can be fixed easily with command $ sudo apt --fix-broken install

Build application from sources

Follow steps below to build application from sources

# First install yarn if you dont have that installed
# Note this is arch based distribution example to install yarn
# in your distro the package manager might be different 
$ sudo pacman -S yarn

# Clone the repository
$ git clone git@github.com:juhaku/loginized.git && cd loginized

# Checkout spefic tag e.g 1.1.3 for building specific release or
# keep it at master which is latest development point
$ git checkout <tag>

# Installs the dependencies for application
$ yarn install

# Build the distribution for Arch. For Debian build just replace pacman with deb
# Also for rpm based distribution use rpm instead of pacman or deb
$ yarn electron:build --linux pacman --x64

After build has finished the build package can be found from folder dist_electron