LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 10-13-2011, 09:58 PM   #1
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Rep: Reputation: 15
How to get packages from the /extra directory of the live DVD


I know I'm gonna get whacked for asking, but how do I get stuff off of the /extra directory on the install disc? I've been searching Google all night, and keep coming up empty. Best I've come across is to mount the dvd, but I can't get that to happen. I can see the files on the disc, just can't get bash to connect with them.
 
Old 10-13-2011, 10:51 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
You can either use slackpkg (if you have configured it to use the DVD) or you can use the installpkg command for that. Just cd to a folder which contains a package and do installpkg packagename
 
Old 10-14-2011, 12:08 AM   #3
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
I'm trying to get Google Chrome working. I followed this guide;
http://slackwiki.org/index.php?title...wser&oldid=523

and it installed the Chromium icon in the Network Menu (I'm using XFCE, Slackware 13.37). Chrome doesn't open, and I've read that it needs pam libraries, and that /extra has better sources than those shown in the guide(?).

"slackpkg google-chrome" didn't work, and installpkg wouldn't work either. You said that I needed to configure slackpkg to use the dvd. I'm not finding anything anywhere that shows me how to do that.
 
Old 10-14-2011, 12:31 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
When using the Slackware pkgtool utilities, you need to specify the package extension.
After placing DVD in the drive, try, as root,
Code:
mount /dev/sr0 /mnt/tmp
cd /mnt/tmp/extra/google-chrome
upgradepkg --install-new GConf*.txz ORBit2*.txz google-chrome-pam-solibs*.txz
cd
umount /mnt/tmp
eject
For information on slackpkg, do 'man slackpkg'.

Last edited by allend; 10-14-2011 at 07:45 AM. Reason: Forget to cd before umount
 
Old 10-14-2011, 06:10 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by pottzie View Post
"slackpkg google-chrome" didn't work, and installpkg wouldn't work either. You said that I needed to configure slackpkg to use the dvd. I'm not finding anything anywhere that shows me how to do that.
To configure where slackpkg gets the packages you have to edit /etc/slackpkg/mirrors. You also need to say slackpkg what to do, like
Code:
slackpkg install PACKAGE
slackpkg remove PACKAGE
slackpkg update
slackpkg upgrade-all
...
 
Old 10-14-2011, 07:19 AM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by pottzie View Post
I'm trying to get Google Chrome working. I followed this guide;
http://slackwiki.org/index.php?title...wser&oldid=523

and it installed the Chromium icon in the Network Menu (I'm using XFCE, Slackware 13.37). Chrome doesn't open, and I've read that it needs pam libraries, and that /extra has better sources than those shown in the guide(?).

"slackpkg google-chrome" didn't work, and installpkg wouldn't work either. You said that I needed to configure slackpkg to use the dvd. I'm not finding anything anywhere that shows me how to do that.
Another way to skin the cat

After you uncomment a mirror in /etc/slackpkg/mirrors

You need to install GConf, ORBit2, google-chrome-pam-solibs.
Code:
slackpkg update (refreshes the list of packages, updates ...)
slackpkg install-new (installs newly added packages, rarely for a stable release)
slakcpkg upgrade-all (installs any security updates/patches)
slackpkg clean-system (removes any non official Slackware packages. *)
slackpkg install GConf (installs GConf cAsE is important. slackpkg will not find gconf, GConf2 ...)
slackpkg install ORBit2 
slackpkg install google-chrome-pam-solibs
* slackpkg clean-system will remove all foreign packages, including SBo packages. You can use /etc/slackpkg/blacklist to configure this -- it is documented

You have to build your own google-chrome package. Grab the google-chrome.SlackBuild
Code:
wget http://slackware.osuosl.org/slackware-13.37/extra/google-chrome/google-chrome.SlackBuild
Download the Google Chrome .deb binary from Google. Chose the version you want, and matching arch. (32bit=i386, 64bit=amd64)
Stable release
http://dl.google.com/dl/linux/direct...rrent_i386.deb
http://dl.google.com/dl/linux/direct...rent_amd64.deb
Beta release
http://dl.google.com/dl/linux/direct...rrent_i386.deb
http://dl.google.com/dl/linux/direct...rent_amd64.deb
Dev release
http://dl.google.com/dl/linux/direct...rrent_i386.deb
http://dl.google.com/dl/linux/direct...rent_amd64.deb

The google-chrome.SlackBuild and google-chrome-$VERSION.deb should be in the same directory, then as root -
Code:
RELEASE=beta sh google-chrome.SlackBuild
upgradepkg --install-new /tmp/google-chrome*.txz
change RELEASE=beta to match stable, beta, unstable. Stable is the default.

I thought One Buck has this in the wiki. Look for any of his posts, and follow the links in his sig.

Last edited by disturbed1; 10-14-2011 at 07:22 AM.
 
Old 10-14-2011, 02:11 PM   #7
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
I ran allend's code and it worked. But bash says that everything is installed already, so whatever the guide shows must be good info. I just can't get chromium to run, either from the start menu or the command line. The things I've tried to get it working from the terminal are guesses, like 'chromium', 'google-chrome,' etc. All=Command not found.
I'll try a few of the other suggestions in a bit, but I wonder if I actually have it installed and am just missing or needing something to verify that it does or doesn't work. I never get anything saying that something is wrong or anything is missing, I just don't get anything, period, to know if it's there or not.
 
Old 10-14-2011, 03:55 PM   #8
pottzie
Member
 
Registered: Aug 2009
Posts: 150

Original Poster
Rep: Reputation: 15
disturbed1's advice was spot-on! I'm posting this from Google Chrome. Who'da thunk that a .deb file was what I needed.
Google wouldn't let me run as root, I had to reboot to get back into my user session. I kept doing "su" then trying to change back to my user id, but whenever I would open another terminal, it was as root. Once I rebooted and switched useres that way, Chrome went to town.

Thanks everybody.
 
  


Reply



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
Installing packages from a live CD/DVD bubblez Linux - General 3 09-17-2009 07:04 AM
LXer: Fedora's Extra Packages for Enterprise Linux the Extra Mile LXer Syndicated Linux News 0 06-20-2008 10:10 PM
remove extra packages plesaleza Debian 3 08-22-2007 09:08 AM
F7: rsync extra packages. lord loh. Linux - General 2 06-07-2007 12:27 AM
How to install extra packages??? Da_riPPer Linux - Newbie 1 08-11-2005 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:37 PM.

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
Open Source Consulting | Domain Registration