Install Pencil on Debian

Pencil is built for the purpose of providing a free and open-source GUI prototyping tool that people can easily install and use to create mockups in popular desktop platforms.

Pencil provides various built-in shapes collection for drawing different types of user interface ranging from desktop to mobile platforms.

Starting from 2.0.2, Pencil is shipped with Android and iOS UI stencils pre-installed.

This makes it even easier to start protyping apps with a simple installation.

Popular drawing features are also implemented in Pencil to simplify the drawing operations.

Lets see how can we install Pencil on Debian.


There are two methods for Debian users and that depends of either you use Firefox or Iceweasel.

These two browsers are both Firefox and Iceweasel just have a different name.

If you try to run the installer, you’ll get dependencies error because Pencil depends on Firefox. To avoid that, we’ll change some things in .deb package.

1. Download Pencil

wget https://evoluspencil.googlecode.com/files/evoluspencil_2.0.5_all.deb

This will download Pencil .deb package to the current directory.

2a. Firefox users

Run this to start installation:

sudo dpkg -i evoluspencil_2.0.5_all.deb

Note: You shouldn’t have any problems completing the installation

Note: Skip the following step

2.b Iceweasel users

First, we need to uncompress the .deb package:

dpkg-deb -x evoluspencil_2.0.5_all.deb pencil
dpkg-deb --control evoluspencil_2.0.5_all.deb pencil/DEBIAN

Second, edit control file to change dependencies:

nano pencil/DEBIAN/control

You’ll see this:

Package: evoluspencil
Version: 2.0.5
Architecture: all
Maintainer: Nguyen Hong Thai <thai.nguyen@evolus.vn>
Installed-Size: 8952
Depends: firefox
Section: unknown
Priority: extra
Homepage: http://pencil-project.org/
Description: Evolus Pencil
Pencil is an open source GUI prototyping and sketching tools released under GPL.

We want to replace firefox with iceweasel in line that says:

Depends: firefox

Save and exit file.

Third, now we need to repack the .deb package.

You can do that by running:

dpkg -b pencil evoluspencil_2.0.5_all.deb

Note: This will build .deb package from our temporary folder we called pencil

Fourth, proceed to the package installation.

To install Pencil, type:

sudo dpkg -i evoluspencil_2.0.5_all.deb

You will not get any dependencies errors this time because we’ve changed it.

Pencil will be located under

Applications > Programming > Pencil

2 thoughts on “Install Pencil on Debian

  • March 25, 2016 at 20:54
    Permalink

    Muito bom! Funcionou aqui no Debian Jessie!

    Sent from Google Chrome 49.0.2623.87 Google Chrome 49.0.2623.87 on GNU/Linux x64 GNU/Linux x64
    Reply
  • March 2, 2016 at 23:15
    Permalink

    if you have an error with firefox dependency just follow steps in “2.b Iceweasel users” and delete the line 6 and thats all

    Sent from Firefox 46.0 Firefox 46.0 on GNU/Linux x64 GNU/Linux x64
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *