Pages : 1
#1 Le 09/04/2006, à 11:23
- wolfjeremy
Installer un programme ?
Salut, pouvez vous me dire comment je doit faire pour installer le programme suivant, voici le ifchier install :
*****************************************************************
PureBasic v3.92 for Linux x86
(c) 2005 - Fantaisie Software
*****************************************************************
Installation:
-------------Langage information:
PureBasic help is provided in 3 langages (English, German and French)
and you have to choose the right one for you (default is english).
They are located in the purebasic/ directory under the name *.help. The
one which is loaded is purebasic.help so replace it with another langage
if needed.1) Recommanded (doesn't requiers root rights)
a) Setup the PUREBASIC_HOME environment variable to your purebasic
path. It can be done like this (if you have put purebasic in your
home directory:export PUREBASIC_HOME=~/purebasic
b) Add the purebasic/compilers/ directory to you path, as it's
where all purebasic binaries are. This can be done like this:export PATH=$PUREBASIC_HOME/compilers:$PATH
After these 2 steps, you should be able to type 'pbcompiler' in a shell
and you ready to use the IDE, just type 'purebasic'.
2) Not recommended, as it will dispatch files at several place of your filessystem. It can be useful for large deployment tough.Use 'su -' to have root shell (if not already done)
Copy the 'purebasic/Compilers/pbcompiler' file in /usr/bin/
or any other directory in the PATH:# cp purebasic/compilers/pbcompiler /usr/bin/
Next, move the whole 'purebasic' directory in /usr/share/
# cp -rf purebasic /usr/share/
If you don't have 'fasm', copy it in your path (fasm v1.45 at least)
# cp purebasic/compilers/fasm /usr/bin/
To test your install, just type:
# pbcompiler
It should output:
******************************************
PureBasic Linux x86 v3.92
******************************************A filename must be specified.
Misc:
-----To have more informations about PureBasic, see the
README file.
Merci d'avance pour votre aide
P.S.: je suis nul en anglais c'est pour sa que je vous le demande.
Hors ligne
#2 Le 09/04/2006, à 11:28
- mika
Re : Installer un programme ?
edite ton .bashrc (
$ vi $HOME/.bashrc
(vi, gedit, scite, etc... )
Rajoute les lignes
export PUREBASIC_HOME=~/purebasic
export PATH=$PUREBASIC_HOME/compilers:$PATH
Au prochain lancement de ta console purebasic sera reconnu. Tu peux aussi taper :
$ source $HOME/.bashrc
opération qui rendra tes modifications operationnelles sans redemarrer un bash.
Pinard m'a tueR (in vino veritas ?)
Cherche logiciel pour tagger ses vinyles.
Hors ligne
#3 Le 09/04/2006, à 11:39
- wolfjeremy
Re : Installer un programme ?
Super merci ! je vais tester sa
EDIT : où je peut trouver le fichire .bashrc ? (excuse moi mais bon j'ai jamais utiliser vraiment linux...)
Dernière modification par wolfjeremy (Le 09/04/2006, à 11:42)
Hors ligne
#4 Le 09/04/2006, à 13:14
- Smarter
Re : Installer un programme ?
dans /home/tonlogin dans une console tu peux aussi y accéder en faisant "cd ~" ou "cd $HOME"
Hors ligne
#5 Le 09/04/2006, à 14:10
- wolfjeremy
Re : Installer un programme ?
lol merci !
Hors ligne