Sublime Forum

Asahi Fedora Install

#1

I am running on a Macbook Air M1 with Asahi Fedora 40 remix.

So I tried the dnf package installer but no binaries are yet supported for m1 (as stated in the bottom of the instructions :slight_smile: ).

I checked out the arm64 tarball and the binaries work just fine.

My question is what is the “proper” installation following this method. There are no instructions and this isn’t the source, so it doesn’t compile with configure and make.

In my limited experience with linux (RHEL) some vendor software are installed in /opt directory. Is this the recommended install directory? I don’t want this living in the Downloads folder.

0 Likes

#2

/opt is indeed the recommended directory for installs. When I install that way, I usually put it in the Public directory to be different. However, since I am lazy and am using Ubuntu, I grab a .deb file and let gdebi install it for me. You will eventually get the hang of it.

0 Likes

#3

Ok, I also noticed that there was a yellow circle with a ‘W’ icon in place of the sublime text ‘S’ icon. It turns out that this is the default Wayland icon.

Placing the sublime_text.desktop file into your ~/.local/share/applications folder fixes that issue.

I guess when using the tarball a proper installation should:

  1. Place sublime_text extracted contents to /opt
  2. Place the sublime_text.desktop file under ~/.local/share/applications
  3. Place a link to the executable on a directory within your $PATH for cli
  4. Link the sublime_text.desktop file to ~/Desktop for a desktop icon

It would be nice to add a quick script on the tarball to do a quick ‘proper’ install

0 Likes