question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How is this packaged?

See original GitHub issue

Hi,

Is there any documentation on how the distributed versions of torchstudio are packaged? I see that the deb file contains a single binary and lots of Qt libraries. but, its unclear how these files get created. This makes the package look a bit suspicious.

Another advantage of documentation on packaging would be that we (the community) can help package this in more modern formats than deb (like Flatpak and Appimage), and get the app working on almost all modern Linux distros.

Thanks for your hard work, 🙂

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
divideconceptcommented, Mar 9, 2022

Hi, TorchStudio is composed of 2 components: a C++ GUI, and open source python scripts (cf the architecture drawing in the README.md). This repo contains the open source python scripts, and the official releases contains installers which deploy the compiled GUI binaries (in the appropriate application folder depending on your OS) and its the corresponding python scripts (in ~/TorchStudio/torchstudio). I hope to clarify a bit the status, contributions, etc later this week. Thanks for offering to help with Linux packaging, I’m indeed a bit new to this and went for the most known distribution.

1reaction
Jdreioecommented, Apr 10, 2022

Is that Flatpak really standard ? I’m not that much familiar with the Linux world, but it looks like you need to install Flatpak first before being able to install a Flatpakaged software ?

Thanks for trying to learn and showing interest instead of just saying “No Flatpak support coming, only Ubuntu is supported.”! 😃

There is 3 modern packaging solutions: Flatpak, Snap and AppImages. The main difference between Snap and Flatpak, is that Snap packages can only be distributed through the Canonical store, i.e. they are linked to it. This brings some advantages like improved security but limits the developer. Conversely, Flatpak is not connected to any shop and this makes each developer the owner of the shop’s distribution. This is more in line with the open-source philosophy. I don’t know much about AppImages, but, AFAIK, it’s comparable to an .exe-file in Windows which you download from the web and run.

The Linux community seem to be rallying behind Flatpak.

Flatpak is able to be installed on most (if not all) Linux distributions. It’s something that takes one command to install for most distributions (except for Gentoo, where it’s two commands) if not already installed by default. Also, Flatpaks can be used on ChromeOS, Steam Deck, etc. Therefore, by packaging TorchStudio as a Flatpak, the entire Linux desktop market can use it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PACKAGED | definition in the Cambridge English Dictionary
sold in a package : The majority of food sold in supermarkets is packaged. They stock frozen, canned, and packaged goods.
Read more >
Packaged - Definition, Meaning & Synonyms - Vocabulary.com
If something is packaged, it's inside a box, bag, or other container. While packaged foods usually last longer, they're sometimes not as healthful...
Read more >
Packaged - definition of packaged by The Free Dictionary
1. To place into a package or make a package of. ; 2. To present or publicize in a certain way: packaged his...
Read more >
Checking the Net Contents of Packaged Goods - GovInfo
Compliance testing of packaged goods is the determination of the conformance results of packaging, distribution, and sale of commodities.
Read more >
How to create good packaging for packaged goods - McKinsey
The packaging can play a number of important roles: protecting the product, providing useful information, and sometimes even making you feel ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found