LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-31-2009, 02:19 PM   #1
NightSky
Member
 
Registered: Sep 2001
Distribution: Slackware64-13.17 current
Posts: 619

Rep: Reputation: 44
slackbuild nvidia installing steps question


1)
Code:
cd /home/user
2)
a)
Code:
mkdir /home/user/build
For my downloads
b)
Code:
cd /home/user/build
3) a)Goto: http://slackbuilds.org
b) Download pkg: ie. nvidia-legacy71-kernel.tar.gz
c) Source Download: NVIDIA-Linux-86-71.86.09-pkg0.run
4)
a)
Code:
su
b)
Code:
mv /home/user/nvidia-legacy71-kernel.tar.gz /local/usr/src/
5)
a)
Code:
cd /usr/local/src
b)
Code:
ls
c)
Code:
exit
(to log back in as root so there is no mistake)
d)
Code:
root
e)
Code:
passwd
f)
Code:
cd /usr/local/scr
g)
Code:
ls
h)
Code:
tar -zxf nvidia-legacy71-kernel.tar.gz
If u get an error that says no such file or dir then use the full path: tar -zxf /usr/local/src/nvidia-legacy71-kernel.tar.gz
i) Now you have a folder:nvidia-legacy71-drive
j)
Code:
cd /usr/local/src/nvidia-legacy71-drive
k)
Code:
ls
l)
Code:
chmod +x nvidia-legacy71.driver.SlackBuild*
M)
Code:
cd /home/user/build
m)
Code:
mv /home/user/build/NVIDIA-Linux-86-71.86.09-pkg0.run /usr/local/src/nvidia-legacy71-drive
N)
Code:
./nvidia-legacy71.driver.SlackBuild*
Pkg is created move to /tmp: nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz


Questions From this point on:
1) what happened to: NVIDIA-Linux-86-71.86.09-pkg0.run - downloaded from NVidia site?
2) Do I simply cd /tmp and installpkg nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz
(I know howto configure xorg.conf - this is non issue)
3) Does the SBo extenstion require special install commands?
4) Does nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz initiate the 'doinst.sh' when u do installpkg nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz

FYI i cd and ls so much to make sure everything is where it needs to be. Not looking for shortcuts just clarity.
 
Old 10-31-2009, 03:20 PM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 261

Rep: Reputation: 66
Quote:
Originally Posted by NightSky View Post
Questions From this point on:
1) what happened to: NVIDIA-Linux-86-71.86.09-pkg0.run - downloaded from NVidia site?
2) Do I simply cd /tmp and installpkg nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz
(I know howto configure xorg.conf - this is non issue)
3) Does the SBo extenstion require special install commands?
4) Does nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz initiate the 'doinst.sh' when u do installpkg nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz
I'm probably not the best one to comment on Nvidia drivers since I don't use an Nvidia card, but here is what I (think I) know.
1) I don't believe it is compatible with xorg-server 1.6 if you are using Slackware 13.0.
2) Just run "installpkg /tmp/nvidia-legacy71-driver-71.86.09-i586-1_SBo.tgz"
3) Nope. The extension is just a requirement for slackbuilds.org slackbuilds. However, there are variables you can pass to the slackbuild to customize it for your architecture or to suit your personal preference. The two that pop into mind are the ARCH and PKGTYPE variables. There's others but just look at the corresponding slackbuild and you should be able to figure it out. Also, take note if there are any special variables that can be passed to the slackbuild, usually mentioned in the README.
4) Yes, installpkg will perform any actions in a doint.sh file if it exists.
 
Old 10-31-2009, 10:28 PM   #3
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
For myself, I don't comprehend what you're trying to accomplish and I've installed nvidia from slackbuild as well as from the nvidia download site and it was fairly different than what you're doing.
As to where the nvidia driver went, I dunno how you downloaded it and I don't see where you said, but I'd check my downloads folder and wherever you were when you downloaded it.
I do most of my work from a gui, primarily because I try to type at mach 2 speed with two fingers and am more than prone to error.
I figure if I'm not in a terminal, I can't futch something up.
 
Old 11-03-2009, 02:43 PM   #4
NightSky
Member
 
Registered: Sep 2001
Distribution: Slackware64-13.17 current
Posts: 619

Original Poster
Rep: Reputation: 44
I didn't lose the Nvidia Driver Kerenl... I download everything from slackbuild. First the nvidia-legacy71-kernel.tar.gz then moved it to working folder and untarred it. Then I downloaded NVIDIA-Linux-86-71.86.09-pkg0.run also from slackbuild.org as the source into the slackbuild folder. chnged to root and chmod the slackbuild and then ran slackbuild.
This did not install the NVIDIA kernel. I woundup having to run it after I ran the slackbuild.. I must have missed something .. but it worked this way.
I thought the slackbuild wld install the source??? In the read me notes it said both had to be installed. No matter it worked. I've being leaning slackware CLI ever since i started with slackware. I don't find the GUI much easier.

FYI from CLI you just have to type everything once the use the up arrow at prompt and cycle to the command u want to use or edit for reuse

Last edited by NightSky; 11-03-2009 at 02:50 PM.
 
Old 11-04-2009, 03:24 AM   #5
ppr:kut
Member
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 280

Rep: Reputation: 46
Quote:
First the nvidia-legacy71-kernel.tar.gz then moved it to working folder and untarred it. Then I downloaded NVIDIA-Linux-86-71.86.09-pkg0.run also from slackbuild.org as the source into the slackbuild folder. chnged to root and chmod the slackbuild and then ran slackbuild.
This did not install the NVIDIA kernel
Yes, of course it did not, because that is not the purpose of a SlackBuild. SlackBuilds are supposed to create packages, not to install software.
You have to install the resulting package on your own!
 
Old 11-04-2009, 08:30 AM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 64
Usually, Slackbuilds create the package in /tmp, then you have to install them
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Installing new accelerated Nvidia Linux Drivers in 5 EASY Steps HolyLiaison LinuxAnswers Discussion 36 03-31-2010 04:41 PM
(Issue/ question) with installing nvidida drivers with slackbuild okos Slackware 7 10-22-2008 08:18 PM
NVIDIA drivers at Slackbuild AlphaSigmaOne Slackware 6 06-24-2008 12:11 PM
Gnome SlackBuild 2.20.3 installation steps jbum Slackware 4 05-21-2008 04:40 PM
SlackBuild.org nvidia kernel build script bug Woodsman Slackware 3 04-06-2008 08:48 PM


All times are GMT -5. The time now is 05:04 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
Open Source Consulting | Domain Registration