How to install flameshot version 9 or above on 20.04 LTS?

I'm using Ubuntu 20.04.03 LTS focal fossa.

Recently, I heard of a screen capturing tool known as Flameshot. I installed it on my system using:

sudo apt update
sudo apt install flameshot

The installation went well and I was able to use flameshot. However, in the GIF on the official GitHub page they have shown many features, such as numbers, margins etc...

But I am unable to use the "numbering feature" and a few more features. It seems like the version available in the focal repositories is pretty old and does not seem to have these features.

Is there any way I can get these features in Ubuntu 20.04 focal?

2 Answers

In 2022 we can avoid compilation by using Flatpak or Snap versions of Flameshot:

  • Flatpak

    sudo apt install flatpak
    flatpak remote-add --if-not-exists flathub
    flatpak install flathub org.flameshot.Flameshot
  • Snap

    sudo snap install flameshot

Appimage and .deb installers of the latest version are available at GitHub releases.

4

Apparently, you can compile the newer version of the package from source or install using Flatpak using the other answer

For compiling:

  1. Satisfy Dependencies

    You need the following dependencies:

    Depends: libqt5svg5, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.10.0) | libqt5gui5-gles (>= 5.10.0), libqt5network5 (>= 5.0.2), libqt5widgets5 (>= 5.11.0~rc1), libstdc++6 (>= 5.2)

    Also, install the suggested packages:

    Suggests: git, ca-certificates, openssl

    You also need the following packages to compile:

    g++ cmake build-essential qt5-default qttools5-dev-tools libqt5svg5-dev qttools5-dev

    So, simply run the following commands in a terminal:

    sudo apt update
    sudo apt install g++ cmake build-essential qt5-default qttools5-dev-tools libqt5svg5-dev qttools5-dev
    sudo apt install libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 libqt5svg5
    sudo apt install git openssl ca-certificates
  2. Get Source Code

    Get the source code of the package by cloning the GitHub repository:

    cd ~/Downloads
    git clone 

    Change the working directory to flameshot:

    cd ~/Downloads/flameshot
  3. Building

    Run the following commands to create a building environment:

    mkdir build
    cd build
    cmake ../

    Now run the make command with sudo privileges and get ready for the installation:

    sudo make
  4. Install

    N.B: It is really HARD to uninstall this installation. Only proceed if you want to install flameshot and are not planning to remove it in future

    Finally, run:

    sudo make install

Now you can see that the latest version is installed!

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like