PureBasic Forum
http://forums.purebasic.com/english/

[Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
http://forums.purebasic.com/english/viewtopic.php?f=15&t=26957
Page 4 of 4

Author:  DoubleDutch [ Fri Sep 06, 2013 7:08 am ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Thanks Thomas, I will take a look. :)

Was the original pdf in English or are these it?

Author:  DoubleDutch [ Fri Sep 06, 2013 7:59 am ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Did a quick translation using Google. I know it's not supposed to be distributed unmodified but I hope you don't mind?

http://sinistersoft.com/downloads/PureB ... inners.pdf

Author:  srod [ Mon Feb 17, 2014 7:07 pm ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Have installed Ubuntu 13.10 x64 in a dual boot config and everything is sweet. Purebasic was a breeze to install and get running. (Am amazed that my latest project ran straight out of the box... file paths aside! :) )

One thing remains... file association; .pb, .pbi, .pbp. Have added the relevant mime types into 'purebasic.xml' etc. but at this point I am stuck. The Ubuntu-tweak utility installs, but will not run on this version of Ubuntu (or so it seems!) Nothing happens when I click it in the launcher.

Anyone know how to proceed manually? I've taken a look at the mimeapps.list file, but it is empty and I do not know how to construct a valid entry for this file!

Who would have guessed this simple operation would, in fact, not be so simple! :)

Thanks.

Author:  ts-soft [ Mon Feb 17, 2014 8:59 pm ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Open a terminal and type in:
Code:
gksu gedit
or
Code:
gksudo gedit
i can't test on ubuntu.
copy in:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
   <mime-type type="text/purebasic">
   <comment>PureBasic source code</comment>
   <glob pattern="*.pb"/>
   <glob pattern="*.pbi"/>
   </mime-type>
</mime-info>
and save the text in: /usr/share/mime/packages as purebasic.xml
Code:
sudo update-mime-database /usr/share/mime

should do the trick. If this not work have a look on the manpage:
Code:
man update-mime-database

Author:  srod [ Mon Feb 17, 2014 9:01 pm ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Sorted the file associations with Ubuntu 13.10 x64.

The following link showed the way : https://wiki.archlinux.org/index.php/De ... plications

Author:  srod [ Mon Feb 17, 2014 9:06 pm ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

Thanks Thomas.

I had already done that, but for the life of me I am not sure if that was enough because I cannot remember testing once Ubuntu-Tweak failed to run! Doh!

Anyhow, I added a .desktop file as instructed in the link I posted above and it all works now. As I say though, not sure if what you had outlined did the trick or this .desktop file was the final piece in the puzzle? :)

It is all working now anyhow.

I can see why people are switching to Linux as this is much nicer than I remember from my last time out with Ubuntu. Heck, my PB code even works... which wasn't the case last time. :)

Author:  heartbone [ Wed Feb 19, 2014 5:55 pm ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

srod wrote:
I can see why people are switching to Linux as this is much nicer than I remember from my last time out with Ubuntu. Heck, my PB code even works... which wasn't the case last time. :)
Indeed.

After using UBUNTU as my main OS for three seasons now, only just this week :oops:
have I discovered the power of rolling the mouse scroll wheel while pointing at the Unity launcher icons when using multiple windows.
Mega sweet. :D

Author:  IdeasVacuum [ Tue Jun 17, 2014 11:57 pm ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

...It's not all sweetness and light. I am trying to install Ubuntu 14.04LTS, sharing the PC with Windows XP. Install fails at around the 80% mark without warning. Also, be warned - Ubuntu un-install/re-install can wipe your whole drive, across partitions, without any warning, thus losing anything else you might have on the drive. It is apparently a known 'critical bug' but that does not say much for the testing carried out before release.........

Author:  Frarth [ Sun Jun 19, 2016 7:36 am ]
Post subject:  Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux

IdeasVacuum wrote:
...It's not all sweetness and light. I am trying to install Ubuntu 14.04LTS, sharing the PC with Windows XP. Install fails at around the 80% mark without warning. Also, be warned - Ubuntu un-install/re-install can wipe your whole drive, across partitions, without any warning, thus losing anything else you might have on the drive. It is apparently a known 'critical bug' but that does not say much for the testing carried out before release.........
It sounds like you're doing something wrong. I use Ubuntu since 2005 (Breezy Badger) and never encountered any problems while creating / formatting partitions. If you install Linux (any distro) next to Windows, then what exactly do you do, dual boot or VM? If VM then it may be that Windows has a lock on whatever that prevents Linux from completing installation. Dual boot should not give any problem at all unless you're out of disk space. But even then you should see a warning.

In general I advice against multiple OSs on a single computer. Sooner or later you will find trouble, no matter how sophisticated boot loaders and VMs are. Install Linux on three partitions, one for root (8+GB), one for swap (4-8GB) and one for home, using the proper mounting points.

Since Ubuntu 14.04 and 16.04 both have support until 2019, my choice would be Ubuntu 16.04 LTS

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