https://github.com/radicalzephyr/pdemo
A c implementation of demonstrate. Actually a fork of the PDIP project.
https://github.com/radicalzephyr/pdemo
Last synced: 3 months ago
JSON representation
A c implementation of demonstrate. Actually a fork of the PDIP project.
- Host: GitHub
- URL: https://github.com/radicalzephyr/pdemo
- Owner: RadicalZephyr
- License: gpl-3.0
- Created: 2014-11-11T20:45:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-11T21:32:23.000Z (over 10 years ago)
- Last Synced: 2025-02-15T12:13:53.898Z (3 months ago)
- Language: C
- Size: 227 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.txt
- License: COPYING
Awesome Lists containing this project
README
Introduction
============PDEMO (Programmed Dialogue with Interactive programs) can be installed
in three ways:1. Installation from the sources
2. Installation from the DEB binary package
3. Installation from the RPM binary packageFrom the sources, you can generate a DEB or binary package:
4. Generation of a DEB binary package
5. Generation of a RPM binary packageYou can generate a zipped tar file of the sources:
6. Generation of a zipped tar file
1. Installation from the sources
--------------------------------* The installation from the sources supposes that cmake is installed
on your Linux system* Unpack the tar compressed file pdemo-xxx.tgz into a directory. This
will create a sub-directory called pdemo-xxx with the source files of
the program:`$ tar xvfz pdemo-xxx.tgz`
* Go into the newly created directory:
`$ cd pdemo-xxx`
* Make sure the file pdemo_install.sh has the execute permission:
`$ chmod +x pdemo_install.sh`
* Launch the script pdemo_install.sh to get the help:
``` bash
$ ./pdemo_install.sh -hUsage: pdemo_install.sh [-d install_root_dir] [-P DEB | RPM] [-B] [-I] [-A] [-h]
-d : Installation directory (default: /usr/local)
-P : Generate a DEB or RPM package
-B : Build the software
-I : Install the software
-A : Generate an archive of the software (sources)
-h : this help
```* Under root identity, launch the installation by passing '-I' and optionnaly '-d' to
specify an installation directory different than '/usr/local':
For example, for an installation in '/usr/local', type:`$ sudo ./pdemo_install.sh -I`
For an installation in '/usr', type;
`$ sudo ./pdemo_install.sh -I -d /usr`
* If your PATH variable is correctly set, PDEMO help can be displayed:
`$ pdemo --help`
* If your MANPATH variable is correctly set, PDEMO's online manual can
be displayed:`$ man pdemo`
2. Installation of the binaries from the DEB package
----------------------------------------------------The files are installed via the command:
$ sudo dpkg -i pdemo-xxx.deb
3. Installation of the binaries from the RPM package
----------------------------------------------------The files are installed via the command:
$ sudo rpm -i pdemo-xxx.rpm
4. Generation of a DEB binary package
-------------------------------------* The installation from the sources supposes that cmake is installed
on your Linux system* Unpack the tar compressed file pdemo-xxx.tgz into a directory. This
will create a sub-directory called pdemo-xxx with the source files
of the program:`$ tar xvfz pdemo-xxx.tgz`
* Go into the newly created directory:
`$ cd pdemo-xxx`
* Make sure the file pdemo_install.sh has the execute permission:
`$ chmod +x pdemo_install.sh`
* Launch the script pdemo_install.sh to get the help:
``` bash
$ ./pdemo_install.sh -hUsage: pdemo_install.sh [-d install_root_dir] [-P DEB | RPM] [-B] [-I] [-A] [-h]
-d : Installation directory (default: /usr/local)
-P : Generate a DEB or RPM package
-B : Build the software
-I : Install the software
-A : Generate an archive of the software (sources)
-h : this help
```* Under root identity, launch the installation by passing '-P DEB'
and optionnaly '-d' to specify an installation directory different
than '/usr/local': For example, for a package which will be
installed in '/usr/local', type:`$ sudo ./pdemo_install.sh -P DEB`
For an installation in '/usr', type;
`$ sudo ./pdemo_install.sh -P DEB -d /usr`
5. Generation of a RPM binary package
-------------------------------------* The installation from the sources supposes that cmake is installed
on your Linux system* Unpack the tar compressed file pdemo-xxx.tgz into a directory. This
will create a sub-directory called pdemo-xxx with the source files
of the program:`$ tar xvfz pdemo-xxx.tgz`
* Go into the newly created directory:
`$ cd pdemo-xxx`
* Make sure the file pdemo_install.sh has the execute permission:
`$ chmod +x pdemo_install.sh`
* Launch the script pdemo_install.sh to get the help:
``` bash
$ ./pdemo_install.sh -hUsage: pdemo_install.sh [-d install_root_dir] [-P DEB | RPM] [-B] [-I] [-A] [-h]
-d : Installation directory (default: /usr/local)
-P : Generate a DEB or RPM package
-B : Build the software
-I : Install the software
-A : Generate an archive of the software (sources)
-h : this help
```* Under root identity, launch the installation by passing '-P RPM'
and optionnaly '-d' to specify an installation directory different
than '/usr/local': For example, for a package which will be
installed in '/usr/local', type:`$ sudo ./pdemo_install.sh -P RPM`
For an installation in '/usr', type;
`$ sudo ./pdemo_install.sh -P RPM -d /usr`
6. Generation of a zipped tar file
----------------------------------* The installation from the sources supposes that cmake is installed
on your Linux system* Unpack the tar compressed file pdemo-xxx.tgz into a directory. This
will create a sub-directory called pdemo-xxx with the source files
of the program:`$ tar xvfz pdemo-xxx.tgz`
* Go into the newly created directory:
`$ cd pdemo-xxx`
* Make sure the file pdemo_install.sh has the execute permission:
`$ chmod +x pdemo_install.sh`
* Launch the script pdemo_install.sh to get the help:
``` bash
$ ./pdemo_install.sh -hUsage: pdemo_install.sh [-d install_root_dir] [-P DEB | RPM] [-B] [-I] [-A] [-h]
-d : Installation directory (default: /usr/local)
-P : Generate a DEB or RPM package
-B : Build the software
-I : Install the software
-A : Generate an archive of the software (sources)
-h : this help
```* Under root identity, launch the installation by passing '-A':
`$ sudo ./pdemo_install.sh -A`