PureBasic Forum
https://www.purebasic.fr/english/

Help installing UBUNTU
https://www.purebasic.fr/english/viewtopic.php?f=15&t=70443
Page 1 of 1

Author:  loulou2522 [ Tue Mar 27, 2018 9:05 am ]
Post subject:  Help installing UBUNTU

Can someone help me installing purebasic on ubuntu.
I a new and i don't know what to do
Thanks in advance

Author:  RSBasic [ Tue Mar 27, 2018 9:12 am ]
Post subject:  Re: Help installing UBUNTU

In the folder there is the file install.sh.

Author:  Saboteur [ Tue Mar 27, 2018 9:16 am ]
Post subject:  Re: Help installing UBUNTU

When you download linux Purebasic version, and copy it in a local folder of your pc, there is a file that check libraries you need to use Purebasic. It is "checkinstall.sh".
Then, you only have to install that libraries, for example: "sudo apt install library1 library2... etc", until checkinstall is ok.
With command "register.sh" you register the purebasic files.
With "launch.sh" you launch purebasic. xD

You can read INSTALL file too.

Author:  Marc56us [ Tue Mar 27, 2018 11:04 am ]
Post subject:  Re: Help installing UBUNTU

loulou2522 wrote:
Can someone help me installing purebasic on ubuntu.
I a new and i don't know what to do
Thanks in advance

New to Linux ou new to PB on Linux ?
  • Expand the archive to a directory where you have write permission
    tar xvzf <archive name>
  • Launch checkinstall script
    ./checkinstall.sh
    :!: For security, Linux (and most unix) does not allow to run a script directly (without relative or absolute path)
    To run for example the script checkinstall.sh you need to type ./checkinstall.sh (or the full path)
    To remove this security (not recommended) it is necessary to put a dot in the variable PATH. But if you do this and type "*" by mistake, then all scripts and programs in the current directory start.
  • After running checkinstall it is enough to copy the update line
:wink:

Author:  Bitblazer [ Tue Mar 27, 2018 11:35 am ]
Post subject:  Re: Help installing UBUNTU

Just keep in mind that for most install commands like apt-get for packages, you need to execute them as root. sudo is your friend or just log in as root.

Author:  loulou2522 [ Tue Mar 27, 2018 3:09 pm ]
Post subject:  Re: Help installing UBUNTU

New to Linux ou new to PB on Linux ?
  • Expand the archive to a directory where you have write permission
    tar xvzf <archive name>
  • Launch checkinstall script
    ./checkinstall.sh
Entirely new to Linux so i don't know what to do to install Purebasic
If you can help me but with basic explaination
I have Ubuntu 14 on VirtualBox installed

__________________________________________________
List tag repaired
27.03.2018
RSBasic

Author:  Marc56us [ Tue Mar 27, 2018 3:56 pm ]
Post subject:  Re: Help installing UBUNTU

1. Before start VM, take a Snapshots of your VM
https://www.virtualbox.org/manual/ch01.html#snapshots

2. Update your linux system. Open a console
$ su -
# apt-get update
# apt-get upgrade
# ^D
$


I don't know where Ubuntu store user program, so for this test, put PB in your home dir '~'
(cd ~ in Linux/unix = cd %homepath% in Windows)

Go to the dir where is your archive
If you have downloaded it with firefox, your archive is in ~/Downloads/
$ cd ~/Downloads/

Copy it to your home dir

$ cp purebasic-demo.tar.gz ~

Uncompress it
$ tar xvzf purebasic-demo.tar.gz

Go into new dir
$ cd purebasic_demo/

Check config
$ sh checkinstall.sh
or
$ ./checkinstall.sh

if system say:
This script try to detect if all developments packages are correctly installed. If you are using a Debian or Ubuntu like distribution, you can use the following line to install all needed packages:

$ sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libgnome2-dev libxine2-dev libwebkitgtk-3.0-dev libxxf86vm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev

Everything seems correctly setup for PureBasic !

