Why Am I Getting 'apt: command not found' When Trying to Install Software on Steam Deck?

-

I’ve been trying to install various software on my Steam Deck, including .tar.gz and .rpm packages, and tools like AppImageLauncher and Azahar. Whenever I run sudo commands, the terminal asks for my password, but after entering it, I get the error: ‘sudo: apt: command not found.’ I’m pretty new to this and feeling stuck. Can someone explain why this happens and how I can properly install software on Steam Deck using the command line?

3 Answers

SteamRangerX -

The easiest first step is to specify what exactly you want to install. Steam Deck’s command line tools use pacman, but if you’re not familiar with Linux package management, it can be a lot at once. Try to use Steam’s own store and library as much as possible for games and apps, and only dive into CLI installations when you need something very specific. If you’re following guides that mention apt, those are for different Linux distros, so they won’t work here.

ArchWarrior99 -

The main issue here is that Steam Deck runs SteamOS, which is based on Arch Linux, not Debian or Ubuntu. So, apt and apt-get won’t work because those package managers are for Debian-based systems. Instead, SteamOS uses pacman as its package manager. You’ll want to learn pacman commands to install software via the terminal on your Steam Deck.

PixelPhantom47 -

Thanks, that makes sense now! Could you give me an example of how to install something with pacman?

CommandLineNinja -

If you’re trying to install .tar.gz or .rpm files, those might not always install cleanly via the terminal commands. For Arch Linux-based systems, .rpm packages aren’t typically supported directly. You usually want to find the equivalent package in the Arch repositories or use an AUR helper (like yay) if it’s not in the official repos. For .tar.gz files, sometimes you need to extract them and run install scripts manually. Alternatively, for GUI apps like AppImageLauncher, you can often just run the AppImage directly without installation.

PixelPhantom47 -

Got it, I was trying to run apt on everything which was confusing me. I’ll look into pacman and see if I can find some tutorials for handling .tar.gz and AppImages.

Leave A Reply

PLATFORM INFORMATION

RELATED QUESTIONS

Can I Update BIOS and Install Windows 11 on the Same USB Stick?
Can I update BIOS and install Windows 11 on the same USB stick for my PC build? View Answer
Why Did My Games Disappear After Updating My Steam Deck?
[Windosill: Steam Deck Edition] - Why did all my Steam Deck games disappear after the second update? Discover potential reasons and solutions. View Answer
How can I back up and transfer my non-Steam game files on the Steam Deck?
Is there a way to backup and transfer non-Steam game files on my Steam Deck? View Answer
How Much Gameplay Can I Expect From These Destiny 2 Expansions?
[Destiny 2] - Looking for gameplay direction after receiving Destiny 2 expansions as a gift? Here's how to get started! View Answer
My Xbox Series X Won't Turn On – Should I Worry About the Repair Costs?
X Box Series X won't turn on; is it a motherboard or power pack issue? Are repair costs reasonable? View Answer
How Can I Fix EA App Update Issues on My Steam Deck?
[The Sims 4] - How can I resolve EA app update issues on my Steam Deck without uninstalling everything each time? View Answer
Help! I Need Guidance on Destiny 2 Expansions!
[Destiny 2] - Looking for guidance on which Destiny 2 expansions provide the most gameplay for a returning player. View Answer
Should We Add an Indicator for Who Pressed the Scan and Glyph Buttons?
[Dota 2] - How can an indicator for who pressed the 'Scan' and 'Glyph' buttons improve team coordination and reduce confusion? View Answer
Steam Won't Launch with Dedicated GPU on Debian 12
How to resolve Steam login issues on Debian 12 with dedicated AMD GPU after installation on ASUS ROG Zephyrus G14. View Answer
Why do my game settings keep resetting?
[Fallout 76] - How can I fix my game settings reset issue every time I log in? View Answer
Kicked for Anti-cheat Violation—Should I Be Worried?
[Sea of Thieves] - Am I in trouble for an anti-cheat violation in Sea of Thieves? Here's what I found out. View Answer