Skip to content

Install on Linux Fedora 29

henrydatei edited this page Apr 27, 2019 · 4 revisions

Install on Linux Fedora 29

Okay I did have to install a few more packages/modules than mentioned in the Readme.md for manim. Here is an excerpt of my history, which in the end gave a working demo just fine. Hope this helps some folks:

From the 3blue1brown (Grant Sanderson) fellow on YouTube, animations are done using "manim" on his GitHub at https://github.com/3b1b/manim . Did a git clone,

git clone https://github.com/3b1b/manim

and followed the Readme.md. Found I needed to install a lot of Python packages on my Fedora 29 machine, with both "dnf install" (my preferred) and with "pip2" and "pip3" (I try to keep both versions with same modules). A summary of what I had to do is (the first three were mentioned in the Readme.md)

sudo dnf install cairo python2-cairo python3-cairo
sudo dnf install ffmpeg
sudo dnf install sox sox-devel sox-plugins-nonfree
sudo dnf install python2-tqdm python3-tqdm
sudo dnf install python2-colour-runner python3-colour-runner
sudo dnf install opencv-doc opencv opencv-devel python2-opencv python3-opencv

and the pip's

sudo pip3 install colour
sudo pip install colour

Then I could run the Readme example of a square morphing into a circle:
python3 extract_scene.py example_scenes.py SquareToCircle -pl (<<< that is pee-ell, by-the-way:)
from the manim directory.

It put the generated mp4 file in
dhcp-129-59-117-197/gabe :<Code/manim 206 >ls media/videos/example_scenes/480p15 ./ ../ SquareToCircle.mp4

[gabella 20181127]

Manim is an engine for precise programmatic animations, designed for creating explanatory math videos.

Clone this wiki locally