Can not unzip PB

Raspberry PI specific forum
Rudy M
User
User
Posts: 46
Joined: Fri Aug 23, 2024 1:18 pm

Can not unzip PB

Post by Rudy M »

Title should be: Can not unzip PB sorry

RaspberryPi 3 model B+ Raspbian Lite with xfce4 as desktop

I could unpak and install a good working demo version of PB
Now I try to unpak the licensed version but this seams impossible.

pi@raspberrypi:~ $ unzip PureBasic_Linux_ARM64_LTS_6.11_(q4ag37).tgz
bash: syntaxfout nabij onverwacht symbool '('

English translation:
bash: syntax error near unexpected symbol '('

Did also a test to unzip wit "tar" ... the same error (and also with prefix sudo ...).

Somebody an idea?
Another unzip utility?
User avatar
NicTheQuick
Addict
Addict
Posts: 1517
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Can bit uzip PB

Post by NicTheQuick »

First of all. This is not a zip file, but a tar gz file.
Also you need to escape special characters like '(' accordingly.

You can do it like this:

Code: Select all

tar -xf 'PureBasic_Linux_ARM64_LTS_6.11_(q4ag37).tgz'
So basically use single quotes to allow special characters that would be interpreted by bash otherwise.
"tar -xf" means "tar --extract --file <file>".
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
User avatar
NicTheQuick
Addict
Addict
Posts: 1517
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Can bit uzip PB

Post by NicTheQuick »

Oh, and this has nothing to do with Purebasic itself. You just seem to learn a bit more about Bash I guess. :wink:
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Marc56us
Addict
Addict
Posts: 1600
Joined: Sat Feb 08, 2014 3:26 pm

Re: Can bit uzip PB

Post by Marc56us »

Uses <tab> (multiple time if not match filname) to autocomplete filename. This also will escape '(' with '\('

Code: Select all

$ tar xvzf PureBasic <press tab>
PS. Filename of archive does not matter, You can rename it (without ())

:wink:
Fred
Administrator
Administrator
Posts: 18199
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Can not unzip PB

Post by Fred »

I guess I will remove the () as it doesn't brings anything
Rudy M
User
User
Posts: 46
Joined: Fri Aug 23, 2024 1:18 pm

Re: Can not unzip PB

Post by Rudy M »

I renamed the archif-file to: Purebasic.tgz

Thereafter the tip from Marc56us:

$ tar xvzf PureBasic <press tab>

Result: Perfect unpac in the Purebasic-map

(normailly here one does all the other install instructions)

Because I did already all the other install instructions I could immediately start up Purebasic.

Thanks to You all!!!
Rudy M

(Now I'm going to rename the map to: Purebasic-version xxx)
Post Reply