LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2022, 12:08 AM   #1
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Rep: Reputation: Disabled
How to install and run zip file from github?


How do I get zip file I downloaded from Github working in debian?
I tried:
- sudo apt install (name of file.zip)
- sudo dpkg (name of file.zip)

Thanks in advance.
 
Old 10-29-2022, 12:23 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,827
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
.zip files are simply compressed archive files. Their content needs to be extracted, then examined for what to do next. Typically there will be a README file. Sometimes the extracted filenames will be enough clues to what to do next. For .zip files on github, try reading the README hosted there where you found the .zip URI.
 
1 members found this post helpful.
Old 10-29-2022, 06:59 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
without knowing what you downloaded it is impossible to say

can you post a link to what it is .
 
Old 10-29-2022, 01:30 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,501

Rep: Reputation: Disabled
Use 'unzip' or 'gunzip' to extract what you downloaded, then as above, read the documentation.
 
Old 10-29-2022, 01:47 PM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
If it's on github, is it source code? You probably have to build it. Github link.
 
Old 10-29-2022, 06:13 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by linux-man View Post
How do I get zip file I downloaded from Github working in debian?
I tried:
- sudo apt install (name of file.zip)
- sudo dpkg (name of file.zip)
Did you read any of the advice you got previously??
https://www.linuxquestions.org/quest...ub-4175713597/

You were informed of git commands, and most stuff on github has a clear button to download as a ZIP file. And a zip file is nothing but an archive of what was in that repository...so read the instructions that are on that github page as to how to compile/install it.
 
Old 10-30-2022, 01:19 AM   #7
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
without knowing what you downloaded it is impossible to say

can you post a link to what it is .
https://github.com/jscher2000/Firefox-File-Utilities-master.zip
It's residing in my downloads directory. I tried this but didn't work for me, I was in Downloads directory when I did this in terminal
Code:
sudo dpkg i Firefox-File-Utilities-master.zip
dpkg-deb: error: 'Firefox-File-Utilities-master.zip' is not a Debian format archive
dpkg: error processing archive Firefox-File-Utilities-master.zip (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 Firefox-File-Utilities-master.zip

Last edited by linux-man; 10-30-2022 at 01:23 AM.
 
Old 10-30-2022, 01:22 AM   #8
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Did you read any of the advice you got previously??
https://www.linuxquestions.org/quest...ub-4175713597/
Yeah I took a look there, did use something from there namely
Code:
sudo dpkg i Firefox-File-Utilities-master.zip

sudo dpkg -i Firefox-File-Utilities-master.zip 
dpkg-deb: error: 'Firefox-File-Utilities-master.zip' is not a Debian format archive
dpkg: error processing archive Firefox-File-Utilities-master.zip (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 Firefox-File-Utilities-master.zip
didnt work this time around.I was in Downloads directory when I did that.
 
Old 10-30-2022, 07:45 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by linux-man View Post
https://github.com/jscher2000/Firefox-File-Utilities-master.zip
It's residing in my downloads directory. I tried this but didn't work for me, I was in Downloads directory when I did this in terminal
Code:
sudo dpkg i Firefox-File-Utilities-master.zip
dpkg-deb: error: 'Firefox-File-Utilities-master.zip' is not a Debian format archive
dpkg: error processing archive Firefox-File-Utilities-master.zip (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 Firefox-File-Utilities-master.zip
Again: you DO NOT use a package manager to install a zip file. You unzip it, and work with the contents. As you were told before.

And did you look at the contents? It's HTML files...open it with a browser.
 
1 members found this post helpful.
Old 10-30-2022, 07:52 AM   #10
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Quote:
dpkg-deb: error: 'Firefox-File-Utilities-master.zip' is not a Debian format archive
You need to unzip it first. Listen to what members are telling you.

The link that you posted is not a zip file.

This is:
https://github.com/jscher2000/Firefo...ads/master.zip

Download that, unzip it into an empty directory.
See:
Code:
man zip
man unzip
It's a bunch of html files, stylesheet files, javascript files...

I don't see a lot of directions on:
https://github.com/jscher2000/Firefox-File-Utilities
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GitHub Actions moves GitHub into DevOps LXer Syndicated Linux News 0 08-09-2019 01:04 PM
[SOLVED] How can I have zip -d file.zip "__MACOSX*" work on all zip files in directory? thomwblair Linux - Newbie 10 10-08-2018 02:30 PM
LXer: Learn to use GitHub with GitHub Learning Lab LXer Syndicated Linux News 0 04-20-2018 01:12 AM
LXer: GitHub wants more new contributors, because that's what GitHub is for LXer Syndicated Linux News 0 07-27-2017 06:36 AM
How to find out a file in a WAR which in a zip without unzip the zip-file? thomas2004ch Linux - Software 3 09-30-2011 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration