This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Install RepeatMasker "Enter path" problems

Hello, When I install RepeatMasker, in the last "Enter path" step, it shows problems as:

Enter path [ /usr/local/RepeatMasker ]: 
RepBase RepeatMasker Edition database changed ( RELEASE = 20181026 ).
Rebuilding RepeatMaskerLib.embl library
  - Read in 312 sequences from /usr/local/RepeatMasker/Libraries/DfamConsensus.embl
  - Read in 49011 sequences from /usr/local/RepeatMasker/Libraries/RMRBSeqs.embl
  - Read in 49011 annotations from /usr/local/RepeatMasker/Libraries/RMRBMeta.embl
  Saving RepeatMaskerLib.embl library...**() Unable to open file /usr/local/RepeatMasker/Libraries/RepeatMaskerLib.embl for writing: Permission denied**

Can anyone can help? Thanks so much.

software error

1 answer

run as sudo

https://xkcd.com/149/

Thanks, it worked! I run "sudo perl ./configure"

Never user sudo to install a program without the package manager of your distribution. Doing this you deploy files across your system that are unknown to the package manager. It is very likely, that you will run into problems sooner or later, if you try to install a package and the package manager detect that there are already files with the same name and location.

The cleaner way is to use conda. Here the first part of the tutorial I wrote some time ago might be useful for you.

Thanks so much for your suggestions. I will check that to see.

Log in to answer this question.