34
submitted 3 days ago* (last edited 3 days ago) by supersquirrel@sopuli.xyz to c/steamdeck@sopuli.xyz

I am having a bit of a brain freeze here but I would like to install pandoc but I don't want to disable the default steam deck settings to do so even though using pacman on the command line would be way simpler I don't want to fiddle if I don't have to fiddle.

https://pandoc.org/

Can I not just download a binary and point Linux towards it? I know this is a silly question but frustratingly I am more familiar with how you are supposed to do this on windows with the $home variable nonsense.

top 18 comments
sorted by: hot top new old
[-] thingsiplay@lemmy.ml 10 points 3 days ago

SteamOS on Steam Deck supports Nix packaging system, besides pacman. pandoc is in the Nix repositories: https://search.nixos.org/packages?channel=25.11&query=pandoc The Nix packaging does not require you to disable read only, as Valve did an exception for this. It should also persist between updates, if I understand this right.

Having said this, i did not ever use the Nix packaging system on Steam Deck (yet). So I cannot assist with advice and have no idea how easy is it to pull off. Here is a random article to set it up once: https://chrastecky.dev/gaming/persistent-packages-on-steam-deck-using-nix The good thing is, once Nix is setup, one can use it for other stuff too.

[-] SteleTrovilo@beehaw.org 2 points 3 days ago

This. Nix on SteamOS works great and gets you access to a lot of packages, easily. Set up Nix, then Pandoc is just right there.

[-] pivot_root@lemmy.world 2 points 3 days ago

It works about the same as any other non-NixOS system running a user install of Nix.

nix-env -i neovim

You could also choose to enable and use more advanced features like flakes, but I would suggest not doing that unless you want to dive into the Nix ecosystem.

[-] thingsiplay@lemmy.ml 2 points 3 days ago

Is the nix-env packing system preinstalled on Steam Deck?

[-] khannie@lemmy.world 6 points 3 days ago* (last edited 3 days ago)

Not at my deck right now as it's late here but they do provide a statically linked binary on their download page which should be all you need.

The one you want is:

https://github.com/jgm/pandoc/releases/download/3.9.0.2/pandoc-3.9.0.2-linux-amd64.tar.gz

Download that and extract it somewhere / anywhere and you should be able to run it directly.

You may need to add "execute" permissions to it after extraction but probably not.

Edit: if you've any troubles give me a poke and I'll get you exact instructions in the morning here.

[-] supersquirrel@sopuli.xyz 2 points 3 days ago

Thank you for pointing out the specific file, that was helpful confirmation but I do not seem to be able to run it either by running it in the command line or by changing its properties to be able to be executed as a program.

[-] Fubarberry@sopuli.xyz 4 points 3 days ago

The binary is a command line only program, usual format for running it is ./pandoc inputfile -o outputfile"

If you want it runable anywhere from command line, you can put the downloaded binary in ~/.local/bin

I don't know what exactly you want to use pandoc for, but you might also consider Morphosis. It's in the discovery store and I think it's a graphical front end for pandoc.

[-] khannie@lemmy.world 3 points 3 days ago* (last edited 3 days ago)

OK so I remembered. Downloaded and extracted it. Not a tool I'm familiar with but it worked fine first time. It's command line so I opened up a command prompt and got this output (snipped a bit as the output was long):

(deck@steamdeck ~)$ cd Downloads/pandoc-3.9.0.2/bin/
(deck@steamdeck bin)$ ./pandoc --help
pandoc [OPTIONS] [FILES]
  -f FORMAT, -r FORMAT  --from=FORMAT, --read=FORMAT                                          
  -t FORMAT, -w FORMAT  --to=FORMAT, --write=FORMAT                                           
  -o FILE               --output=FILE     
  etc......

Does that help?

I see you're coming from windows so how comfortable are you with the command line? I see someone else mentioned that there is a frontend available which might be more useful to you if the answer is "not very".

FYI tab is your friend on the command line as it will autofill stuff for you. So I didn't actually type "cd Downloads/pandoc-3.9.0.2/bin/" I just typed cd Down (tab) p (tab) and it filled it to "cd Downloads/pandoc-3.9.0.2/"

