LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2021, 04:56 PM   #1
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Rep: Reputation: 20
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
daryl@daryl-Inspiron-660:~/Downloads/chirp$ tar xvf chirp-daily-20210830.tar.gz
chirp-daily-20210830/
chirp-daily-20210830/chirp/
chirp-daily-20210830/chirp/drivers/
chirp-daily-20210830/chirp/drivers/__init__.py
chirp-daily-20210830/chirp/drivers/alinco.py
chirp-daily-20210830/chirp/drivers/anytone.py
chirp-daily-20210830/chirp/drivers/anytone778uv.py
chirp-daily-20210830/chirp/drivers/anytone_ht.py
chirp-daily-20210830/chirp/drivers/anytone_iii.py
chirp-daily-20210830/chirp/drivers/ap510.py
chirp-daily-20210830/chirp/drivers/baofeng_common.py
chirp-daily-20210830/chirp/drivers/baofeng_uv3r.py
chirp-daily-20210830/chirp/drivers/baofeng_wp970i.py
chirp-daily-20210830/chirp/drivers/bf-t1.py
chirp-daily-20210830/chirp/drivers/bf-t8.py
chirp-daily-20210830/chirp/drivers/bj9900.py
chirp-daily-20210830/chirp/drivers/bjuv55.py
chirp-daily-20210830/chirp/drivers/boblov_x3plus.py
chirp-daily-20210830/chirp/drivers/btech.py
chirp-daily-20210830/chirp/drivers/fd268.py
chirp-daily-20210830/chirp/drivers/ft1500m.py
chirp-daily-20210830/chirp/drivers/ft1802.py
chirp-daily-20210830/chirp/drivers/ft1d.py
chirp-daily-20210830/chirp/drivers/ft2800.py
chirp-daily-20210830/chirp/drivers/ft2900.py
chirp-daily-20210830/chirp/drivers/ft2d.py
chirp-daily-20210830/chirp/drivers/ft4.py
chirp-daily-20210830/chirp/drivers/ft450d.py
chirp-daily-20210830/chirp/drivers/ft50.py
chirp-daily-20210830/chirp/drivers/ft60.py
chirp-daily-20210830/chirp/drivers/ft70.py
chirp-daily-20210830/chirp/drivers/ft7100.py
chirp-daily-20210830/chirp/drivers/ft7800.py
chirp-daily-20210830/chirp/drivers/ft8100.py
chirp-daily-20210830/chirp/drivers/ft817.py
chirp-daily-20210830/chirp/drivers/ft818.py
chirp-daily-20210830/chirp/drivers/ft857.py
chirp-daily-20210830/chirp/drivers/ft90.py
chirp-daily-20210830/chirp/drivers/ftlx011.py
chirp-daily-20210830/chirp/drivers/ftm3200d.py
chirp-daily-20210830/chirp/drivers/ftm350.py
chirp-daily-20210830/chirp/drivers/ftm7250d.py
chirp-daily-20210830/chirp/drivers/ga510.py
chirp-daily-20210830/chirp/drivers/generic_csv.py
chirp-daily-20210830/chirp/drivers/generic_tpe.py
chirp-daily-20210830/chirp/drivers/gmrsuv1.py
chirp-daily-20210830/chirp/drivers/h777.py
chirp-daily-20210830/chirp/drivers/hobbypcb.py
chirp-daily-20210830/chirp/drivers/ic208.py
chirp-daily-20210830/chirp/drivers/ic2100.py
chirp-daily-20210830/chirp/drivers/ic2200.py
chirp-daily-20210830/chirp/drivers/ic2300.py
chirp-daily-20210830/chirp/drivers/ic2720.py
chirp-daily-20210830/chirp/drivers/ic2730.py
chirp-daily-20210830/chirp/drivers/ic2820.py
chirp-daily-20210830/chirp/drivers/ic9x.py
chirp-daily-20210830/chirp/drivers/ic9x_icf.py
chirp-daily-20210830/chirp/drivers/ic9x_icf_ll.py
chirp-daily-20210830/chirp/drivers/ic9x_ll.py
chirp-daily-20210830/chirp/drivers/icf.py
chirp-daily-20210830/chirp/drivers/icomciv.py
chirp-daily-20210830/chirp/drivers/icp7.py
chirp-daily-20210830/chirp/drivers/icq7.py
chirp-daily-20210830/chirp/drivers/ict70.py
chirp-daily-20210830/chirp/drivers/ict7h.py
chirp-daily-20210830/chirp/drivers/ict8.py
chirp-daily-20210830/chirp/drivers/icv86.py
chirp-daily-20210830/chirp/drivers/icw32.py
chirp-daily-20210830/chirp/drivers/icx8x.py
chirp-daily-20210830/chirp/drivers/icx8x_ll.py
chirp-daily-20210830/chirp/drivers/icx90.py
chirp-daily-20210830/chirp/drivers/id31.py
chirp-daily-20210830/chirp/drivers/id51.py
chirp-daily-20210830/chirp/drivers/id51plus.py
chirp-daily-20210830/chirp/drivers/id800.py
chirp-daily-20210830/chirp/drivers/id880.py
chirp-daily-20210830/chirp/drivers/idrp.py
chirp-daily-20210830/chirp/drivers/kenwood_hmk.py
chirp-daily-20210830/chirp/drivers/kenwood_itm.py
chirp-daily-20210830/chirp/drivers/kenwood_live.py
chirp-daily-20210830/chirp/drivers/kguv8d.py
chirp-daily-20210830/chirp/drivers/kguv8dplus.py
chirp-daily-20210830/chirp/drivers/kguv8e.py
chirp-daily-20210830/chirp/drivers/kguv9dplus.py
chirp-daily-20210830/chirp/drivers/kyd.py
chirp-daily-20210830/chirp/drivers/kyd_IP620.py
chirp-daily-20210830/chirp/drivers/leixen.py
chirp-daily-20210830/chirp/drivers/lt725uv.py
chirp-daily-20210830/chirp/drivers/mursv1.py
chirp-daily-20210830/chirp/drivers/puxing.py
chirp-daily-20210830/chirp/drivers/puxing_px888k.py
chirp-daily-20210830/chirp/drivers/radioddity_r2.py
chirp-daily-20210830/chirp/drivers/radtel_t18.py
chirp-daily-20210830/chirp/drivers/repeaterbook.py
chirp-daily-20210830/chirp/drivers/retevis_rt1.py
chirp-daily-20210830/chirp/drivers/retevis_rt21.py
chirp-daily-20210830/chirp/drivers/retevis_rt22.py
chirp-daily-20210830/chirp/drivers/retevis_rt23.py
chirp-daily-20210830/chirp/drivers/retevis_rt26.py
chirp-daily-20210830/chirp/drivers/retevis_rt76p.py
chirp-daily-20210830/chirp/drivers/retevis_rt87.py
chirp-daily-20210830/chirp/drivers/retevis_rt98.py
chirp-daily-20210830/chirp/drivers/rfinder.py
chirp-daily-20210830/chirp/drivers/rh5r_v2.py
chirp-daily-20210830/chirp/drivers/tdxone_tdq8a.py
chirp-daily-20210830/chirp/drivers/template.py
chirp-daily-20210830/chirp/drivers/th350.py
chirp-daily-20210830/chirp/drivers/th7800.py
chirp-daily-20210830/chirp/drivers/th9000.py
chirp-daily-20210830/chirp/drivers/th9800.py
chirp-daily-20210830/chirp/drivers/th_uv3r.py
chirp-daily-20210830/chirp/drivers/th_uv3r25.py
chirp-daily-20210830/chirp/drivers/th_uv8000.py
chirp-daily-20210830/chirp/drivers/th_uv88.py
chirp-daily-20210830/chirp/drivers/th_uvf8d.py
chirp-daily-20210830/chirp/drivers/thd72.py
chirp-daily-20210830/chirp/drivers/thuv1f.py
chirp-daily-20210830/chirp/drivers/tk270.py
chirp-daily-20210830/chirp/drivers/tk760.py
chirp-daily-20210830/chirp/drivers/tk760g.py
chirp-daily-20210830/chirp/drivers/tk8102.py
chirp-daily-20210830/chirp/drivers/tk8180.py
chirp-daily-20210830/chirp/drivers/tmd710.py
chirp-daily-20210830/chirp/drivers/tmv71.py
chirp-daily-20210830/chirp/drivers/tmv71_ll.py
chirp-daily-20210830/chirp/drivers/ts2000.py
chirp-daily-20210830/chirp/drivers/ts480.py
chirp-daily-20210830/chirp/drivers/ts590.py
chirp-daily-20210830/chirp/drivers/ts850.py
chirp-daily-20210830/chirp/drivers/uv5r.py
chirp-daily-20210830/chirp/drivers/uv5x3.py
chirp-daily-20210830/chirp/drivers/uv6r.py
chirp-daily-20210830/chirp/drivers/uvb5.py
chirp-daily-20210830/chirp/drivers/vgc.py
chirp-daily-20210830/chirp/drivers/vx170.py
chirp-daily-20210830/chirp/drivers/vx2.py
chirp-daily-20210830/chirp/drivers/vx3.py
chirp-daily-20210830/chirp/drivers/vx5.py
chirp-daily-20210830/chirp/drivers/vx510.py
chirp-daily-20210830/chirp/drivers/vx6.py
chirp-daily-20210830/chirp/drivers/vx7.py
chirp-daily-20210830/chirp/drivers/vx8.py
chirp-daily-20210830/chirp/drivers/vxa700.py
chirp-daily-20210830/chirp/drivers/wouxun.py
chirp-daily-20210830/chirp/drivers/wouxun_common.py
chirp-daily-20210830/chirp/drivers/yaesu_clone.py
chirp-daily-20210830/chirp/ui/
chirp-daily-20210830/chirp/ui/__init__.py
chirp-daily-20210830/chirp/ui/bandplans.py
chirp-daily-20210830/chirp/ui/bankedit.py
chirp-daily-20210830/chirp/ui/clone.py
chirp-daily-20210830/chirp/ui/cloneprog.py
chirp-daily-20210830/chirp/ui/common.py
chirp-daily-20210830/chirp/ui/config.py
chirp-daily-20210830/chirp/ui/dstaredit.py
chirp-daily-20210830/chirp/ui/editorset.py
chirp-daily-20210830/chirp/ui/fips.py
chirp-daily-20210830/chirp/ui/importdialog.py
chirp-daily-20210830/chirp/ui/inputdialog.py
chirp-daily-20210830/chirp/ui/mainapp.py
chirp-daily-20210830/chirp/ui/memdetail.py
chirp-daily-20210830/chirp/ui/memedit.py
chirp-daily-20210830/chirp/ui/miscwidgets.py
chirp-daily-20210830/chirp/ui/radiobrowser.py
chirp-daily-20210830/chirp/ui/reporting.py
chirp-daily-20210830/chirp/ui/settingsedit.py
chirp-daily-20210830/chirp/ui/shiftdialog.py
chirp-daily-20210830/chirp/__init__.py
chirp-daily-20210830/chirp/bandplan.py
chirp-daily-20210830/chirp/bandplan_au.py
chirp-daily-20210830/chirp/bandplan_iaru_r1.py
chirp-daily-20210830/chirp/bandplan_iaru_r2.py
chirp-daily-20210830/chirp/bandplan_iaru_r3.py
chirp-daily-20210830/chirp/bandplan_na.py
chirp-daily-20210830/chirp/bitwise.py
chirp-daily-20210830/chirp/bitwise_grammar.py
chirp-daily-20210830/chirp/chirp_common.py
chirp-daily-20210830/chirp/detect.py
chirp-daily-20210830/chirp/directory.py
chirp-daily-20210830/chirp/dmrmarc.py
chirp-daily-20210830/chirp/elib_intl.py
chirp-daily-20210830/chirp/errors.py
chirp-daily-20210830/chirp/import_logic.py
chirp-daily-20210830/chirp/logger.py
chirp-daily-20210830/chirp/memmap.py
chirp-daily-20210830/chirp/platform.py
chirp-daily-20210830/chirp/pyPEG.py
chirp-daily-20210830/chirp/radioreference.py
chirp-daily-20210830/chirp/settings.py
chirp-daily-20210830/chirp/util.py
chirp-daily-20210830/locale/
chirp-daily-20210830/locale/de/
chirp-daily-20210830/locale/de/LC_MESSAGES/
chirp-daily-20210830/locale/de/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/en_US/
chirp-daily-20210830/locale/en_US/LC_MESSAGES/
chirp-daily-20210830/locale/en_US/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/es_ES/
chirp-daily-20210830/locale/es_ES/LC_MESSAGES/
chirp-daily-20210830/locale/es_ES/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/fr/
chirp-daily-20210830/locale/fr/LC_MESSAGES/
chirp-daily-20210830/locale/fr/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/hu/
chirp-daily-20210830/locale/hu/LC_MESSAGES/
chirp-daily-20210830/locale/hu/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/it/
chirp-daily-20210830/locale/it/LC_MESSAGES/
chirp-daily-20210830/locale/it/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/nl/
chirp-daily-20210830/locale/nl/LC_MESSAGES/
chirp-daily-20210830/locale/nl/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/pl/
chirp-daily-20210830/locale/pl/LC_MESSAGES/
chirp-daily-20210830/locale/pl/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/pt_BR/
chirp-daily-20210830/locale/pt_BR/LC_MESSAGES/
chirp-daily-20210830/locale/pt_BR/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/ru/
chirp-daily-20210830/locale/ru/LC_MESSAGES/
chirp-daily-20210830/locale/ru/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/locale/uk_UA/
chirp-daily-20210830/locale/uk_UA/LC_MESSAGES/
chirp-daily-20210830/locale/uk_UA/LC_MESSAGES/CHIRP.mo
chirp-daily-20210830/share/
chirp-daily-20210830/share/chirp.desktop
chirp-daily-20210830/share/chirp.ico
chirp-daily-20210830/share/chirp.png
chirp-daily-20210830/share/chirpw.1
chirp-daily-20210830/stock_configs/
chirp-daily-20210830/stock_configs/DE Freenet Frequencies.csv
chirp-daily-20210830/stock_configs/EU LPD and PMR Channels.csv
chirp-daily-20210830/stock_configs/FR Marine VHF Channels.csv
chirp-daily-20210830/stock_configs/KDR444.csv
chirp-daily-20210830/stock_configs/NOAA Weather Alert.csv
chirp-daily-20210830/stock_configs/UK Business Radio Simple Light Frequencies.csv
chirp-daily-20210830/stock_configs/US 60 meter channels (Center).csv
chirp-daily-20210830/stock_configs/US 60 meter channels (Dial).csv
chirp-daily-20210830/stock_configs/US CA Railroad Channels.csv
chirp-daily-20210830/stock_configs/US Calling Frequencies.csv
chirp-daily-20210830/stock_configs/US FRS and GMRS Channels.csv
chirp-daily-20210830/stock_configs/US MURS Channels.csv
chirp-daily-20210830/stock_configs/US Marine VHF Channels.csv
chirp-daily-20210830/COPYING
chirp-daily-20210830/chirpw
chirp-daily-20210830/rpttool
chirp-daily-20210830/setup.cfg
chirp-daily-20210830/setup.py
chirp-daily-20210830/PKG-INFO
daryl@daryl-Inspiron-660:~/Downloads/chirp$ cd chirp-daily-20210830
daryl@daryl-Inspiron-660:~/Downloads/chirp/chirp-daily-20210830$ make
make: *** No targets specified and no makefile found.  Stop.
daryl@daryl-Inspiron-660:~/Downloads/chirp/chirp-daily-20210830$
{
 
Old 09-12-2021, 05:10 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,997

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
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.
 
Old 09-12-2021, 09:05 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Have you checked the chirp wiki?
 
Old 09-12-2021, 09:33 PM   #4
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Original Poster
Rep: Reputation: 20
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.
 
Old 09-12-2021, 09:42 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
I'm sorry I fired a blank.

If there's no config file, you could try this series of commands:

Code:
./configure
make
make install
The first command creates the config file.

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."
 
Old 09-12-2021, 09:49 PM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,674

Rep: Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712Reputation: 2712
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.

Last edited by wpeckham; 09-12-2021 at 09:53 PM.
 
1 members found this post helpful.
Old 09-12-2021, 10:20 PM   #7
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Original Poster
Rep: Reputation: 20
The setup.cfg file is thus:
Code:
1 [bdist_rpm]
2 requires = pyserial
3 packager = Dan Smith <kk7ds@danplanet.com>
4 description = A frequency tool for Icom D-STAR Repeaters
5 vendor = KK7DS
The setup.py file is thusThe line numbers did not copy)
Code:
import sys