This OK
Launch PB
$ ./launch.sh

If you don't have message "Everything seems correctly setup for PureBasic !"

Copy / paste line into the middle of message
$ sudo apt-get install gcc ...
Wait until everything is updated...

Launch again
$ ./launch.sh

(Your VM need to be connected to the net for auto update)

:wink:

Author:  loulou2522 [ Tue Mar 27, 2018 6:03 pm ]
Post subject:  Re: Help installing UBUNTU

Thanks Marc56us
With what you say i try successfull installing Linux.
I have two problem with purebasic
- I can obtain french version it's only in English ?
- I can't acess with file option the my network but linux can access to the network
Regards

Author:  Marc56us [ Wed Mar 28, 2018 9:22 am ]
Post subject:  Re: Help installing UBUNTU

loulou2522 wrote:
- I can obtain french version it's only in English ?

Like in PB Windows
File > Preference > General > Language > Fran├žais
IDE will be in french immediatly.

But to have help file in french when press F1 key, you need to close and open PB.
(all help files are installed, but PB launch the one that IDE use at start)

loulou2522 wrote:
- I can't acess with file option the my network but linux can access to the network

Is it with the same user? (the one who launches PB)

Or do you forgot to clic on arrow ?
To go up to home dir when open file in PB IDE, click on left arrow (here xfce)


Home dir is by default /home/<user name>
$ cd
or
$ cd ~
go to home dir

Author:  loulou2522 [ Thu Mar 29, 2018 10:55 am ]
Post subject:  Re: Help installing UBUNTU

loulou2522 wrote:
- I can't acess with file option the my network but linux can access to the network

Is it with the same user? (the one who launches PB)

Or do you forgot to clic on arrow ?
To go up to home dir when open file in PB IDE, click on left arrow (here xfce)
Image

Home dir is by default /home/<user name>
$ cd
or
$ cd ~
go to home dir[/quote]
I can' arrive to solve the problem. My problem is because i want to load a pb file since my network and when i want to access to the network purebasic don't display the icon of the network. But under linux the network appear in screen

Author:  Dude [ Thu Mar 29, 2018 11:17 am ]
Post subject:  Re: Help installing UBUNTU

@loulou2522: Off-topic question: How do you create your exquisite screenshots? :shock:

Author:  loulou2522 [ Thu Mar 29, 2018 1:51 pm ]
Post subject:  Re: Help installing UBUNTU

Dude wrote:
@loulou2522: Off-topic question: How do you create your exquisite screenshots? :shock:

I dont't understand very well english what is "expuisite screenshtos" means ?
After i will respond to you ?

Author:  loulou2522 [ Mon Apr 02, 2018 12:59 pm ]
Post subject:  Re: Help installing UBUNTU

Allways a problem with registering extension PB. Executing register.sh don't solve the problem.
Can someone help me for a cleaner install ?

Author:  Marc56us [ Mon Apr 02, 2018 5:07 pm ]
Post subject:  Re: Help installing UBUNTU

@loulou2522
You don't need to register extensions for PB to work. register.sh is just used to open the IDE if you double-click on a.pb,.pbi or.pbf file in the GUI

(The notion of extension does not exist under Linux/Unix, it is just not to confuse Windows users who come to Linux.
For a script or some source code, the system (unix type) uses information on the first line, called Shebang. PB don't use it.
The comment character followed by an exclamation mark or < is the only case where a comment is interpreted and not ignored.
We find this type of comment for example also in SQL and in C)

@Dude
Screenshots above are made with FastStone Capture The latest version (8.9) has new graphic options.

:wink:

Author:  dmhess [ Mon Oct 14, 2019 6:51 pm ]
Post subject:  Re: Help installing UBUNTU

$ sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk-3-dev unixodbc-dev libgnome2-dev libxine2-dev libwebkitgtk-3.0-dev libxxf86vm-dev libwebkitgtk-dev libwebkitgtk-3.0-dev

Thank you! This solved all of my problems!! Mint 19.1

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/