Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-15-2014, 02:21 PM
|
#1
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware
Posts: 7
Rep:
|
( I am a new user Slackware ) : I have some problems in the software installation
hi, everybody
First,I'm sorry if some of my words incomprehensible, because English is not good in the dialogue.
I installed Slackware 14.1 successfully, but I can not install programs that I want
I want to install the latest version Firefox ( Because the default browser is slow )
I've download firefox-26.0.tar.bz2 and extract it
Then written as a root
Code:
sh ./run-mozilla.sh
and Gives me
Code:
run-mozilla.sh: Cannot execute .
I know I can run it by typing "./firefox "But I want to install it,How can I do that?
--------------------
The other problem with The SlackBuilds.org , any packages i want install it , Gives me
Code:
NOTE: GNU gettext appears to be missing or out-of-date.
Please install or update GNU gettext.
Also check if you have cvs, a dependency of autopoint.
Otherwise, you will not be able to build a source tarball.
and last konsole
Code:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
I want to play my Multimedia file , I am waiting for the answer
|
|
|
01-15-2014, 02:35 PM
|
#2
|
Member
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333
Rep:
|
Firefox is installed on slackware in /usr/lib (/usr/lib64 on 64 bit systems), and /usr/bin/firefox is symlinked to whichever version you want enabled. This is useful if you ever need to downgrade or change versions - you just update the symlink to point to whichever version you want to run.
If you take a look you'll see what I mean:
Code:
$ which firefox
/usr/bin/firefox
Code:
$ ls -l /usr/bin/firefox
lrwxrwxrwx 1 root root 33 Nov 17 12:38 /usr/bin/firefox -> /usr/lib64/firefox-24.1.0/firefox*
So you can install the new version like this:
- copy the firefox directory from the archive to /usr/lib/firefox-26.0
- remove the symlink at /usr/bin/firefox
- replace it with a new symlink that points to /usr/lib/firefox-26.0/firefox
|
|
3 members found this post helpful.
|
01-15-2014, 04:58 PM
|
#3
|
LQ Newbie
Registered: Aug 2012
Distribution: Slackware
Posts: 17
Rep:
|
With slackbuilds, this looks like an incomplete installation of slackware, gettext has two diferents packages, gettext and gettext-tools, the first is part of a basic installation, the second is part of a development libraries.
You can configure the slackpkg to download files from a mirror in /etc/slackpkg/mirrors and then run
Code:
slackpkg update
slackpkg install d
for install development libraries.
|
|
1 members found this post helpful.
|
01-15-2014, 08:39 PM
|
#4
|
Member
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174
Rep:
|
as root, wget this: http://www.panix.com/~ruari/latest-firefox make it executable (chmod +x latest-firefox) and run it (./latest-firefox), it will create a slackware package to install for you.. worked great.
if you want a differant language just export FFLANG=<yourlanguage> befor runing it.
for the slackbuilds problem.. you may want to use sbopkg.
|
|
1 members found this post helpful.
|
01-15-2014, 09:19 PM
|
#5
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583
|
Quote:
Originally Posted by Stuferus
|
I submit that ruario's script is waaay too sexy for a "new user"
I used his script before I knew about the simple method described by dhabyx, above,
and now I feel....corrupted....decadent, even
|
|
1 members found this post helpful.
|
01-16-2014, 07:05 AM
|
#6
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by mattca
Firefox is installed on slackware in /usr/lib (/usr/lib64 on 64 bit systems), and /usr/bin/firefox is symlinked to whichever version you want enabled. This is useful if you ever need to downgrade or change versions - you just update the symlink to point to whichever version you want to run.
If you take a look you'll see what I mean:
Code:
$ which firefox
/usr/bin/firefox
Code:
$ ls -l /usr/bin/firefox
lrwxrwxrwx 1 root root 33 Nov 17 12:38 /usr/bin/firefox -> /usr/lib64/firefox-24.1.0/firefox*
So you can install the new version like this:
- copy the firefox directory from the archive to /usr/lib/firefox-26.0
- remove the symlink at /usr/bin/firefox
- replace it with a new symlink that points to /usr/lib/firefox-26.0/firefox
|
I use Slackware 32-bit, when I write
Code:
bash-4.2$ which firefox
which: no firefox in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/kde4/libexec:/usr/lib/qt/bin)
bash-4.2$
|
|
|
01-16-2014, 07:08 AM
|
#7
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by dhabyx
With slackbuilds, this looks like an incomplete installation of slackware, gettext has two diferents packages, gettext and gettext-tools, the first is part of a basic installation, the second is part of a development libraries.
You can configure the slackpkg to download files from a mirror in /etc/slackpkg/mirrors and then run
Code:
slackpkg update
slackpkg install d
for install development libraries.
|
I think it is installed .... Look
Code:
bash-4.2$ su
Password:
bash-4.2# slackpkg
slackpkg - version 2.81.1
Usage:
slackpkg [OPTIONS] {install|remove|search|file-search|
upgrade|reinstall|blacklist} {PATTERN|FILE}
slackpkg [OPTIONS] {generate-template|install-template|remove-template}
TEMPLATENAME
slackpkg [OPTIONS] info PACKAGE
slackpkg [OPTIONS] update [gpg]
slackpkg [OPTIONS] {clean-system|upgrade-all|install-new}
slackpkg [OPTIONS] {new-config|check-updates|help}
If you need more information try to use 'slackpkg help' or look the
slackpkg's manpage.
bash-4.2# slackpkg search gettext
Looking for gettext in package list. Please wait... DONE
The list below shows all packages with name matching "gettext".
[ installed ] - gettext-0.18.2.1-i486-2
[ installed ] - gettext-tools-0.18.2.1-i486-2
You can search specific files using "slackpkg file-search file".
|
|
|
01-16-2014, 07:12 AM
|
#8
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by Stuferus
as root, wget this: http://www.panix.com/~ruari/latest-firefox make it executable (chmod +x latest-firefox) and run it (./latest-firefox), it will create a slackware package to install for you.. worked great.
if you want a differant language just export FFLANG=<yourlanguage> befor runing it.
for the slackbuilds problem.. you may want to use sbopkg.
|
Code:
bash-4.2$ su
Password:
bash-4.2# wget http://www.panix.com/~ruari/latest-firefox
--2014-01-16 14:33:11-- http://www.panix.com/~ruari/latest-firefox
Resolving www.panix.com (www.panix.com)... 166.84.62.125, 166.84.62.253
Connecting to www.panix.com (www.panix.com)|166.84.62.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10741 (10K) [text/plain]
Saving to: 'latest-firefox'
100%[=============================================================>] 10,741 22.4KB/s in 0.5s
2014-01-16 14:33:20 (22.4 KB/s) - 'latest-firefox' saved [10741/10741]
bash-4.2# ls
Downloads latest-firefox waht first do
bash-4.2# chmod +x latest-firefox
bash-4.2# ./latest-firefox
/tmp/mozilla-firefox-26.0-i686-1ro.tgz already exists; exiting
bash-4.2# cd /tmp/install
bash-4.2# ls
doinst.sh slack-desc
bash-4.2# chmod +x doinst.sh
bash-4.2# ./doinst.sh
./doinst.sh: line 1: cd: usr/lib/firefox-26.0/browser: No such file or directory
./doinst.sh: line 2: cd: usr/lib/firefox-26.0/browser: No such file or directory
./doinst.sh: line 3: cd: usr/bin: No such file or directory
./doinst.sh: line 4: cd: usr/bin: No such file or directory
./doinst.sh: line 5: cd: usr/share/icons/hicolor/48x48/apps: No such file or directory
./doinst.sh: line 6: cd: usr/share/icons/hicolor/48x48/apps: No such file or directory
./doinst.sh: line 7: cd: usr/share/icons/hicolor/32x32/apps: No such file or directory
./doinst.sh: line 8: cd: usr/share/icons/hicolor/32x32/apps: No such file or directory
./doinst.sh: line 9: cd: usr/share/icons/hicolor/16x16/apps: No such file or directory
./doinst.sh: line 10: cd: usr/share/icons/hicolor/16x16/apps: No such file or directory
./doinst.sh: line 11: cd: usr/share/icons/hicolor/128x128/apps: No such file or directory
./doinst.sh: line 12: cd: usr/share/icons/hicolor/128x128/apps: No such file or directory
gtk-update-icon-cache: Failed to open file usr/share/icons/hicolor/.icon-theme.cache : No such file or directory
bash-4.2#
Is my way to install it correct ?
|
|
|
01-16-2014, 07:12 AM
|
#9
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
try 'ls -l /usr/lib/firefox*', you should get at least a directory and a symlink (without the version number); in negative case, you should install the package, you can get it from any slackware mirror ( ftp://ftp.slackware.com/pub/slackwar...esr-i486-1.txz for example) and install it with 'installpkg mozilla-firefox-24.1.0esr-i486-1.txz' from root or preceding the command with sudo (sudo installpkg mozilla-firefox-24.1.0esr-i486-1.txz); i don't use slackpkg so i can't help
Last edited by gengisdave; 01-16-2014 at 07:14 AM.
|
|
1 members found this post helpful.
|
01-16-2014, 07:19 AM
|
#10
|
Member
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174
Rep:
|
Quote:
Originally Posted by Battousai_2
Code:
bash-4.2$ su
Password:
bash-4.2# wget http://www.panix.com/~ruari/latest-firefox
--2014-01-16 14:33:11-- http://www.panix.com/~ruari/latest-firefox
Resolving www.panix.com (www.panix.com)... 166.84.62.125, 166.84.62.253
Connecting to www.panix.com (www.panix.com)|166.84.62.125|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10741 (10K) [text/plain]
Saving to: 'latest-firefox'
100%[=============================================================>] 10,741 22.4KB/s in 0.5s
2014-01-16 14:33:20 (22.4 KB/s) - 'latest-firefox' saved [10741/10741]
bash-4.2# ls
Downloads latest-firefox waht first do
bash-4.2# chmod +x latest-firefox
bash-4.2# ./latest-firefox
/tmp/mozilla-firefox-26.0-i686-1ro.tgz already exists; exiting
bash-4.2# cd /tmp/install
bash-4.2# ls
doinst.sh slack-desc
bash-4.2# chmod +x doinst.sh
bash-4.2# ./doinst.sh
./doinst.sh: line 1: cd: usr/lib/firefox-26.0/browser: No such file or directory
./doinst.sh: line 2: cd: usr/lib/firefox-26.0/browser: No such file or directory
./doinst.sh: line 3: cd: usr/bin: No such file or directory
./doinst.sh: line 4: cd: usr/bin: No such file or directory
./doinst.sh: line 5: cd: usr/share/icons/hicolor/48x48/apps: No such file or directory
./doinst.sh: line 6: cd: usr/share/icons/hicolor/48x48/apps: No such file or directory
./doinst.sh: line 7: cd: usr/share/icons/hicolor/32x32/apps: No such file or directory
./doinst.sh: line 8: cd: usr/share/icons/hicolor/32x32/apps: No such file or directory
./doinst.sh: line 9: cd: usr/share/icons/hicolor/16x16/apps: No such file or directory
./doinst.sh: line 10: cd: usr/share/icons/hicolor/16x16/apps: No such file or directory
./doinst.sh: line 11: cd: usr/share/icons/hicolor/128x128/apps: No such file or directory
./doinst.sh: line 12: cd: usr/share/icons/hicolor/128x128/apps: No such file or directory
gtk-update-icon-cache: Failed to open file usr/share/icons/hicolor/.icon-theme.cache : No such file or directory
bash-4.2#
Is my way to install it correct ?
|
never do a "su", do a "su -"! it gets you the login shell you may need!
you installpkg the file in tmp! you do not run the doinst.sh yourself.
|
|
1 members found this post helpful.
|
01-16-2014, 08:30 AM
|
#11
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,956
|
Member Response
Hi,
Quote:
Originally Posted by STDOUBT
I submit that ruario's script is waaay too sexy for a "new user"
I used his script before I knew about the simple method described by dhabyx, above,
and now I feel....corrupted....decadent, even
|
Actually, Ruari Oedegaard (ruario) script( www.panix.com/~ruari/latest-firefox) is very useful, even for a new user;
Quote:
# latest-firefox Version 1.0RC9 # This script will find the latest Firefox binary package, download it # and repackage it into Slackware format.
|
Once you run the script it is just a matter of installing package after package creation.
PV, has decided 'esr' is the way to go in the future but I like to experiment with current beta Firefox versions.
|
|
1 members found this post helpful.
|
01-16-2014, 10:53 AM
|
#12
|
LQ Newbie
Registered: Jan 2014
Distribution: Slackware
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by gengisdave
try 'ls -l /usr/lib/firefox*', you should get at least a directory and a symlink (without the version number); in negative case, you should install the package, you can get it from any slackware mirror ( ftp://ftp.slackware.com/pub/slackwar...esr-i486-1.txz for example) and install it with 'installpkg mozilla-firefox-24.1.0esr-i486-1.txz' from root or preceding the command with sudo (sudo installpkg mozilla-firefox-24.1.0esr-i486-1.txz); i don't use slackpkg so i can't help
|
Yes, yes, yes ....
I have been successfully installed, form The first Try
Thank you very much
-------
And I want to thank the other members, for trying to help me ( mattca , dhabyx , Stuferus , STDOUBT , onebuck )
-------
Now, video files ( mp4 , avi , mkv , ... , ... )
What the Easy way to Play it ?
|
|
|
01-16-2014, 11:02 AM
|
#13
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
I use MPlayer and a frontend for it called 'smplayer', in kde/extragear there is a package called 'kplayer' which is similar; with kde you can find a player called 'dragon', but i don't even install it. There'is also Xine. Except smplayer, they're all shipped with slack (xap or kde directory).
|
|
|
01-17-2014, 02:22 AM
|
#15
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
Quote:
Originally Posted by Battousai_2
Code:
bash-4.2# ./latest-firefox
/tmp/mozilla-firefox-26.0-i686-1ro.tgz already exists; exiting
|
Given the message the script returns it looks like you have already run it before and created a package. All you needed was to go ahead and install it:
Code:
upgradepkg --install-new /tmp/mozilla-firefox-26.0-i686-1ro.tgz
|
|
|
All times are GMT -5. The time now is 05:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|