Cab someone tell me how to install tar.gz with no install, config or readme?
I want to install chirp which is a ham radio programing program https://trac.chirp.danplanet.com/chirp_daily/LATEST/ I have only successfully install a tarball once in my life and this is not it. I have read many web pages that claim to explain the process but they all depend on the tarball containing a readme, config or install file. Chirp contains none of them. I would think that after all these years there would be a script that would deal with installing tarballs but I have not found one.
Can someone help me get this installed? And explain things in the process, please. I cd'd into the directory containing the tarball and extracted it. I then cd'd into the extracted directory. Then I ran $ make and got an error for no make file. Code:
daryl@daryl-Inspiron-660:~$ cd /home/daryl/Downloads/chirp |
Looks like it is mostly python. Try python shell then run setup.py maybe? I'd bet that site has some place to find information.
Does your system have flatpak in use? I'd use it. Wine on that may work. |
Have you checked the chirp wiki?
|
Chirp wiki does not explain how to install a tarball. The sites that do assume the tarball has a readme, install or config file.
I am still trying to figure out the flatpak method. So far I failed at that also. Good times. |
I'm sorry I fired a blank.:(
If there's no config file, you could try this series of commands: Code:
./configure I don't know whether it will work with chirp. It's just what I learned back in the olden days, when I was a young 'un. You can learn more at this link: https://getfem.readthedocs.io/en/lat...all_linux.html Skip past all the github stuff to the section headed "Compiling." |
One cannot "make" without a make file. Besides, the source here is Python, not a compiled language like C.
The critical files are "setup.cfg" and "setup.py". Clearly a python setup. Examine the two files, and if you find nothing wrong execute setup.py IN that folder. That should do the job. Okay, assuming you have the correct Python installed to run it. -------- PS, There is no single install for a tar.gz file because that is not an install image. It is a Tape Archive (tar) file containing file/folder objects that is (gzip) compressed (thus the gz). Now that could contain binary files, source files in any of several dozen different languages, each with its own separate kind of install. You must examine the documentation or instructions from the source SITE or within the archive (if you are very lucky and it is there) to learn how it is MEANT to be installed. I have not looked at the source site, but having seen a few (hundred) of these I can make a pretty good guess. I hope that guess helps you. |
The setup.cfg file is thus:
Code:
1 [bdist_rpm] Code:
import sys |
from the terminal run the setup.py
Code:
python setup.py |
Do I run that command from inside the folder where setup.py is?
|
I tried chirp tarball a week or so ago coincidentally enough, and it has python2 gtk2 dependencies so may not be easy on current distros that no longer package that (i.e. debian/ubuntu).
The easy way to use on modern distro is just install the flatpak... which you download direct from their official site. https://trac.chirp.danplanet.com/chirp_daily/LATEST/ https://trac.chirp.danplanet.com/chi...210830.flatpak edit: but to answer your previous question, yes, try that first. if it doesnt work, try "python3 setup.py" or "python2 setup.py"; try flatpak as I suggested if you're unsuccessful with tarball. |
I tried flatpak using this site https://boondockplan.wordpress.com/2...p-via-flatpak/
When I get to this step... flatpak install chirp-daily-[yyyymmdd].flatpak ...I do not know what to put in place of the yyyymmdd. |
flatpack install <filename>, you need to specify the exact filename you have downloaded. See post #10.
by the way on ubuntu apt install chirp should work, there is no need to download anything (tar or flatpack). |
Quote:
|
Quote:
https://packages.ubuntu.com/search?k...ll§ion=all |
I saved chirp-daily-20210830.tar.gz in /Downloads. I then ran as follows...
Code:
daryl@daryl-Inspiron-660:~/Downloads$ flatpak install chirp-daily-20210830.tar.gz |
All times are GMT -5. The time now is 04:50 AM. |