Before you read.
- Just some things to know about this post. I will be including extra info that is not necessarily mandatory. The reason is to demonstrate some of my thought process and to possibly teach some tips and tricks along the way to newer users. If you like it or not let me know.
- This post is best for intermediate + Linux users, but should have enough info to walk most people along.
- The title says how to install on Linux, but I really mean any Debian type OS, like Ubuntu, Linux Mint, Debian…
- I will usually naively assume that you keep your computer up-to-date. Therefore, I won’t preface the install steps with
sudo apt update
orsudo apt upgrade
. ie run those if you haven’t updated today.
-If you’re not into the story the read the TL;DR.
What’s the big deal?
So you may be wondering why you would want to waste time on installing the latest versions from source instead of just installing the one from the repository. Well, let’s look at this:
- At the time of writing this when I look up the latest version of FLDigi in the Ubuntu repo it is 4.0.1-1, which came out 03-28-2017.
- As found by typing
sudo apt update; sudo apt-cache show fldigi | grep Version
.
- As found by typing
- The current version is 4.0.17, which came out 06-12-2018.
- If you were to download the latest version for Windows or Mac right now you would actually get the latest vesrion.
Still Why does this matter?
Let’s look at the points. (Yes, I love bullet points.)
- If you are teaching a class or giving a demo to someone this will help you make sure that you have the same UX (user experience - display and overall layout) as the other users.
- Bug fixes. We all hate bugs so why settle.
- Feature updates. The more features the better.
- There are more reasons and if you care to list them add them to the comments.
So Let’s get started.
Installing Development Dependencies.
- Let’s make sure we have the latest development tools so that way we can actually compile the source.
sudo apt install build-essential git
Installing FLDigi Dependencies.
So we could look up in the docs and find all of the many many dependencies, and then track down all of dependencies dependencies. So instead of going down the rabbit hole, lets do the next points.
- So first I tried running
sudo apt build-deps fldigi
(which will look for and install all of the packages source dependencies and install it), but then I got backE: You must put some 'source' URIs in your sources.list
.
That’s not helpful… - So then I saw that their website suggests installing a third party repo to install fldigi from.
sudo add-apt-repository ppa:kamalmostafa/fldigi
sudo apt-get update
- And now
sudo apt build-dep fldigi
again.
There we go now it has a huge list of things to install. So we say yes and the go and get a cup of coffee while we wait.
Finally on to installing FLDigi…
- Now that all of the deps are installed, we need to go and get the latest source. We need the one that has the highest version number and ends in .tar.gz.
- So it is now downloaded and we need to unzip it. We are going to do this from the terminal, because we can.
cd ~/Downloads
-
tar -xzvf fldigi-4.0.17.tar.gz
(change to match whatever version you have)
- Ok, so now we have downloaded and extracted it but we are going to pause here and make sure that we have the latest version of hamlib. Why? Because we want to have the latest radios available to us.
Installing HamLib
Look at my other guide Installing HamLib on Linux.
Back to installing FLDigi
Run the following:
cd ~/Downloads/fldigi-4.0.17/
./configure
make
sudo make install
Updating
So now next time a new release comes out you can rinse and repeat the steps with the latest version, excluding the need to install the deps.
The End
Assuming nothing says failed on any of those steps, you should now be good to go.
Open up your Menu, App Viewer, or whatever you want to call it and you should see FLDigi. If you don’t you may need to restart your computer or log off and back in.
TL;DR
- Open up the terminal.
sudo add-apt-repository ppa:kamalmostafa/fldigi
sudo apt-get update
sudo apt build-dep fldigi
- In the browser. Go and get the latest source.
- In the terminal.
cd ~/Downloads
-
tar -xzvf fldigi-4.0.17.tar.gz
Change to match your version. - Look at my other guide Installing HamLib on Linux.
- Once HamLib is installed
cd ~/Downloads/fldigi-4.0.17
Change to match your version. ./configure
make
sudo make install
- Open fldigi form menu.