bluesabre / mugshot

Mugshot - User Management Utility for Linux
GNU General Public License v3.0
70 stars 12 forks source link

Fedora support #31

Open baronleonardo opened 1 year ago

baronleonardo commented 1 year ago
coldReactive commented 2 months ago

Here are the installation instructions for Fedora:

  1. Make sure you have the dependencies.
    1. gi is provided by either gom or python3-gobject-base, which are provided by the System repos.
    2. chfn is provided by util-linux, so it's likely it's already installed.
    3. python3-distutils-extra needs to be installed.
    4. Runtime requires python3-cairo and python3-pexpect, which should already be installed, but just make sure.
  2. chmod +x the setup.py and then install it with ./setup.py install
  3. Once installed, you will need to copy the XML file in /data/glib-2.0/schemas/ that is contained in the mugshot archive you downloaded from here, into either /usr/local/share/glib-2.0/schemas/ or /usr/share/glib-2.0/schemas/.
  4. Run glib-compile-schemas ./ in the folder you copied the XML file to in Step 3.

After this, mugshot will be able to be run. I'd recommend @bluesabre add this to the https://github.com/bluesabre/mugshot/wiki/Installation