Closed 2-bithacker closed 2 years ago
@2-bithacker I think you should read #185. Apps are disqualified if they can be installed with one apt command.
I've also tried using Flightgear, and it ran at like 2fps before crashing 10 seconds later. It also takes like 16 minutes to load..
I get about 30 fps on a pi 4b 8gb running raspbian bullseye; It is very smooth. It takes abou 3 to 5 minutes to load with me. It never crashes. Also, I forgot that sudo apt update
goes before the rest.
I get about 30 fps on a pi 4b 8gb running raspbian bullseye; It is very smooth. It takes abou 3 to 5 minutes to load with me. It never crashes. Also, I forgot that
sudo apt update
goes before the rest.
Well, that's much better then what I got. :+1:
Did you read #185? Like I said above, apps are disqualified if they can be installed with one apt command. :smile:
Why is sonic-pi on there? It can be installed with, of course, sudo apt update
, but then, just sudo apt install sonic-pi
! 1 command.
I'm just stating what the app requirements say:
- The app is already available on APT.
The app requires paying for something.Edit: What was I thinking? MC Java and MC Bedrock are already on here, and KSP is on the waiting list. I think they belong in Pi-Apps, despite costing money. This point is no longer valid.- The app is illegal to distribute.
I think Sonic Pi was put on because the current version available in the apt repos at the time was outdated.
Sonic Pi also does not just run sudo apt install sonic-pi
. It downloads the latest deb from the website, and installs it, like this:
wget -O ~/sonic-pi.deb https://sonic-pi.net/files/releases/v3.3.1/sonic-pi_3.3.1_1_armhf.deb || error "Failed to download deb file!"
"${DIRECTORY}/pkg-install" "$HOME/sonic-pi.deb libconfig9 xcompmgr" "$(dirname "$0")" || exit 1
@Botspot, what are your thoughts?
oooooohhh!!! I get it now. Thanks.
Shall I close this?
Yeah, unless you can find a later version of Flightgear that install available in the apt repos.
I think Sonic Pi was put on because the current version available in the apt repos at the time was outdated.
Correct. We don't want Pi-Apps to replace the Raspberry Pi repositories. If something can be installed from there, there is little reason to add it here too.
HOWEVER, I can see a time soon when this will change. Pi-Apps will soon accept package-apps. In fact, the code is already in place and functional. But I think it's best to sort out all of our Bullseye-compatibility issues before dumping hundreds of new apps into Pi-Apps. (our resources are limited)
I see. I'll wait till then. Thanks!
@Botspot This can be added now.. :+1:
Excellent!
@Botspot, do you want a zip?
@Botspot, do you want a zip?
A zip or a PR, that would be great.
I tried to send you a zip, but my pc wasn't compressing it. What is a PR?
I tried to send you a zip, but my pc wasn't compressing it. What is a PR?
Are you using the pi-apps app creator? After creation, you should be able to go into your pi-apps folder, find the app-folder, right-click it, and click "Compress". (This is assuming you're using a raspberry pi)
A pull request (PR) is a bit more complicated way to send me an app. It involves using terminal-commands.
I never knew there was a app creator.
I can't add a .zip or tarball sucessfully to the original question.
I can't add a .zip or tarball sucessfully to the original question.
Try replying to this message and drag-n-drop the zip file to the text entry box.
I tried that. No success at all. It says "It is not included in the list" when I try to upload. Is there another way I could send you the file? If you don't want to do that, you can download it here. https://sourceforge.net/projects/flightgear/files/release-2020.3/FlightGear-2020.3.11-x86_64.AppImage/download That's what I did. As you know, you need box 86 to run it. You also might want some aircraft and scenery http://www.flightgear.org/download/download-aircraft/ http://www.flightgear.org/download/scenery/ Here is the source code if you want that. http://www.flightgear.org/download/source-code/ I gave all these extra links just in case you want them for any reason.
FlightGear can be compiled natively, and an older version is either in the debian or ubuntu repos (I don't remember which).
The newest are on both my debian and ubuntu repositories (I am using debian bullseye as debian buster does not run flightgear nearly as well.)
Here: Flightgear.zip
How did you do that? It didn't work for me even with the .zip format.
@2-bithacker I used p7zip desktop, which can be installed through snapd, like this:
sudo snap install p7zip-desktop
After you install it, just open it (from the terminal, or from the menu, like this: Menu -> Accessories -> P7Zip Desktop
), select the folder/item/items you want to compress, click add, choose the compression settings you want (somewhere in there, there is a drop down with compression type settings, so you can select .zip
there.), and click Ok
. You now have a .zip. :+1:
I tried it in a .zip format, a tarball, and a 7zip. NONE of them work. Sorry for the frustration.
Really? What OS and system are you using? I'm using RPiOS Bullseye, with a Pi 4, 4G..
An old Dell Optiplex 780 running ubuntu 21.10 not dual-boot of any kind; it's faster at compressing than my pi. Should I try my pi 4b 8g with bullseye?
Yeah, if it's not too hard.. If you're just compressing a Pi-Apps app folder, it's pretty much instant..
I don't have it on my pi-apps. I just have it installed. It is pretty hard to switch computers, as I only have one monitor and one mouse and keyboard. I'll get back to you when I get the pi set up headless or something.
Ok. I'm sure there are other tools that would work on ubuntu..
I just tried to do it with a raspberry pi, but the same problem of it not being included in the list. What is the pi-apps app creator called?
I just tried to do it with a raspberry pi, but the same problem of it not being included in the list. What is the pi-apps app creator called?
Pi-apps settings -> create app
My zip works, I think..
I was making the app install script, when I thought of a problem. I have to install flightgear on the pi with a build. That takes over 3 hours, and upwards of 12 gigabytes, but with full functionality. When installing it with apt, it installs, but you can only use the default cessna. (I recently learned of this problem; I used to only want to use the cessna, so I made sure --launcher
was not in the launch command string.) What command would I use in the install script to include box86 in the command string so it will just run the x84 appimage and data file that I would make it download (Assuming that I am using the terminal style installation, and I am having it get the files from flightgear.org) Doing it this way seems to be the only way, possible for me, to get it to work. The command language I know much about for installing is the debian-based terminal.
What command would I use in the install script to include box86 in the command string so it will just run the x84 appimage and data file that I would make it download
Have you verified that box86 can run flightgear? And if it does run, does it run well? In any case, you can look at an existing pi-app that depends on box86 to run. I don't have any on the top of my head, so I used the Search tool in Pi-apps: (in this case I'm searching all app-scripts for the word "box86".
Based on the results, I would recommend you look at either Eagle, Sublime Text, or Zoom to see how they did it.
Have you run a AppImage with box86 before? I heard it works from an article I read, but does it? I thought it did, but I would rather take is from someone who knows for sure.
Latest update: Box64 is what I need to run the AppImage. I heard pi-apps has box64, but when I search for it, no results are found. I looked in /home/pi/pi-apps/apps and there is a file called box64 there. I ran the install script titled install-64 that I found there, but it did not successfully install.
Latest update: Box64 is what I need to run the AppImage. I heard pi-apps has box64, but when I search for it, no results are found. I looked in /home/pi/pi-apps/apps and there is a file called box64 there. I ran the install script titled install-64 that I found there, but it did not successfully install.
That's because you can only install Box64 (or any 64-bit app) on 64-bit RPiOS, or at least 64-bit kernel.
If you still have these lines:
rm ~/pi-apps/apps/FlightGear/download || error 'This file was not present, so not removed. Dont worry about it:)'
rm ~/pi-apps/apps/FlightGear/download.1 || error 'This file was not present, so not removed. Dont worry about it:)'
rm -rf ~/pi-apps/apps/FlightGear/fgdata || error 'This directory was not present, so not removed. Dont worry about it:)'
You'll have to change the error
part to warning
, or else the script will fail if those files aren't there to be removed.
I'd recommend no message at all for those lines, and to redirect them to /dev/null
, so it doesn't have ugly error messages:
rm ~/pi-apps/apps/FlightGear/download &>/dev/null
rm ~/pi-apps/apps/FlightGear/download.1 &>/dev/null
rm -rf ~/pi-apps/apps/FlightGear/fgdata &>/dev/null
I am using bullseye 64 bit.
Well, then you should be able to install it, what error did you have?
When I ran the script, I got an error this time. And the install did not work. like this that is the search for box 64 that shows it IS on my system
that is the error I got by running it's install script.
Ohh, you have to have sourced the Pi-Apps api
script.
Try this:
$ DIRECTORY=$HOME/pi-apps
$ source $HOME/pi-apps/api
$ .$HOME/pi-apps/apps/Box64/install-64
I got it to work, but it is way to slow on the rpi4b 8gb. The emulation part makes it about 3-15 fps. It used to be very playable, but running the x86*64 knocks it out. Sorry.
Can this app run on RPi? If so, please provide a link to a tutorial if applicable. flightgear can be installed with
sudo apt update
andsudo apt install flightgear flightgear-data-ai flightgear-data-all flightgear-data-base flightgear-data-models flightgear-phi
Is this app something many GUI users would find useful? It is a high-end free flight simulator. Is this app installable withsudo apt install
? YES