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
 
LinkBack Search this Thread
Old 09-21-2010, 06:40 AM   #1
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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, 06:45 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,132
Blog Entries: 4

Rep: Reputation: 146Reputation: 146
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, 06:45 AM   #3
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
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, 06:47 AM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

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

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

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
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, 06:50 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,132
Blog Entries: 4

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

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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, 07:03 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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, 07:33 AM   #9
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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, 07:37 AM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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, 07:44 AM   #11
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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, 09:26 AM   #12
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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, 10:02 AM   #13
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,865
Blog Entries: 2

Rep: Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797Reputation: 3797
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, 10:36 AM   #14
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,598
Blog Entries: 29

Original Poster
Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 11:48 PM.

Main Menu
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