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 flameshotThe 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:
sudo apt install flatpak flatpak remote-add --if-not-exists flathub flatpak install flathub org.flameshot.Flameshotsudo snap install flameshot
Appimage and .deb installers of the latest version are available at GitHub releases.
4Apparently, you can compile the newer version of the package from source or install using Flatpak using the other answer
For compiling:
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, opensslYou also need the following packages to compile:
g++ cmake build-essential qt5-default qttools5-dev-tools libqt5svg5-dev qttools5-devSo, 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-certificatesGet Source Code
Get the source code of the package by cloning the GitHub repository:
cd ~/Downloads git cloneChange the working directory to
flameshot:cd ~/Downloads/flameshotBuilding
Run the following commands to create a building environment:
mkdir build cd build cmake ../Now run the
makecommand withsudoprivileges and get ready for the installation:sudo makeInstall
N.B: It is really HARD to uninstall this installation. Only proceed if you want to install
flameshotand are not planning to remove it in futureFinally, run:
sudo make install
Now you can see that the latest version is installed!