# Simple installation of 3D Slicer (Source code ubuntu 20.0)

**URL:** <https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662>\
**Category:** Support\
**Created:** [May 17, 2021, 7:54pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662 "2021-05-17T19:54:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soufiyan-Yachou](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/soufiyan-yachou/32/10967_2.png) [@Soufiyan-Yachou](https://discourse.slicer.org/u/Soufiyan-Yachou)\
**Post date:** [May 17, 2021, 7:54pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/1 "2021-05-17T19:54:55Z")

</div>

Hello i am a new user of 3D Slicer and ubuntu systeme i need easy file how to install 3D slicer with all libraries . Thanks

---

<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:** [May 17, 2021, 7:59pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/2 "2021-05-17T19:59:46Z")

</div>

This should have everything you need. Let us know if you run into anything unexpected.

[https://slicer.readthedocs.io/en/latest/developer\_guide/build\_instructions/linux.html#ubuntu-20-04-focal-fossa](https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/linux.html#ubuntu-20-04-focal-fossa)

---

<div class="post-metadata">

**Author:** ![Soufiyan-Yachou](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/soufiyan-yachou/32/10967_2.png) [@Soufiyan-Yachou](https://discourse.slicer.org/u/Soufiyan-Yachou)\
**Post date:** [May 17, 2021, 8:14pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/3 "2021-05-17T20:14:00Z")

</div>

Hello sir thanks for your answer when i use the first command it’s look like :  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target Translations (non-free/i18n/Translation-en\_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target DEP-11-icons-hidpi (non-free/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target CNF (non-free/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
W: Target CNF (non-free/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/opera-stable.list:4  
E: Unable to locate package qt5multimedia-dev  
E: Unable to locate package lqtbase5-private-dev

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 17, 2021, 8:35pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/4 "2021-05-17T20:35:16Z")

</div>

If you just need to run Slicer (you don’t want to build it from source code) then you can follow [these steps](https://slicer.readthedocs.io/en/latest/user_guide/getting_started.html#linux).

---

<div class="post-metadata">

**Author:** ![Soufiyan-Yachou](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/soufiyan-yachou/32/10967_2.png) [@Soufiyan-Yachou](https://discourse.slicer.org/u/Soufiyan-Yachou)\
**Post date:** [May 17, 2021, 8:39pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/5 "2021-05-17T20:39:24Z")

</div>

hello sir , when i run it from this he closed when i cut anything in 3D

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 17, 2021, 8:43pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/6 "2021-05-17T20:43:28Z")

</div>

The Slicer version that you build from source should behave exactly the same as the pre-built version that you download. If you have questions about what options you have for cutting models (with or without capping) then please post it in a separate topic. Keep this topic on installing/building Slicer on Ubuntu 20.

---

<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:** [May 17, 2021, 9:20pm UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/7 "2021-05-17T21:20:07Z")

</div>

If you still need to build from source, try running `sudo apt update` before the `sudo apt install ...` command. Also, double check that you have 20.04 since ubuntu 21.04 version appears to have changed the dependencies and we don’t have a recipe yet.

---

<div class="post-metadata">

**Author:** ![issakomi](https://avatars.discourse-cdn.com/v4/letter/i/b9e5f3/32.png) [@issakomi](https://discourse.slicer.org/u/issakomi)\
**Post date:** [May 18, 2021, 4:58am UTC](https://discourse.slicer.org/t/simple-installation-of-3d-slicer-source-code-ubuntu-20-0/17662/8 "2021-05-18T04:58:33Z")

</div>

> [@](#):
>
> E: Unable to locate package qt5multimedia-dev  
> E: Unable to locate package lqtbase5-private-dev

typos in docs (for Debian 10):  
qt5multimedia-dev → qtmultimedia5-dev  
lqtbase5-private-dev → qtbase5-private-dev