edit: The ./ is essential once you're in the directory when you're running stuff this way. It essentially means "in this directory, run ...". Otherwise the shell will just look in your $PATH directories list and not find "pandoc" anywhere in it. You can add "." to your $PATH to avoid this but it's not there by default on the deck.

Mine is:

(deck@steamdeck bin)$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

Last thing - I know you weren't confident picking the right package to download. For binaries you're always looking for stuff with "linux-amd64" or similar in the name for the deck.

There's also a cool little community that you might like called "Linux Upskill Challenge" which you can find at:

!linuxupskillchallenge@programming.dev

It brings you through basics on a day by day basis and on to slightly more advanced stuff as you go.

[-] Fubarberry@sopuli.xyz 3 points 3 days ago

This comment was accidentally posted as a reply to me instead of OP, I'm tagging @supersquirrel@sopuli.xyz so he won't miss it.

[-] khannie@lemmy.world 3 points 3 days ago

Oh shit. Thanks!

[-] supersquirrel@sopuli.xyz 2 points 3 days ago* (last edited 3 days ago)

edit: The ./ is essential once you’re in the directory when you’re running stuff this way. It essentially means “in this directory, run …”. Otherwise the shell will just look in your $PATH directories list and not find “pandoc” anywhere in it. You can add “.” to your $PATH to avoid this but it’s not there by default on the deck.

This was the issue, I am fairly comfortable with the command line there are just lots of little things that were never explained to me because I have learned it all myself.

I appreciate the recommendation for a front end engine! I want pandoc for exporting org files to document/website formats from org mode in emacs so I don't need a front end but I will definitely check it out!

I actually think I still need to add pandoc to the $PATH directory so emacs can run it though.

[-] khannie@lemmy.world 3 points 3 days ago

Righto. I'll download it in the morning and get back to you with specifics.

If you haven't heard from me in 12 hours I've forgotten so give me a nudge please. Eyes closing here as it's very late. :)

You can use micromamba or brew as local and then install pandoc and run from the terminal. It will rest in your home so I don't think it will get erased.

[-] lung@lemmy.world 4 points 3 days ago

Just use pacman, it's fine, and less fiddly than manually installing a binary to your PATH

[-] supersquirrel@sopuli.xyz 1 points 3 days ago

Will disabling the read only system access mess up updates on my Steam Deck?

[-] Celediel@slrpnk.net 4 points 3 days ago* (last edited 3 days ago)

No, but anything you change will be undone by the next update. Better to use something like distrobox, that's stored in the home directory.

You could theoretically download a binary, but you run into the chance of it being compiled against different versions of libraries than on the Steam Deck's system. A statically linked binary would fix that particular issue, though.

[-] rotopenguin@infosec.pub 1 points 3 days ago

I just accept that the occasional OS update will uninstall my few pacman programs. When that happens, I run a simple script to reinstall them.

[-] RushLana@lemmy.blahaj.zone 2 points 3 days ago

I don't have a steam deck to test this but something like distroshelf can help.

https://github.com/ranfdev/DistroShelf

It allow you to use a distro inside a podman container.

this post was submitted on 28 Apr 2026
34 points (100.0% liked)

Steam Hardware

21936 readers
113 users here now

A place to discuss and support all Steam Hardware, including Steam Deck, Steam Machine, Steam Frame, and SteamOS in general.

As Lemmy doesn't have flairs yet, you can use these prefixes to indicate what type of post you have made, eg:
[Flair] My post title

The following is a list of suggested flairs:
[Deck] - Steam Deck related.
[Machine] - Steam Machine related.
[Frame] - Steam Frame related.
[Discussion] - General discussion.
[Help] - A request for help or support.
[News] - News about the deck.
[PSA] - Sharing important information.
[Game] - News / info about a game on the deck.
[Update] - An update to a previous post.
[Meta] - Discussion about this community.

If your post is only relevant to one hardware device (Deck/Machine/Frame/etc) please specify which one as part of the title or by using a device flair.

These are not enforced, but they are encouraged.

Rules:

Link to our Matrix Space

founded 4 years ago
MODERATORS