Project

General

Profile

The swidGenerator Tool » History » Version 2

Andreas Steffen, 10.04.2014 14:52

1 1 Andreas Steffen
h1. The swidGenerator Tool
2 1 Andreas Steffen
3 1 Andreas Steffen
"swidGenerator":https://github.com/tnc-ba/swidGenerator is an open source python-based tool written by the HSR students Danilo Bargen, Christian Fässler and Jonas Furrer which is able to generate ISO/IEC 1977-2-2014 Software Identification (SWID) tags for all installed software packages installed by the Linux *dpkg* and *yum* packet managers.
4 1 Andreas Steffen
5 1 Andreas Steffen
h2. Installation
6 1 Andreas Steffen
7 2 Andreas Steffen
h3. Download
8 2 Andreas Steffen
9 2 Andreas Steffen
Next download the latest swidGenerator tarball from https://github.com/tnc-ba/swidGenerator/archive/master.zip and unpack the archive with the command
10 1 Andreas Steffen
<pre>
11 2 Andreas Steffen
unzip swidGenerator-master.zip
12 1 Andreas Steffen
</pre>
13 1 Andreas Steffen
14 2 Andreas Steffen
h3. Required Packages under Debian or Ubuntu
15 1 Andreas Steffen
16 1 Andreas Steffen
Make sure that the *python* and *python-setuptools* are present on your system. Otherwise install them with
17 1 Andreas Steffen
<pre>
18 1 Andreas Steffen
sudo apt-get install python python-setuptools
19 1 Andreas Steffen
</pre>
20 1 Andreas Steffen
21 2 Andreas Steffen
h3. Required Packages under Fedora or RedHat Enterprise Linux
22 2 Andreas Steffen
23 2 Andreas Steffen
h3. Installation
24 2 Andreas Steffen
25 2 Andreas Steffen
Change into the unpacked archive and execute the command
26 2 Andreas Steffen
<pre>
27 2 Andreas Steffen
sudo python setup.py install
28 2 Andreas Steffen
</pre>
29 2 Andreas Steffen
and the *swid_generator* function usually installed in */usr/local/bin* becomes available.
30 1 Andreas Steffen
31 1 Andreas Steffen
h2. Use