import os

from chirp import CHIRP_VERSION
from chirp.drivers import *
import chirp


def staticify_chirp_module():
    import chirp

    with file("chirp/__init__.py", "w") as init:
        print >>init, "CHIRP_VERSION = \"%s\"" % CHIRP_VERSION
        print >>init, "__all__ = %s\n" % str(chirp.__all__)

    print "Set chirp/__init__.py::__all__ = %s" % str(chirp.__all__)


def staticify_drivers_module():
    import chirp.drivers

    with file("chirp/drivers/__init__.py", "w") as init:
        print >>init, "__all__ = %s\n" % str(chirp.drivers.__all__)

    print "Set chirp/drivers/__init__.py::__all__ = %s" % str(
        chirp.drivers.__all__)


def win32_build():
    from distutils.core import setup
    import py2exe

    try:
        # if this doesn't work, try import modulefinder
        import py2exe.mf as modulefinder
        import win32com
        for p in win32com.__path__[1:]:
            modulefinder.AddPackagePath("win32com", p)
        for extra in ["win32com.shell"]:  # ,"win32com.mapi"
            __import__(extra)
            m = sys.modules[extra]
            for p in m.__path__[1:]:
                modulefinder.AddPackagePath(extra, p)
    except ImportError:
        # no build path setup, no worries.
        pass

    staticify_chirp_module()
    staticify_drivers_module()

    opts = {
        "py2exe": {
            "includes": "pango,atk,gobject,cairo,pangocairo," +
                        "win32gui,win32com,win32com.shell," +
                        "email.iterators,email.generator,gio",

            "compressed": 1,
            "optimize": 2,
            "bundle_files": 3,
            # "packages": ""
            }
        }

    mods = []
    for mod in chirp.__all__:
        mods.append("chirp.%s" % mod)
    for mod in chirp.drivers.__all__:
        mods.append("chirp.drivers.%s" % mod)
    opts["py2exe"]["includes"] += ("," + ",".join(mods))

    setup(
        zipfile=None,
        windows=[{'script':         "chirpw",
                  'icon_resources': [(0x0004, 'share/chirp.ico')],
                  }],
        options=opts)


def macos_build():
    from setuptools import setup
    import shutil

    APP = ['chirp-%s.py' % CHIRP_VERSION]
    shutil.copy("chirpw", APP[0])
    DATA_FILES = [('../Frameworks', ['/opt/local/lib/libpangox-1.0.dylib']),
                  ('../Resources/', ['/opt/local/lib/pango']),
                  ]
    OPTIONS = {'argv_emulation': True, "includes": "gtk,atk,pangocairo,cairo"}

    setup(
        app=APP,
        data_files=DATA_FILES,
        options={'py2app': OPTIONS},
        setup_requires=['py2app'],
        )

    EXEC = 'bash ./build/macos/make_pango.sh ' + \
           '/opt/local dist/chirp-%s.app' % CHIRP_VERSION
    # print "exec string: %s" % EXEC
    os.system(EXEC)


def default_build():
    from distutils.core import setup
    from glob import glob

    os.system("make -C locale clean all")

    desktop_files = glob("share/*.desktop")
    # form_files = glob("forms/*.x?l")
    image_files = glob("images/*")
    _locale_files = glob("locale/*/LC_MESSAGES/CHIRP.mo")
    stock_configs = glob("stock_configs/*")

    locale_files = []
    for f in _locale_files:
        locale_files.append(("share/chirp/%s" % os.path.dirname(f), [f]))

    print "LOC: %s" % str(locale_files)

    xsd_files = glob("chirp*.xsd")

    setup(
        name="chirp",
        packages=["chirp", "chirp.drivers", "chirp.ui"],
        version=CHIRP_VERSION,
        scripts=["chirpw", "rpttool"],
        data_files=[('share/applications', desktop_files),
                    ('share/chirp/images', image_files),
                    ('share/chirp', xsd_files),
                    ('share/doc/chirp', ['COPYING']),
                    ('share/pixmaps', ['share/chirp.png']),
                    ('share/man/man1', ["share/chirpw.1"]),
                    ('share/chirp/stock_configs', stock_configs),
                    ] + locale_files)


