Add asdf install guide for debian/ubuntu #559
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#559
Loading…
Reference in a new issue
No description provided.
Delete branch "norm/akkoma:asdf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #557
I've not tested this personally but this does appear to be how it should work based on what I can gather from the various asdf git repos.
cc @a1batross for review
@ -36,1 +46,3 @@
### Optional packages: [`docs/installation/optional/media_graphics_packages.md`](../installation/optional/media_graphics_packages.md)
First, install some dependencies needed to build Elixir and Erlang:
```shell
sudo apt install curl unzip build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
Does it require building stuff?
Erlang does need to be built from source unfortunately.
I might be able to cut down on the amount of dependencies needed to build it though. Pretty sure we don't need Java and the GUI stuff for example.
@ -26,3 +36,3 @@
### Install Elixir and Erlang
* Install Elixir and Erlang (you might need to use backports or [asdf](https://github.com/asdf-vm/asdf) on old systems):
If your distribution packages Elixir 1.14+, you can install it directly from the distro repositories and skip to the next section of the guide:
The Elixir version is already specified earlier in this guide, so I wouldn't specify it again. Otherwise it's yet another place where to change the version when it changes in the future.
Maybe something more generic like "If your distribution packages a recent enough version of Elixir, you can..."
otherwise lgtm
seems coolio, thankies