git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/moc-installation-fedora.md
blob: 34c01794313bff3c1ac8cf6e7fa94fcde86cebca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## MOC (music-on-console) easy startup on Fedora

It's simple!

Since at least the Fedora build is broken (if not MOC as such), here's the
steps you manually need to do to run MOC:

1. Installation:  
        ```sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm&&\
		sudo dnf install moc timidity++```

2. manpage says ~/.moc/config is a default directory and config. It is not
   being auto-created on first run (boo! why not???), so here we go:  
        ```mkdir ~/.moc&&cp /usr/share/doc/moc/config.example ~/.moc/config```

3. Since MOC per default cries about timidity stuff, let's give it a timidity
   default temp even though most of you never will use the MID output:  
        ```echo 'default /tmp/timidity.tmp' > ~/.moc/timidity.cfg```  
   Not my idea, this comes from [a 2016(!) thread on the openSUSE
   forums](https://forums.opensuse.org/showthread.php/518554-I-m-confused-music-on-console-won-t-run-without-timidity-So-whyisn-t-it-a-quot-dependency-quot)

4. manpage says ~/.moc/config is a default directory and config. I'm repeating
   myself, but you will notice that if you just type mocp now it still won't
   start. You *have to* go to ~/.mocp and *then* it works.  
        ```cd ~/.moc ; mocp```  
   Remember, kids, to cd into default directories! :-)