def nuke_manifest(*files):
    for i in ["MANIFEST", "MANIFEST.in"]:
        if os.path.exists(i):
            os.remove(i)

    if not files:
        return

    f = file("MANIFEST.in", "w")
    for fn in files:
        print >>f, fn
    f.close()


if sys.platform == "darwin":
    macos_build()
elif sys.platform == "win32":
    win32_build()
else:
    default_build()
Can you tell me what to do next?
 
Old 09-12-2021, 10:28 PM   #8
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,174

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
from the terminal run the setup.py
Code:
python setup.py
that looks like all that is needed.
 
1 members found this post helpful.
Old 09-12-2021, 10:35 PM   #9
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Original Poster
Rep: Reputation: 20
Do I run that command from inside the folder where setup.py is?
 
Old 09-12-2021, 11:11 PM   #10
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.

Last edited by enigma9o7; 09-12-2021 at 11:26 PM.
 
1 members found this post helpful.
Old 09-13-2021, 12:51 AM   #11
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Original Poster
Rep: Reputation: 20
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.
 
Old 09-13-2021, 03:58 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,930

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
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).
 
Old 09-13-2021, 09:20 AM   #13
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by sofasurfer View Post
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.
The file I linked above in previous post, chirp-daily-20210830.flatpak is the latest as of right now. But that could change whenever there's an update.... (which is why I also linked the folder first)

Last edited by enigma9o7; 09-13-2021 at 09:21 AM.
 
Old 09-13-2021, 09:26 AM   #14
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by pan64 View Post
by the way on ubuntu apt install chirp should work, there is no need to download anything (tar or flatpack).
Some versions (like bionic) yes, but if you're using the latetest LTS (focal), then no, not in official repos.
https://packages.ubuntu.com/search?k...ll&section=all

Last edited by enigma9o7; 09-13-2021 at 09:28 AM.
 
Old 09-13-2021, 06:53 PM   #15
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Original Poster
Rep: Reputation: 20
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
Looking for matches…
F: An error was encountered searching remote ‘chirp’ for ‘chirp-daily-20210830.tar.gz’: Unable to load summary from remote chirp: Remote listing for chirp not available; server has no summary file. Check the URL passed to remote-add was valid.
error: No remote refs found similar to ‘chirp-daily-20210830.tar.gz’
What did I not do right?
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
How can you tell that someone is bad? or Good ? someone is bad? or Good ? abrenar General 10 02-24-2009 02:42 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
How do I un tar a .tar, .tar.z, .tar.gz file vofkid Linux - Newbie 4 03-15-2002 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:16 AM.

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