LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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



Reply
 
Search this Thread
Old 09-21-2010, 07:40 AM   #1
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
How to execute a .run file ?


Downloading Virtual box, I saw a link with title All distributions on its home page:

VirtualBox-3.2.8-64453-Linux_x86.run

I have not downloaded it yet, I wanted to know how to execute it ? I've never seen a .run file before !

Does this mean this file is supposed to run on all distributions ?
 
Old 09-21-2010, 07:45 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Code:
chmod 755 VirtualBox-3.2.8-64453-Linux_x86.run
Code:
./VirtualBox-3.2.8-64453-Linux_x86.run
confirm the same by opening the file(to confirm its bash script)

Code:
vim VirtualBox-3.2.8-64453-Linux_x86.run
 
1 members found this post helpful.
Old 09-21-2010, 07:45 AM   #3
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by anishakaul View Post
Downloading Virtual box, I saw a link with title All distributions on its home page:

VirtualBox-3.2.8-64453-Linux_x86.run

I have not downloaded it yet, I wanted to know how to execute it ? I've never seen a .run file before !

Does this mean this file is supposed to run on all distributions ?
Hi Anisha,

I just installed the same version/package on my Slackware last week and it works like clockwork. You make the file executable if it is not and the just like any normal script:
Code:
./VirtualBox-3.2.8-64453-Linux_x86.run
Kind regards,

Eric
 
1 members found this post helpful.
Old 09-21-2010, 07:47 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Original Poster
Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Thanks to Prayag and Eric.

Does this mean I don't need to download a separate RPM and DEB ?
 
Old 09-21-2010, 07:50 AM   #5
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291Reputation: 1291
Quote:
Originally Posted by anishakaul View Post
Thanks to Prayag and Eric.

Does this mean I don't need to download a separate RPM and DEB ?
Hi,

You're welcome and you're correct, this is the only file you need.

Kind regards,

Eric
 
1 members found this post helpful.
Old 09-21-2010, 07:50 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Ya it will install it
 
1 members found this post helpful.
Old 09-21-2010, 07:52 AM   #7
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Original Poster
Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Thanks again, then I wonder why on earth anyone would want to install a deb or some other thing rather than this "Generalized" one !

Thanks anyway to both of you.
 
Old 09-21-2010, 08:03 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by anishakaul View Post
Thanks again, then I wonder why on earth anyone would want to install a deb or some other thing rather than this "Generalized" one !
There is a HUGE reason not to: it won't be tracked by your package manager.

BTW ".run" just meant that they want you to execute it, it's not some special file format!
 
1 members found this post helpful.
Old 09-21-2010, 08:33 AM   #9
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Original Poster
Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by MTK358 View Post
There is a HUGE reason not to: it won't be tracked by your package manager.

BTW ".run" just meant that they want you to execute it, it's not some special file format!
Thanks,

I guess you say so because if package manager doesn't detect it, the package will not get automatic updates ?

Is that the only reason, so there is something else too ?
 
Old 09-21-2010, 08:37 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by anishakaul View Post
Thanks,

I guess you say so because if package manager doesn't detect it, the package will not get automatic updates ?

Is that the only reason, so there is something else too ?
Not just that, but you will have problems when you have dependency trees involving VirtualBox.

Also, you won't be guaranteed to have VirtualBox's dependencies, and if you decide to remove VirtualBox, you might have useless packages hanging you installed as dependencies for it.
 
1 members found this post helpful.
Old 09-21-2010, 08:44 AM   #11
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Original Poster
Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by MTK358 View Post
Not just that, but you will have problems when you have dependency trees involving VirtualBox.

Also, you won't be guaranteed to have VirtualBox's dependencies, and if you decide to remove VirtualBox, you might have useless packages hanging you installed as dependencies for it.
Many thanks again, {can't give the Rep points due to the spread system }

But in this case, I will just be running the Virtual Box, not installing it. So will I be still haunted by the dependency trees ? Or I am getting it wrong ?
 
Old 09-21-2010, 10:26 AM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Running the .run file will INSTALL it.

Anyway, It's probably not such a big deal for something like VirtualBox, but it's probably not the best way either.

But if you install an essential library that many apps use without the package manager, you will have problems.
 
1 members found this post helpful.
Old 09-21-2010, 11:02 AM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Problem with Virtualbox is that it needs kernel-modules to run properly. So every time your kernel is updated you have to recompile the kernel modules for your new kernel. If you use the packages from your distro this will be done automatically on updates, at least on my Debian machines, I don't know how this is handled on RPM-based distros.
 
1 members found this post helpful.
Old 09-21-2010, 11:36 AM   #14
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,633
Blog Entries: 29

Original Poster
Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Thanks again to MTK and TobiSGD for the enlightenment !
 
  


Reply

Tags
virtualbox


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
run(execute) file by name on solaris vaibhavs17 Linux - Newbie 2 08-26-2010 04:30 AM
Is there anyway to execute bash as interactive and run a command? nfirvine Linux - Software 6 06-24-2009 12:19 AM
unable to run c program , error : cannot execute binary file soni_silver17 Linux - Software 4 03-30-2009 09:45 AM
Run/execute Kylix executable stormNC Programming 4 06-10-2004 03:44 PM
Execute .run File kazykid22 Linux - Software 13 08-08-2003 12:30 AM


All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration