[chimerax-users] Question about chimeraX installization.

Greg Couch gregc at cgl.ucsf.edu
Sat Dec 11 11:24:03 PST 2021


Starting with ChimeraX 1.2.5, the ChimeraX rpms are relocatable rpms.  
So, using the CentOS 8 rpm as an example, to install it to another 
location, you would use:

     sudo rpm -i --prefix /other/location ucsf-chimerax-1.3-1.el8.x86_64.rpm

but that only works if all of the dependencies are already installed on 
your system.  You can see all of the dependencies with:

     rpm -qpR ucsf-chimerax-1.3-1.el8.x86_64.rpm

Those dependencies should be installed with sudo dnf/yum.

An alternative to using rpm to install ChimeraX (the dependencies still 
need to be installed with dnf/yum), is to extract the files using 
rpm2cpio (in a temporary directory):

     rpm2cpio ucsf-chimerax-1.3-1.el8.x86_64.rpm | cpio -id

and mv usr/libexec/UCSF-ChimeraX anywhere you want.  And then create a 
symbolic link to UCSF-ChimeraX/bin/ChimeraX (which is typically 
"chimerax").  ChimeraX won't be integrated in to the desktop menus, but 
it will work just fine.  Do not put UCSF-ChimeraX on your path.

         -- Greg

On 12/11/2021 2:11 AM, 박시훈 via ChimeraX-users wrote:
> Dear chimeraX users,
> I want to change the installation folder of chimeaX in linux (centos7.0).
> The default folder is user/bin however, I want to install chemeraX in 
> the other folder because of my computer environments (the Master and 
> Slave nodes do not share the usr/bin folder).
> Can I know how to change the installation folder?
>
> Best regards
> Si Hoon Park
>
>
>
>
>
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users


More information about the ChimeraX-users mailing list