How Do You Find the amd/i386 Architecture Indication for your Linux OS (to know what type of Debian Package you will need)?

Problem scenario
You are trying to find out what .deb file you need (e.g., from pkgs.org). How do you find out if you need to decide between options like i386, arm, or amd64 on a Debian or Ubuntu server? What should you do?

Solution
Run this command:

sudo dpkg --print-architecture

Leave a comment

Your email address will not be published. Required fields are marked *