Difference between revisions of "Installing Inkscape"

From Inkscape Wiki
Jump to navigation Jump to search
(Add direct link to master downloads.)
(81 intermediate revisions by 22 users not shown)
Line 1: Line 1:
== Install Help ==
{{Other languages|en=Installing Inkscape}}
or
''Things to do before you install InkScape''


'''Installing libraries'''
This page explains how to install Inkscape, either the stable or the development version. For instructions on how to compile Inkscape from the source code, see [[Compiling Inkscape]].


If you are running a debian based system, and have something like synaptic that lists recent enough versions of the libraries below, use that. If you want the latest libs, which you may need, especially if you are installing a snapshot or building from svn, you will want to download sources.  Generally you will get a ''foo.tar.bz2'' or ''foo.tar.gz'' or ''foo.tgz'' file that you will need to unpack and build.
The latest stable version can always be found on the [https://inkscape.org/release/ Download webpage]. The latest development versions are available from [[https://inkscape.org/release/inkscape-master/]].


''bz2'' files are the smallest.  Uncompress them first by typing ''bunzip2 foo.tar.gz'' then unpack the remaining tar file by typing ''tar -xvf foo.tar''


''foo.tar.gz'' files and ''foo.tgz'' files can be extracted in one operation by typing ''tar -xvzf foo.tar.gz''
== Installing on a Mac ==
Please refer to the installation instructions at [https://inkscape.org/en/releases/ our web page for OS X downloads] and to the [https://inkscape.org/en/learn/faq/#Mac_OS_X_specific_issues section dedicated to OS X in our FAQ].


Change to the directory that you just created ''foo''.  type ''./configure'' then ''make'' then, as root, ''make install''


Sometimes that is all you will need to do.
== Installing on Linux ==


Sometimes you will run into dependancy errors because you need a library you haven't installed yet.  If you try installing inkscape without some of these dependancies, you will get a list of what you need.  hopefully the instructions below will help you solve these dependancies.
On most Linux systems, you can use the software installer provided with your system (look for "software" in your start menu) to install Inkscape.


TODO: working here. more tomorrow, if anyone wants to fill this in, that would be fine...
Visit https://inkscape.org/releases to see a list of other available options and installation methods for each available version.


'''Running ldconfig'''
=== Ubuntu or Debian Linux ===
Probably the easiest way to install on Debian/Ubuntu is to use the apt command.


after installing libs, (as root) you need to run ''ldconfig'' so that the linker can find the libraries that you have just installed.  If you aren't logged in as root (i.e. if you became root by typing su) you may not have the /sbin/ directory in your path.  so if ''ldconfig'' isn't working for you try typing ''/sbin/ldconfig''
Open a terminal and type;
  sudo apt-get update (enter)
  sudo apt-get install inkscape (enter)


'''pkg-config'''
If your Ubuntu version does not have the most current Inkscape version in its repositories (yet), you can use the [https://launchpad.net/~inkscape.dev/+archive/ubuntu/stable stable ppa] to get the latest stable Inkscape release.


''pkg-config'' is a utility that lists dependancies for libraries that sets up flags and paths for compiling.  When it's working right it's wonderful.  Getting it to work right is a pain in the ass if you don't know how.  It's amazing how silent an IRC channel will get when you mention it.
==== Ubuntu Linux New Stable Versions ====


The most recent stable version (slightly newer than what is available directly from Ubuntu) is available from our [https://launchpad.net/~inkscape.dev/+archive/ubuntu/stable/ stable PPA] for Ubuntu and derivative Linux distributions.


----
<pre>
'''libgc'''
sudo add-apt-repository universe
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt install inkscape
</pre>


download and install the latest version of libgc[[http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/]]
==== Ubuntu Linux Development Versions ====


libgc installs in /usr/local/lib by default. If you have installed it and it is still not linking, you may not have that in your library path. There is a LD_LIBRARY_PATH environment variable, or alternatively you can make sure that /usr/local/lib is listed in the file /etc/ls.so.conf
Development versions (inkscape-trunk) are available from our [https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk trunk ppa] for Ubuntu and derivative Linux distributions.
----
You just have to follow the commands at https://inkscape.org/release/inkscape-master/gnulinux/ubuntu/ppa/dl/ .
'''libsig++'''


download and install libsig++ [http://libsigc.sourceforge.net/stable.shtml]
'''Note:''' Development versions offer some nice new features, but can be somewhat unstable, so save often. Inexperienced users will also quite possibly have problems installing them.


this should be fairly straightforward.
=== openSUSE ===
----
'''glibmm'''


This is where, if you haven't wrestled with pkg-config on your system you start scratching your head. Because when you run configure on glibmm you are going to get an error like this
openSUSE includes Inkscape in the Gnome repositories. The newest version of Inkscape releases is in Gnome:Apps.


''checking for GLIBMM... configure: error: Package requirements (sigc++-2.0 >= 2.0.0 glib-2.0 >= 2.8.0 gobject-2.0 >= 2.8.0 gmodule-2.0 >= 2.8.0) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.''


''Alternatively you may set the GLIBMM_CFLAGS and GLIBMM_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for
== Installing on a Windows system ==
more details.''
=== Stable version ===
You can find the installer on the [http://www.inkscape.org/release/ download page]. Normally you want to choose "64-bit architecture" and "MSI package". Installing should be an easy step-by-step (next-next-finish) process.


It seems that most packages install in a non standard prefix, in direct defiance of the concept of standard, so you'll have to deal with this. See above.
=== Unstable development version===
First be warned. Unstable and development mean you likely will encounter crashes, usability problems and sometimes lose data. Ctrl+S will become your friend. If you cannot take this risk, please use the stable version instead.
 
If you are still reading, you are probably one of the brave ones who wants to be on the bleeding edge. If so, follow these steps:
==== 1. Download the latest build ====
Follow the instructions on [https://inkscape.org/release/master/windows/ the 'master' branch download page] to download a 7zip file of the latest master (development) build. Save the file (inkscape-….7z) to your Downloads folder.
 
==== 2. Extract the .7z archive ====
Extract the archive using the [http://www.7-zip.org/ 7zip unpacker]: Open the Downloads folder in Explorer, right-click on the 7Z file and choose 7-Zip → Extract to "inkscape-....".
 
You will get a directory which contains several files including inkscape.exe.
 
==== 3. Run inkscape ====
Run the inkscape.exe file by double clicking it. That's it.
You can also drag files to inkscape.exe to have these opened.
 
'''Don't forget:''' please help Inkscape by reporting bugs, encouraging developers or fixing bugs yourself. If you find bugs, make sure to include the version (name of the 7z file, like inkscape-)
 
==== Multiple versions for testing ====
For testing purposes it is good to be able to test multiple versions of Inkscape to find when and where some problem first appeared. For this reason you are able to store and use as many parallel versions of Inkscape as your disk has room for.
 
 
[[Category:User Documentation]]

Revision as of 22:08, 16 February 2020

Other languages: العربية Català Česky Deutsch English Español Français Italiano 日本語 한국어 Polski Português Português do Brasil Русский Slovenčina 中文

This page explains how to install Inkscape, either the stable or the development version. For instructions on how to compile Inkscape from the source code, see Compiling Inkscape.

The latest stable version can always be found on the Download webpage. The latest development versions are available from [[1]].


Installing on a Mac

Please refer to the installation instructions at our web page for OS X downloads and to the section dedicated to OS X in our FAQ.


Installing on Linux

On most Linux systems, you can use the software installer provided with your system (look for "software" in your start menu) to install Inkscape.

Visit https://inkscape.org/releases to see a list of other available options and installation methods for each available version.

Ubuntu or Debian Linux

Probably the easiest way to install on Debian/Ubuntu is to use the apt command.

Open a terminal and type;

 sudo apt-get update (enter)
 sudo apt-get install inkscape (enter)

If your Ubuntu version does not have the most current Inkscape version in its repositories (yet), you can use the stable ppa to get the latest stable Inkscape release.

Ubuntu Linux New Stable Versions

The most recent stable version (slightly newer than what is available directly from Ubuntu) is available from our stable PPA for Ubuntu and derivative Linux distributions.

sudo add-apt-repository universe
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt install inkscape

Ubuntu Linux Development Versions

Development versions (inkscape-trunk) are available from our trunk ppa for Ubuntu and derivative Linux distributions. You just have to follow the commands at https://inkscape.org/release/inkscape-master/gnulinux/ubuntu/ppa/dl/ .

Note: Development versions offer some nice new features, but can be somewhat unstable, so save often. Inexperienced users will also quite possibly have problems installing them.

openSUSE

openSUSE includes Inkscape in the Gnome repositories. The newest version of Inkscape releases is in Gnome:Apps.


Installing on a Windows system

Stable version

You can find the installer on the download page. Normally you want to choose "64-bit architecture" and "MSI package". Installing should be an easy step-by-step (next-next-finish) process.

Unstable development version

First be warned. Unstable and development mean you likely will encounter crashes, usability problems and sometimes lose data. Ctrl+S will become your friend. If you cannot take this risk, please use the stable version instead.

If you are still reading, you are probably one of the brave ones who wants to be on the bleeding edge. If so, follow these steps:

1. Download the latest build

Follow the instructions on the 'master' branch download page to download a 7zip file of the latest master (development) build. Save the file (inkscape-….7z) to your Downloads folder.

2. Extract the .7z archive

Extract the archive using the 7zip unpacker: Open the Downloads folder in Explorer, right-click on the 7Z file and choose 7-Zip → Extract to "inkscape-....".

You will get a directory which contains several files including inkscape.exe.

3. Run inkscape

Run the inkscape.exe file by double clicking it. That's it. You can also drag files to inkscape.exe to have these opened.

Don't forget: please help Inkscape by reporting bugs, encouraging developers or fixing bugs yourself. If you find bugs, make sure to include the version (name of the 7z file, like inkscape-)

Multiple versions for testing

For testing purposes it is good to be able to test multiple versions of Inkscape to find when and where some problem first appeared. For this reason you are able to store and use as many parallel versions of Inkscape as your disk has room for.