DEV Community

Axel Mukwena
Axel Mukwena

Posted on • Edited on

How to install precompiled binaries on Fedora, example CloudQuery

As a newbie, I was trying to install CloudQuery on my work Fedora 35 distribution. However, the CloudQuery package is not available through dnf or yum and only available as binary files.

To begin, go to root

$ cd
Enter fullscreen mode Exit fullscreen mode

The following is command installs Precompiled Binaries for a x86_64 or arm64 based machine.

$ curl -L https://github.com/cloudquery/cloudquery/releases/latest/download/cloudquery_linux_x86_64 -o cloudquery
$ chmod a+x cloudquery
Enter fullscreen mode Exit fullscreen mode

This will create an executable in your root folder. Running ls in terminal

$ ls
cloudquery
Desktop
Documents
Downloads
Music
Pictures
Enter fullscreen mode Exit fullscreen mode

Now, cloudquery is available for execution using

$ ./cloudquery init aws
Enter fullscreen mode Exit fullscreen mode

To make cloudquery globally accessible, find your bash profile. Mine is .bash_profile at root folder and open it. Add the following

alias cloudquery="~/cloudquery"
Enter fullscreen mode Exit fullscreen mode

The command above assigns such that at every execution, the argument cloudquery is pointing to ~/cloudquery.

~ points to root directory

If after the change the alias is still not working, run the following so that the changes take effect immediately.

$ source ~/.bashrc
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
aubrey_ryan_9ee9b91a5fd55 profile image
Aubrey Ryan • Edited

To install precompiled binaries like CloudQuery on Fedora, download the binary, make it executable with chmod +x, and move it to /usr/local/bin. For apps like PowerDirector APK for video editing, use an Android emulator, as Fedora doesn't directly support APK installations.