This shows you the differences between two versions of the page.
user:smeas:portfolio:hpc2project2 [2014/05/06 19:16] – created smeas | user:smeas:portfolio:hpc2project2 [2014/05/06 19:30] (current) – smeas | ||
---|---|---|---|
Line 80: | Line 80: | ||
hash -r | hash -r | ||
</ | </ | ||
+ | |||
+ | After this, ffmpeg should be all compiled and built, and should be in your ~/bin directory. | ||
+ | |||
+ | ====Step 5 (Optional)==== | ||
+ | ===Set up a path variable to ~/bin=== | ||
+ | If you want to run your new version of ffmpeg from anywhere, you may need to add ~/bin to your $PATH system variable. First, check to see if your ~/bin directory is listed in your $PATH. | ||
+ | |||
+ | <cli> | ||
+ | echo $PATH | ||
+ | </ | ||
+ | |||
+ | Which will return something like this: | ||
+ | |||
+ | <cli> | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | If you don't see "/ | ||
+ | |||
+ | < | ||
+ | if [ -d " | ||
+ | PATH=" | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | This will check the home directory on login, and if it finds a ~/bin folder, it will add it to the path. After adding this line, save the ~/.profile and restart your shell. | ||
+ | |||
+ | <cli> | ||
+ | ffmpeg | ||
+ | </ | ||
+ | |||
+ | The ffmpeg run dialog should show up, and everything should be good to go! |