use the source file for installation
use the source file for installation
I am trying to install firefox China on my Xubuntu machine. It is a seemingly normal tar.bz2 file. But I could not get it to be installed. Here is some reference https://www.makeuseof.com/tag/compile-in...ntu-linux/ Here are the steps I took until I hit a block. * Prepare your system for installing from source ```bash # https://www.makeuseof.com/tag/compile-in...ntu-linux/ sudo apt-get install build-essential checkinstall sudo apt-get install subversion git-core mercurial # Install autoconf sudo apt-get install autoconf # Put all of the source code folder inside here : /usr/local/src # Create this directory sudo chown $USER /usr/local/src # Gave it write access sudo chmod u+rwx /usr/local/src # Install apt-file for dependency issues sudo apt-get install apt-file # Update apt-file sudo apt-file update # Move your tar.gz / tar.bz2 filr to here : /usr/local/src sudo mv <YOUR_TAR.GZ_FILE_NAME> <DESTINATION_FOLDER_PATH> # cd into the local src folder cd /usr/local/src # extract the source file tar -xzvf <filename>.tar.gz # OR tar -xjvf <filename>.tar.bz2 # Read the README file or INSTALL file # cd into your software's folder cd /usr/local/src/<extracted folder> # Note: If your software does not have a configure file, you might want to try skipping straight to the Build & Install section of this article, though consult your INSTALL or README documentation first. Here comes the question : The folder DOES NOT contain any ./configure file. What should I do.
You're certain the source code is included? The screenshot shows compiled files in /usr/local/src/firefox, not the original source files.
The app works now. I'm unsure about placing it or setting up a shortcut, and I'm using Xubuntu 18.04.
You've saved a pre-compiled Firefox version, not the original source. The instructions you found are irrelevant. You decide where to install it. On Linux, it's common to place pre-compiled apps in /opt and add a .desktop file to /usr/share/applications.
I plan to try this tomorrow since I'm leaving now. Appreciate the info! I'll update you once it's done.
I have followed the guide but still, cannot get it to work. Here's my Firefox_China.desktop [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=false Exec=/opt/firefox Name=Firefox_China Icon=/opt/firefox/browser/chrome/icons/default/default32.png When I tried to execute the file (I can see the app from my app list btw) it says : Faield to execue child process "opt/firefox" (Permission Denied)..
I adjusted the access settings to allow both reading and writing.