|
|
# Dependencies
|
|
|
|
|
|
## Carton
|
|
|
|
|
|
Carton is a Perl dependencies manager, it will get what you need, so don't bother for Perl modules dependencies (but you can read the file `cpanfile` if you want).
|
|
|
|
|
|
```shell
|
|
|
sudo cpan Carton
|
|
|
```
|
|
|
|
|
|
or (not recommended since, in Debian, the packaged version is quite old)
|
|
|
|
|
|
```shell
|
|
|
sudo apt-get install carton
|
|
|
```
|
|
|
|
|
|
Some modules that Carton will install need to be compiled. So you will need some tools:
|
|
|
|
|
|
```shell
|
|
|
sudo apt-get install build-essential libssl-dev
|
|
|
```
|
|
|
|
|
|
## Thumbnails and animated gifs in Twitter dependancy
|
|
|
|
|
|
If you want to provide thumbnails of uploaded images or have animated gifs in Twitter, you have to install the *ImageMagick* image manipulation software (<http://www.imagemagick.org/>) and the Image::Magick CPAN module.
|
|
|
|
|
|
Image::Magick is required to automatically correct images' orientation too.
|
|
|
|
|
|
Image::Magick is a pain in the ass to compile, so I recommend to install it from packages
|
|
|
|
|
|
On Debian, you can do:
|
|
|
```shell
|
|
|
sudo apt-get install perlmagick
|
|
|
```
|
|
|
|
|
|
You can now go to the [installation page](installation) or go back to [wiki's homepage](home). |