# Can't Install Julia Packages on AWS Lightsail Ubuntu

**URL:** https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301
**Category:** Web Stack
**Tags:** web, cloud-computing, server
**Created:** [August 4, 2022, 2:25pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301 "2022-08-04T14:25:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jack\_N](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jack_n/32/37265_2.png) [@Jack\_N](https://discourse.julialang.org/u/Jack_N)
#### Post date: [August 4, 2022, 2:25pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301/1 "2022-08-04T14:25:38Z")

</div>

I am trying to create a Genie.jl website hosted with Amazon, but when I try to install the required packages, the process is killed. The image below demonstrates this when trying to install the CSV package. Any help fixing this would be appreciated!

 ![image](https://global.discourse-cdn.com/julialang/original/3X/a/a/aaeeb981b39889358e0ea39ba4221a7c680b85ae.jpeg)

---

<div class="post-metadata">

### Author: ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)
#### Post date: [August 5, 2022, 12:31pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301/2 "2022-08-05T12:31:19Z")

</div>

When I use Julia in System OS Linux (CAELinux with Xubuntu), it is the best thing to start a new environment.

cd to empty directory for your website project, then open terminal, at terminal type:

```julia
julia --project="."

```

You can try to add the CSV package now, because a lot of people here told me that it is the best to create a new environment instead of using the root Julia for all your projects, some packages have clashes of dependencies.

Hope it will works, if not perhaps other people here can help you.

---

<div class="post-metadata">

### Author: ![Jack\_N](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jack_n/32/37265_2.png) [@Jack\_N](https://discourse.julialang.org/u/Jack_N)
#### Post date: [August 5, 2022, 3:14pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301/3 "2022-08-05T15:14:49Z")

</div>

Thank you for your help.

It seemed like the issue was that the machine it was running on did not have enough RAM. It only had 512 MB. There should be a better error message than just the julia processes shutting down though.

---

<div class="post-metadata">

### Author: ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)
#### Post date: [August 5, 2022, 3:17pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301/4 "2022-08-05T15:17:24Z")

</div>

That’s why the message is only killed. It is programmed to typed killed when running out of memory. Thanks for sharing for your problem. Hopefully your website will be up and running well.
