LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-15-2014, 02:21 PM   #1
Battousai_2
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
Unhappy ( 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
 
Old 01-15-2014, 02:35 PM   #2
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
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.
Old 01-15-2014, 04:58 PM   #3
dhabyx
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
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.
Old 01-15-2014, 08:39 PM   #4
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
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.
Old 01-15-2014, 09:19 PM   #5
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by Stuferus View Post
as root, wget this: http://www.panix.com/~ruari/latest-firefox make it executable (chmod +x latest-firefox) and run it...
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.
Old 01-16-2014, 07:05 AM   #6
Battousai_2
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mattca View Post
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$
 
Old 01-16-2014, 07:08 AM   #7
Battousai_2
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dhabyx View Post
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".
 
Old 01-16-2014, 07:12 AM   #8
Battousai_2
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Stuferus View Post
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 ?
 
Old 01-16-2014, 07:12 AM   #9
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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.
Old 01-16-2014, 07:19 AM   #10
Stuferus
Member
 
Registered: Jun 2013
Location: Germany
Distribution: Slackware
Posts: 174

Rep: Reputation: Disabled
Quote:
Originally Posted by Battousai_2 View Post
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.
Old 01-16-2014, 08:30 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,956
Blog Entries: 46

Rep: Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185
Member Response

Hi,

Quote:
Originally Posted by STDOUBT View Post
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.
Old 01-16-2014, 10:53 AM   #12
Battousai_2
LQ Newbie
 
Registered: Jan 2014
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gengisdave View Post
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 ?
 
Old 01-16-2014, 11:02 AM   #13
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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).
 
Old 01-16-2014, 11:04 AM   #14
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Battousai_2 View Post
Now, video files ( mp4 , avi , mkv , ... , ... )

What the Easy way to Play it ?
Get Alien Bob's VLC:
http://www.slackware.com/~alien/slackbuilds/vlc/

or this if you're outside the US:
http://slackware.org.uk/people/alien...ackbuilds/vlc/
 
Old 01-17-2014, 02:22 AM   #15
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by Battousai_2 View Post
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
 
  


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
[SOLVED] What's the best way to install more software sets after a Slackware installation? agi93 Slackware 6 01-09-2010 01:44 PM
Slackware User : Installation of Ndiswrapper Driver ironring Linux - Newbie 13 02-11-2008 07:03 AM

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

All times are GMT -5. The time now is 05:21 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