Help installing UBUNTU
-
- Enthusiast
- Posts: 503
- Joined: Tue Oct 14, 2014 12:09 pm
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
I a new and i don't know what to do
Thanks in advance
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.
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
Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
Re: Help installing UBUNTU
New to Linux ou new to PB on Linux ?loulou2522 wrote:Can someone help me installing purebasic on ubuntu.
I a new and i don't know what to do
Thanks in advance
- 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
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.
-
- Enthusiast
- Posts: 503
- Joined: Tue Oct 14, 2014 12:09 pm
Re: Help installing UBUNTU
New to Linux ou new to PB on Linux ?
If you can help me but with basic explaination
I have Ubuntu 14 on VirtualBox installed
__________________________________________________
List tag repaired
27.03.2018
RSBasic
- Expand the archive to a directory where you have write permission
tar xvzf <archive name> - Launch checkinstall script
./checkinstall.sh
If you can help me but with basic explaination
I have Ubuntu 14 on VirtualBox installed
__________________________________________________
List tag repaired
27.03.2018
RSBasic
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)
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)
-
- Enthusiast
- Posts: 503
- Joined: Tue Oct 14, 2014 12:09 pm
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
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
Re: Help installing UBUNTU
Like in PB Windowsloulou2522 wrote:- I can obtain french version it's only in English ?
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)
Is it with the same user? (the one who launches PB)loulou2522 wrote:- I can't acess with file option the my network but linux can access to the network
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
Last edited by Marc56us on Fri Mar 20, 2020 2:30 pm, edited 1 time in total.
-
- Enthusiast
- Posts: 503
- Joined: Tue Oct 14, 2014 12:09 pm
Re: Help installing UBUNTU
Is it with the same user? (the one who launches PB)loulou2522 wrote:- I can't acess with file option the my network but linux can access to the network
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[/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
Re: Help installing UBUNTU
@loulou2522: Off-topic question: How do you create your exquisite screenshots?
-
- Enthusiast
- Posts: 503
- Joined: Tue Oct 14, 2014 12:09 pm
Re: Help installing UBUNTU
I dont't understand very well english what is "expuisite screenshtos" means ?Dude wrote:@loulou2522: Off-topic question: How do you create your exquisite screenshots?
After i will respond to you ?
-
- Enthusiast
- Posts: 503
- Joined: Tue Oct 14, 2014 12:09 pm
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 ?
Can someone help me for a cleaner install ?
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.
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.
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
Thank you! This solved all of my problems!! Mint 19.1