How to install ffmpeg on rhel7
You can install ffmpeg on your rhel7 server using RPM.
sudo yum install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
sudo yum install -y ffmpeg
After the install verify ffmpeg version
ffmpeg -version
For more information check the below link.
ffmpeg basic examples
A mess with different Perl installs
You should:
cleanup
- clean (comment out) your
~/.profile
from any unwanted paths, and so on - clean any new perl installation from your
$HOME
(move to safe place for sure) - in short, try return your environment into previous working state
- clean (comment out) your
relog, (logout, login)
repair your system perl. Thats mean,
- read @Sam Varshavchik's answer
- reinstall it from your distribution, using your package manager (5.10).
- this step should overwrite the mess you caused.
- test it !
- don't continue until youre ensured, everything working right as before.
Lesson learned: never overwrite your system perl
learning
- read thru
perlbrew.pl
- repeat previous step once again, especially with the
- the homepage
- http://perlbrew.pl/Perlbrew-and-Friends.html
- https://metacpan.org/pod/App::perlbrew
- https://metacpan.org/pod/perlbrew
- read thru
installing perlbrew
- run the installation command
\wget -O - http://install.perlbrew.pl | bash
- should finished without errors
- follow the instructions how to modify your startup file e.g.
~/.profile
or such... (you need to add one line to the end) - check your
~/perl5/perlbrew/bin
should containprelbrew
andpatchperl
- run the installation command
relog
setup new perl, run
perlbrew init
#init environmentperlbrew available
#show what perl you can installperlbrew install 5.20.0
#will take few minutes - depends on your system speedperlbrew install-cpanm
perlbrew list
#checkperlbrew switch perl-5.20.0
#activate newly installed perl 5.20
Check your installation
- in the
~/perl5/perlbrew/bin
you should have 3 scripts:prelbrew
,patchperl
,cpanm
perl -v
should return 5.20type cpanm
- should return~/perl5/perlbrew/bin/cpanm
You're done.
- CPAN modules
You can install new modules with cpanm
, like:
applications
- cpanm cpan-outdated
- cpanm App::Ack
- cpanm Unicode::Tussle
- cpanm Perl::Tidy
- cpanm Perl::Critic
collections
- cpanm Task::Moose
- cpanm Task::Plack
- cpanm Task::Unicode
modules
- cpanm Path::Tiny
- cpanm Try::Tiny
- cpanm JSON
- cpanm YAML
- etc...
Check the ~/perl5/perlbrew/perls/perl-5.20.0/bin/
for new commands
You will need update your own perl script's shebang line to
#!/usr/bin/env perl
I hope don't forget anything, maybe other more experienced perl-gurus will add/edit/correct more.
Anyway, in the reality the steps 5,6,7 are much easier as sounds (by reading this) and could be done in few minutes.
Error: gdal-config not found while installing R dependent packages whereas gdal is installed
You need the -dev
package with headers and shared library links for development besides the normal package for deployment. Two different use cases as far as the distro is concerned.
On my distribution:
edd@max:/tmp$ dpkg -l | grep gdal | cut -c-72
ii libgdal1-1.7.0 1.7.3-6ubuntu3
ii libgdal1-dev 1.7.3-6ubuntu3
edd@max:/tmp$
and R CMD INSTALL rgdal_0.7-8.tar.gz
works just fine as you would expect from a CRAN package given all the build-time checks at CRAN.
Update late 2016: As @JoshO'Brien points out in the comment
Minor update: Here in 2016, running Ubuntu 14.04.2,
libgdal1h
seems to
have replacedlibgdal1
(thoughlibgdal1-dev
is still needed). At least
I get an error to that effect when I attempted toapt-get install libgdal1
For Ubuntu 16.04 the corresponding line would besudo apt-get install libgdal1i
Such renaming of upstream libraries is common; something such as apt-cache search libgdal
can help locate the current package names. The important key though is that the "abstract" development package libgdal-dev
is all that is needed to build as it pulls the "concrete" current run-time package (here: libgdal1i
) in via a dependency.
How to I get Python 2.x and 3.x to co-exist?
I'm not sure I understand your question, but I'll take a shot. I'm also assuming you're on Windows.
It's simple -- just install both. They will install to different directories, create different start menu folders, etc. I'd also reccomend PyWin32 for the PythonWin editor installed in both 2.7 and 3.2,
- http://sourceforge.net/projects/pywin32/files/pywin32/Build216/pywin32-216.1.win32-py3.2.exe/download &
- http://sourceforge.net/projects/pywin32/files/pywin32/Build216/pywin32-216.win32-py2.7.exe/download
If you mean how do you write one script that works with either Python 2 or Python 3, look at http://docs.python.org/library/2to3.html
Related Topics
How to Add a Ppa Repository Using Ansible
/Usr/Bin/Ld: Cannot Find -Lglut
Vfs: File-Max Limit 1231582 Reached
Using Awk to Get a Specific String in Line
Dreamweaver Equivalent for Linux
Make Install Error 'Nothing to Be Done'
In Shellscript Assign Variable Based on Curl Output
Youcompleteme Can't Find Local Header Files
Bash Script for Executing Commands on Multiple Server
How Does Apparmor Do "Environment Scrubbing"
Chef-Server Stuck Ruby_Block[Supervise_Rabbitmq_Sleep] Action Run on Docker Container
Extract/See Content of a Specific File Inside a .War File
How to Pass Local Shell Script Variable to Expect
Bluetooth Over Uart Using Hciattach
Reading Microphone Data by Polling Using Alsa [Or V4L2]
Redirecting Output of a C Program to Another C Program with a Bash Script Under Linux