Debian Codegraph @

blog/_posts/2024-04-27-fedora-40.md

raw
1 ---
2 layout: post
3 title: "Coot 1.1 on Fedora 40"
4 date: Sat 27 Apr 2024 22:54:43 BST
5 ---
6
7 Fedora 40! Welcome to the party!
8
9 Prompted in part by _mysecondnameisdanger_ [1] I have spent quite a lot of this month (off and on) trying to get _Coot_ to compile on Fedora.
10
11 And now, I am pleased to announce, it seems that I have succeeded!
12
13 From a bare-bones workstation installation, one needs to install some prerequisite packages:
14 ```
15 - dnf install patch
16 - dnf install m4
17 - dnf install g++
18 - dnf install libtool
19 - dnf install cmake
20 - dnf install swig
21 - dnf install flex
22 - dnf install bison
23 - dnf install perl
24 - dnf install texinfo
25 - dnf install gfortran
26 - dnf install gtk4-devel
27 - dnf install libjpeg-devel
28 - dnf install libepoxy-devel
29 - dnf install ncurses-devel
30 - dnf install lapack-devel
31 ```
32 (You can put multiple packages on the command line of course)
33
34 Then the [build-it-3-3 script](https://raw.githubusercontent.com/pemsley/coot/main/build-it-3-3) will just run and build everything that _Coot_ needs, soup to nuts, including _Coot_ itself.
35 By default the installation directory is a subdirectory in `$HOME/autobuild`. It should take about an hour to compile.
36
37 The user interface of Fedora 40 is based around GTK 4.14 and this is what _Coot_ uses too - and is compiled with GCC 14. Just like the rest of the desktop, _Coot_ should be snappy and attractive-looking. Truth to tell, I have not actually seen it myself - I have only used it on the command line via a virtual machine.
38
39 Enjoy.
40
41 [1] [How to install on fedora 39?](https://github.com/pemsley/coot/issues/122) _mysecondnameisdanger_ pointed me in the right direction to correctly compile Python.