F5F Stay Refreshed Software Operating Systems use the source file for installation

use the source file for installation

use the source file for installation

W
Wild_Cat_Girl
Junior Member
19
02-13-2016, 11:05 PM
#1
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.
W
Wild_Cat_Girl
02-13-2016, 11:05 PM #1

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.

S
shadowbacca
Member
226
02-15-2016, 12:17 AM
#2
You're certain the source code is included? The screenshot shows compiled files in /usr/local/src/firefox, not the original source files.
S
shadowbacca
02-15-2016, 12:17 AM #2

You're certain the source code is included? The screenshot shows compiled files in /usr/local/src/firefox, not the original source files.

H
hbnate
Member
50
02-22-2016, 06:31 PM
#3
I saved the tar.bz2 file and found a folder named firefox inside. This is the exact file I obtained from Firefox China's official site...
H
hbnate
02-22-2016, 06:31 PM #3

I saved the tar.bz2 file and found a folder named firefox inside. This is the exact file I obtained from Firefox China's official site...

T
TNTMaster2904
Junior Member
16
02-22-2016, 08:19 PM
#4
The app works now. I'm unsure about placing it or setting up a shortcut, and I'm using Xubuntu 18.04.
T
TNTMaster2904
02-22-2016, 08:19 PM #4

The app works now. I'm unsure about placing it or setting up a shortcut, and I'm using Xubuntu 18.04.

M
maxtenhoedt
Junior Member
3
02-24-2016, 08:36 PM
#5
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.
M
maxtenhoedt
02-24-2016, 08:36 PM #5

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.

W
whysobadfor
Junior Member
22
02-24-2016, 10:22 PM
#6
I plan to try this tomorrow since I'm leaving now. Appreciate the info! I'll update you once it's done.
W
whysobadfor
02-24-2016, 10:22 PM #6

I plan to try this tomorrow since I'm leaving now. Appreciate the info! I'll update you once it's done.

S
Salgorin
Junior Member
14
02-25-2016, 11:59 PM
#7
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)..
S
Salgorin
02-25-2016, 11:59 PM #7

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)..

S
Sonic_worm
Junior Member
15
02-27-2016, 04:15 AM
#8
I adjusted the access settings to allow both reading and writing.
S
Sonic_worm
02-27-2016, 04:15 AM #8

I adjusted the access settings to allow both reading and writing.