r/Crostini • u/TheRealFanjin • May 03 '20
Firefox executable not working
I installed firefox through with the .tar.bz2 and have it in my /opt directory. I created a .desktop file and put it in /usr/share/applications, but it just kept loading, so I deleted it and created an icon by using alacarte, but it still kept loading, so I decided to check if the firefox executable was working, and I double clicked it but nothing happened. Am I doing something wrong?
0
May 04 '20
[deleted]
1
u/TheRealFanjin May 04 '20
I did what you said, and here's what I got (wow how did I not think of it)
XPCOMGlueLoad error for file /opt/firefox/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.0
May 04 '20
[deleted]
1
u/TheRealFanjin May 04 '20
No need! I found the solution here!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
http://el.web.id/how-to-solve-xpcomglueload-error-couldnt-load-xpcom-mozilla-firefox-debian-149
0
May 04 '20
[deleted]
1
1
u/cd109876 May 04 '20
You can also add the Ubuntu repos / use an Ubuntu container (see the wiki) which has a lot more packages than Debian on arm64, including Firefox.
3
u/ws-ilazki Samsung Chromebook Plus v2 LTE May 04 '20
Yes, you are: you're trying to run Firefox from a .tar.bz2 instead of installing it with Debian's package manager. That's sort of like the Windows idea of "portable apps" and isn't really the way to go if you want something installed so it works smoothly with other parts of the distro.
Linux distributions are not like Windows, you aren't supposed to be downloading software manually from random places off the internet and installing it. Instead, distros have central repositories of software, similar to the idea of mobile app stores (but predates them and allows use of multiple sources). Use the package manager to install the appropriate software; if it's not available, only then should you check for an official third-party repository to add or, failing that, using an alternate installation method.
The basic command-line way of installing software will be
apt, withapt searchto search for software andapt install package-nameto install it. For a nicer (but still text-based) interface you can install aptitude (apt install aptitude), or you can look into GUI package managers, of which there are many. I prefer Synaptic but any will suffice.