As Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS
Install as
-
Debian
apt-get install binutils-i586-linux-gnuClick to copy -
Ubuntu
apt-get install binutils-2.26Click to copy -
Alpine OS
apk add binutilsClick to copy -
Arch Linux
pacman -S aarch64-linux-gnu-binutilsClick to copy -
Kali Linux
apt-get install binutils-i686-kfreebsd-gnuClick to copy -
CentOS
yum install binutilsClick to copy -
Fedora
dnf install binutils-arc-linux-gnuClick to copy -
Raspbian
apt-get install binutils-mingw-w64-i686Click to copy -
macOS
brew install binutilsClick to copy
Portable GNU assembler. Primarily intended to assemble output from `gcc` to be used by `ld`.
How to use as?
Below are few example commands for as that you can use in the terminal.
Assemble a file, writing the output to a.out:as file.sClick to copyAssemble the output to a given file:as file.s -o out.oClick to copyGenerate output faster by skipping whitespace and comment preprocessing. (Should only be used for trusted compilers):as -f file.sClick to copyInclude a given path to the list of directories to search for files specified in .include directives:as -I path/to/directory file.sClick to copy
Installing as command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS operating systems. Once you run the command it will install the latest version of as 2026 package in your OS.




