LinuxQuestions.org
Register a domain and help support LQ
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-15-2012, 04:25 PM   #1
strzz
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
How could i update/install the driver for my VGA card?


I've downloaded the .run file for my Asus EN8500GT 512MB Silent Magic PCI-e Graphics card. How can i install the driver to my Ubuntu 12.04?
And how can i install java for this copy of ubuntu?
I just installed the ubuntu recently as a back-up OS, since Windblows got error every day. So, i'm still a newbie at using ubuntu. Thx
 
Old 09-15-2012, 10:35 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Jessie
Posts: 592

Rep: Reputation: 119Reputation: 119
A .run file is a script file, but it's usually distributed (such as with nVidia) without the executable bit set. If this is the case with yours, you must first make the file executable and then run it.

Open a terminal window and do the following:

First change to the directory where you downloaded the file. Assuming it's in the Download directory of your HOME directory:
Code:
cd ~/Downloads
BASH replaces the ~ character with your $HOME environment variable. This variable is set to /home/username.

Since you did not give the full name of the file, let's assume it's silentmagic.run. To make the file executable, enter the following command in the terminal window:
Code:
chmod +x silentmagic.run
Now run the file as the superuser, enter your password when prompted:
Code:
sudo sh silentmagic.run
This will execute the .run file and install the driver. Note though, there may be some options that you may need to specify. You may be able to get help with:
Code:
sh silentmagic.run --help
Hope this helps.
 
Old 09-15-2012, 10:42 PM   #3
strzz
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by towheedm View Post
A .run file is a script file, but it's usually distributed (such as with nVidia) without the executable bit set. If this is the case with yours, you must first make the file executable and then run it.

Open a terminal window and do the following:

First change to the directory where you downloaded the file. Assuming it's in the Download directory of your HOME directory:
Code:
cd ~/Downloads
BASH replaces the ~ character with your $HOME environment variable. This variable is set to /home/username.

Since you did not give the full name of the file, let's assume it's silentmagic.run. To make the file executable, enter the following command in the terminal window:
Code:
chmod +x silentmagic.run
Now run the file as the superuser, enter your password when prompted:
Code:
sudo sh silentmagic.run
This will execute the .run file and install the driver. Note though, there may be some options that you may need to specify. You may be able to get help with:
Code:
sh silentmagic.run --help
Hope this helps.
So, i have to type in the full name of the file to make it an executeable?

Btw, what about .tar.gz file for java? What should i do with it?
 
Old 09-15-2012, 11:16 PM   #4
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Jessie
Posts: 592

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by strzz View Post
So, i have to type in the full name of the file to make it an executeable?
Technically, no. You can of course use wildcards. But since you mentioned that you're new to Linux, I'd advice that you type in the full name to prevent messing up other files.

Quote:
Originally Posted by strzz View Post
Btw, what about .tar.gz file for java? What should i do with it?
A .tar.gz file is a compressed archive file. If you downloaded it for an application, it usually means that it contains the source code for the program. This requires that you extract the files from the archive, then compile and install the application manually.

If you are referring to the java browser plugin, I'd seriously recommend that you install one from the repos. There are two that comes to mind, the Sun java and the iced-tea plugins.

You can use the Synaptic Package Manager to search for and install it.
 
  


Reply


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
VGA card driver satimis Ubuntu 4 08-05-2012 10:07 PM
Intel Vga card driver ahmed_as8 Linux - Newbie 6 03-19-2009 05:35 PM
VGA Card Driver problem bhayu11tonix Linux - Newbie 4 09-27-2008 01:13 PM
Making XP use the standard VGA driver for an old card with no XP driver MonctonJohn General 4 02-25-2008 10:33 AM
How to write vga card driver and lcd driver? bobby1112 Programming 2 09-29-2006 06:20 PM


All times are GMT -5. The time now is 12:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration