It is currently Fri Nov 15, 2019 4:18 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 9:05 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 233
Can someone help me installing purebasic on ubuntu.
I a new and i don't know what to do
Thanks in advance


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 9:12 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1106
Location: Germany::Berlin()
In the folder there is the file install.sh.

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 9:16 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Apr 25, 2003 7:09 pm
Posts: 247
Location: (Madrid) Spain
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.

_________________
[:: PB Registered ::]

Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 11:04 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 690
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:

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 11:35 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Apr 10, 2017 6:17 pm
Posts: 288
Location: Germany
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.

_________________
webpage


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 3:09 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 233
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 3:56 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 690
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:

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Tue Mar 27, 2018 6:03 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 233
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Wed Mar 28, 2018 9:22 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 690
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)
Image

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

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Thu Mar 29, 2018 10:55 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 233
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Thu Mar 29, 2018 11:17 am 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1897
@loulou2522: Off-topic question: How do you create your exquisite screenshots? :shock:


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Thu Mar 29, 2018 1:51 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 233
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 ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Mon Apr 02, 2018 12:59 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 14, 2014 12:09 pm
Posts: 233
Allways a problem with registering extension PB. Executing register.sh don't solve the problem.
Can someone help me for a cleaner install ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Mon Apr 02, 2018 5:07 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Feb 08, 2014 3:26 pm
Posts: 690
@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:

_________________
(English is not my native language, I use an online translator)
Windows 10 Family x64 + Linux (Slackware, Debian on Oracle VirtualBox 6.0) + Raspberry Pi


Top
 Profile  
Reply with quote  
 Post subject: Re: Help installing UBUNTU
PostPosted: Mon Oct 14, 2019 6:51 pm 
Offline
New User
New User

Joined: Mon Oct 14, 2019 5:19 pm
Posts: 1
$ 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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye