I'm trying to install SQL Server 2017 on Ubuntu 18.10 and encountering an error that libjemalloc1 isnt available. I've seen another answer that says that libjemalloc1 should be in universe for 18.04, but it doesnt look like it's available for 18.10 in ubuntu universe. Is there a solution for this? Has anyone done anything to get it working?
I'm assuming you've followed the installation steps given on Microsoft's SQL server installation page right upto the point where you faced the error.
Here is a workaround:
sudo dpkg -i libjemalloc1_3.6.0-11_amd64.deb
sudo apt-get install mssql-server
Hope this works for you.
I have found that MSSQL is also compatible with libjemalloc2. If you prefer to not install older packages, you can instead rebuild Microsoft's package with updated dependencies as outlined here: How do I install MS SQL for ubuntu 18.04 LTS?
Note that you will need to also run
in step 4 to update the libjemalloc dependency so that it will work in Ubuntu 18.10.