LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to get packages from the /extra directory of the live DVD (https://www.linuxquestions.org/questions/slackware-14/how-to-get-packages-from-the-extra-directory-of-the-live-dvd-908077/)

pottzie 10-13-2011 09:58 PM

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.

TobiSGD 10-13-2011 10:51 PM

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

pottzie 10-14-2011 12:08 AM

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.

allend 10-14-2011 12:31 AM

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'.

TobiSGD 10-14-2011 06:10 AM

Quote:

Originally Posted by pottzie (Post 4498074)
"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
...


disturbed1 10-14-2011 07:19 AM

Quote:

Originally Posted by pottzie (Post 4498074)
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.

pottzie 10-14-2011 02:11 PM

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.

pottzie 10-14-2011 03:55 PM

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.


All times are GMT -5. The time now is 02:40 PM.