# Remote install extensions?

**URL:** <https://discourse.slicer.org/t/remote-install-extensions/5983>\
**Category:** Support\
**Created:** [March 1, 2019, 1:10pm UTC](https://discourse.slicer.org/t/remote-install-extensions/5983 "2019-03-01T13:10:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagy.attila](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nagy.attila/32/79295_2.png) [@nagy.attila](https://discourse.slicer.org/u/nagy.attila)\
**Post date:** [March 1, 2019, 1:10pm UTC](https://discourse.slicer.org/t/remote-install-extensions/5983/1 "2019-03-01T13:10:13Z")

</div>

Hi all,

we maintain several classrooms with Slicer installs. It is okay, I can do it remotely from a command line, in “silent mode”, I’ve been doing it for years 🙂

But… is there a way to install extensions remotely? By “remotely” I mean either silent installers or any scripted method that’s output can be supressed.

It would be great if I could both install (/upgrade in this case) Slicer itself and also add extensions somehow from a command line.  
At the moment there are no extensions installed on the machines just bare Slicer (and some example datasets)  
We use wpkg ([wpkg.org](http://wpkg.org))

Many thanks,  
Attila

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 1, 2019, 1:36pm UTC](https://discourse.slicer.org/t/remote-install-extensions/5983/2 "2019-03-01T13:36:56Z")

</div>

Hi Attila -

Probably the easiest is to follow the steps here:

[https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/ExtensionsManager#How\_to\_create\_a\_custom\_Slicer\_version\_with\_selected\_extensions\_pre-installed.3F](https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/ExtensionsManager#How_to_create_a_custom_Slicer_version_with_selected_extensions_pre-installed.3F)

You can make a slicer folder yourself that has all the extensions you want, and then just copy that to all the computers.

HTH,  
Steve

---

<div class="post-metadata">

**Author:** ![nagy.attila](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nagy.attila/32/79295_2.png) [@nagy.attila](https://discourse.slicer.org/u/nagy.attila)\
**Post date:** [March 1, 2019, 10:57pm UTC](https://discourse.slicer.org/t/remote-install-extensions/5983/3 "2019-03-01T22:57:21Z")

</div>

Hi Steve,

thanks for the pointer!  
So if I understand correctly, this will act as a “portable” install.

But now we have a system-wide (“normal”) install. So would it work if I would upgrade the current Slicer version with the installer, and then overwrite the installed one with the same but with the extensions?

This may seem a bit complicated but this way I don’t have to remove that system-wide install and then re-add as a portable one.  
Because there are several users and also the directory structure is strictly regulated.  
So if I would have to add as a portable I would need to download it at least 4 times per machine: 3 users + a teacher account.

Okay, I will look into this once I get to the classroom computers 🙂  
Attila

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 1, 2019, 11:18pm UTC](https://discourse.slicer.org/t/remote-install-extensions/5983/4 "2019-03-01T23:18:59Z")

</div>

Yep, that should work - just overwrite the system installed Slicer with the new one that includes the desired extensions in the appropriate directory and you should be all set. Good luck and have a great weekend!
