Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-12-2016, 10:13 AM
|
#1
|
LQ Newbie
Registered: Sep 2016
Posts: 10
Rep: 
|
Is there a way to extract .run file?
I have a self extracting archive packaged as .run file, but as it wants to write in the system area I'd love to extract it first and look at the contents. Is there a way to do it?
Unzip / tar won't extract straight away. When I opened the file in the text editor I can see the installation script - but it is a bit complex one for me and I haven't figured the things out.
|
|
|
11-12-2016, 10:53 AM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,597
|
There's usually a script and an archive in them, but the format and the script varies. They often accept --help, and in the script look out for lines beginning with '#' where you may find the info you require. In many there are options like 'explode,' 'extract' or 'uninstall.'
|
|
|
11-12-2016, 11:11 AM
|
#3
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by Przemas
I'd love to extract it first and look at the contents. Is there a way to do it?
...When I opened the file in the text editor I can see the installation script
|
What is the problem?
You see it but don't understand it?
Do you know how to run it, assuming you did understand it?
|
|
|
11-12-2016, 12:28 PM
|
#4
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,690
|
if this UNKNOWN run file is the nvidia driver
please see the HELP option
Code:
NVIDIA-Linux*.run -h
there is a option to extract only
|
|
|
11-12-2016, 12:40 PM
|
#5
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
The simple answer to the question is no. It is not possible to in somw way extract a human-readable file. The bit you cannot ready is a "binary blob". Take it or leave it.
|
|
|
11-12-2016, 03:24 PM
|
#6
|
LQ Newbie
Registered: Sep 2016
Posts: 10
Original Poster
Rep: 
|
so in short - it is not possible, right?
Strange, as basically I thought it is simply a combined script and an archive - thus I assumed you can bypass install script.
Other than that installer works - but I just wanted to see where it actually puts the files (and which ones) which would help me in troubleshooting where it messes things I have already installed.
|
|
|
11-12-2016, 03:29 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,690
|
well WHAT IS THIS .run file!!!!!!
it's name please and where did you get it ?
and did you see it there are ANY OPTIONS in the help menu!!!!!!
for a run like the nvidia driver you CAN EXTRACT IT with out installing
Code:
sh *.run -h
NVIDIA-Linux-x86_64-340.98.run [options]
This program will install the NVIDIA Accelerated Graphics Driver for
Linux-x86_64 340.98 by unpacking the embedded tarball and executing
the ./nvidia-installer installation utility.
Below are the most common options; for a complete list use
'--advanced-options'.
--info
Print embedded info (title, default target directory) and exit.
--check
Check integrity of the archive and exit.
-x, --extract-only
Extract the contents of NVIDIA-Linux-x86_64-340.98.run, but do not
run 'nvidia-installer'.
The following arguments will be passed on to the ./nvidia-installer
utility:
-a, --accept-license
Bypass the display and prompting for acceptance of the
NVIDIA Software License Agreement. By passing this option
to nvidia-installer, you indicate that you have read and
accept the License Agreement contained in the file
'LICENSE' (in the top level directory of the driver
package).
--update
Connect to the NVIDIA FTP server '
ftp://download.nvidia.com ' and determine the latest
available driver version. If there is a more recent driver
available, automatically download and install it. Any
other options given on the commandline will be passed on to
the downloaded driver package when installing it.
-v, --version
Print the nvidia-installer version and exit.
-h, --help
Print usage information for the common commandline options
and exit.
-A, --advanced-options
Print usage information for the common commandline options
as well as the advanced options, and then exit.
Last edited by John VV; 11-12-2016 at 03:31 PM.
|
|
|
11-12-2016, 04:22 PM
|
#8
|
LQ Newbie
Registered: Sep 2016
Posts: 10
Original Poster
Rep: 
|
it's not nvidia driver - it is a package with assets for the 3d app I use. That's why I assumed those .run files are easy in nature, a combination of extraction script (with options) and archive.
|
|
|
11-12-2016, 04:24 PM
|
#9
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Execute it in chroot.
|
|
|
All times are GMT -5. The time now is 07:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|