3

Fatrat is not available in the official repository of Ubuntu. How to install it? What dependencies are required?

Official Website - http://fatrat.dolezel.info/

Official Github - https://github.com/LubosD/fatrat

Lincity
  • 25,749

6 Answers6

10

You can compile and install fatrat from source as shown in following steps.

First You need to install following libraries as shown in exact following sequence.

Note: Here sequence matters.

sudo apt install build-essential cmake qtbase5-dev qttools5-dev pkg-config libtorrent-rasterbar9 libtorrent-rasterbar-dbg libboost1.62-dev libboost-date-time1.62.0 libboost-date-time1.62-dev libboost-date-time1.62-dev libtorrent-dev libboost-serialization1.62-dev libboost1.62-dev

sudo apt install libqt5svg5-dev 
sudo apt install libtorrent-rasterbar-dev libtorrent-rasterbar-dbg libboost-system-dev  libboost-system1.65-dev  libboost1.65-dev
sudo apt install libboost-date-time1.65-dev 

Once required libraries are installed. You can compile source from fatrat git repository and install.

git clone https://github.com/LubosD/fatrat && cd fatrat/
sudo cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON -DCMAKE_INSTALL_PREFIX=/usr
sudo make && sudo make install

To Enable downloading with HTTP links in Fatrat, You need to install following dependencies along above dependencies and use extra switch WITH_CURL.

sudo apt install qtwebengine5-dev
sudo apt install libcurl4-openssl-dev

Compile Source code with extra switch WITH_CURL.

sudo cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON -DWITH_CURL=ON -DCMAKE_INSTALL_PREFIX=/usr
sudo make && sudo make install

All steps have been tested on Ubuntu 18.04.

KK Patel
  • 19,753
5

Ubuntu 18.04 LTS (Bionic Beaver)

I tried to make search in all PPAs for fatrat:

https://launchpad.net/ubuntu/+ppas?name_filter=fatrat

And got the following PPA: ppa:alex-p/notesalexp-bionic.

You can add it to system and install fatrat version 1.2.0+git20180628-1ppa1~bionic1:

sudo add-apt-repository ppa:alex-p/notesalexp-bionic
sudo apt-get install fatrat

It will be installed in Internet category, it great and has tray icon (tested on MATE):

FatRat on Ubuntu MATE 18.04 LTS

N0rbert
  • 103,263
1

The Good News:

I, successfully, built the FatRat Download Manager from source on Ubuntu 22.04 with curl support which should enable HTTP(S), FTP(S) and SFTP downloads. However I found two source files with deprecated / outdated code and had to empty their contents in order for the build to succeed. These two files are src/util/BalloonTip.cpp and src/util/moc_BalloonTip.cpp and I didn't notice any missing functionality after the build. The application worked fully (with the system tray applet) on both Wayland and X11.

The Not Good News:

However, the bittorrent download support was far too complicated to bring back to life so I gave up on it, but I included all its needed up to date dependencies to the "install dependencies" step below anyway.


The Build Steps:

  • Install dependencies like so:

    sudo apt install build-essential cmake qtbase5-dev qttools5-dev pkg-config libtorrent-rasterbar2.0 libboost-dev libboost-date-time1.74.0 libboost-date-time-dev libtorrent-dev libboost-serialization-dev libqt5svg5-dev libtorrent-rasterbar-dev libboost-system-dev qtwebengine5-dev libcurl4-openssl-dev qt6-base-dev gcc-12 git
    
  • Then clone the FatRat source from GitHub and cd into the directory like so:

    git clone https://github.com/LubosD/fatrat && cd fatrat/
    
  • Then empty two outdated files in the source like so:

    > src/util/BalloonTip.cpp && > src/util/moc_BalloonTip.cpp
    
  • Then prepare with curl support like so:

    sudo cmake . -DWITH_CURL=ON
    
  • Then make and install like so:

    sudo make && sudo make install
    
Raffa
  • 34,963
1

ubuntu 15.10

This is what I gather from the download and installation pages:

sudo apt-get install libgloox-dev libcurl4-openssl-dev libpion-dev libqt5svg5-dev libqt5svg5-private-dev libboost-date-time1.58-dev qttools5-dev-tools qttools5-dev-tools libtorrent-rasterbar-dev cmake git
git clone git://git.dolezel.info/fatrat.git
cd fatrat
cmake . -DWITH_BITTORRENT=ON -DWITH_SFTP=ON -DWITH_CURL=ON
make
sudo make install
fatrat
Jos
  • 30,529
  • 8
  • 89
  • 96
1

ubuntu 15.10

You can install it simply by adding this PPA first:

sudo add-apt-repository ppa:nilarimogard/webupd8

Then install using:

sudo apt-get update && sudo apt-get install fatrat
0

ubuntu 15.10

You can install FatRat Download manager from Ubuntu Software Center,It is available in Ubuntu repository.There is no need to add unnecessary PPA for this.

Mudit Kapil
  • 2,081