LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-12-2015, 10:27 PM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Rep: Reputation: 23
Smile newbie: how to install xorg


hi,

i installed slackware base system from downloaded iso image 14.1CD1. however i'm not sure how to install xorg from command line. I read the installation and configuration guide on Slackware website but couldn't find related info. tried 'installpkg xorg' from command line but it couldn't find xorg.
 
Old 12-12-2015, 10:49 PM   #2
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
Blog Entries: 3

Rep: Reputation: 297Reputation: 297Reputation: 297
Try using 'slackpkg'

eg;
Code:
slackpkg search xorg
Code:
slackpkg install xorg-server
or manually download the packages you want from a slackware mirror, and install them using 'installpkg'.
 
1 members found this post helpful.
Old 12-12-2015, 10:51 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Unfortunately, there's no clear cut answer for this. We only are able to accurately support Full/Complete installations of Slackware because of the fact so many libraries end up as dependencies between packages, especially for X.

My suggestion would be to try and reinstall with the complete software set for Slackware to get what you want. Yes, it adds a lot of software, but a complete installation is what is recommended due to the dependencies involved.
 
1 members found this post helpful.
Old 12-13-2015, 12:12 AM   #4
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by coralfang View Post
Try using 'slackpkg'

eg;
Code:
slackpkg search xorg
Code:
slackpkg install xorg-server
or manually download the packages you want from a slackware mirror, and install them using 'installpkg'.
thanks!

when i run
Code:
slackpkg install xorg-server
, i received:
awk: error while loading shared libraries: libmpfr.so.4 cannot open shared object file: no such file or directory.
bash: no: command not found
 
Old 12-13-2015, 12:14 AM   #5
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by ReaperX7 View Post
Unfortunately, there's no clear cut answer for this. We only are able to accurately support Full/Complete installations of Slackware because of the fact so many libraries end up as dependencies between packages, especially for X.

My suggestion would be to try and reinstall with the complete software set for Slackware to get what you want. Yes, it adds a lot of software, but a complete installation is what is recommended due to the dependencies involved.
i have slow connection at home, trying not have to download full set of installation media, only get what i need (base+xorg+icewm etc)
 
Old 12-13-2015, 12:42 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by xiongnu View Post
thanks!

when i run
Code:
slackpkg install xorg-server
, i received:
awk: error while loading shared libraries: libmpfr.so.4 cannot open shared object file: no such file or directory.
bash: no: command not found
This is because awk (used by slackpkg) needs libmpfr.so.4 as a dependencies. However this file comes from mpfr shipped in the l/ series that you did not install.

So, mount your CD e.g. as /mnt then do;
Code:
installpkg /mnt/slackware/l/mpfr*txz
After that you will be able to use slackpkg.

You are lucky, l/mpfr is on the CD 1
 
Old 12-13-2015, 03:09 AM   #7
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by xiongnu View Post
i have slow connection at home, trying not have to download full set of installation media, only get what i need (base+xorg+icewm etc)
I would second the advice by Didier here as you don't yet seem aware how to look for the dependencies if you don't install the complete Slackware system. Although what you want is definitely straightforward to do on Slackware, but it takes a bit of trial and error. For that reason it might in your case be better to start with Salix as the base. They have figured the dependencies out for you, while still being compatible with Slackware.
 
Old 12-13-2015, 03:14 AM   #8
psionl0
Member
 
Registered: Jan 2011
Distribution: slackware_64 14.1
Posts: 722
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by xiongnu View Post
i have slow connection at home, trying not have to download full set of installation media, only get what i need (base+xorg+icewm etc)
I have had to cope with diallup connections in the past. It still proved quicker to download the entire ISO than to download individual packages and then spend the next few days/weeks trying to figure out which packages I was still missing.
 
Old 12-13-2015, 03:44 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
At least install what you have on the CD 1, especially the L series.

You were advised to do that during installation, by the way, as you should have seen a dialog that says:
Quote:
SELECTING PACKAGES FROM SERIES L (Libraries)

Please confirm the packages you wish to install from series L. Use the UP/DOWN keys to scroll through the list, and the SPACE key to deselect any items you don't want to install. Keep in mind that many of these libraries are required by KDE or other parts of the system. It's safest to install all of these packages even if you aren't sure if you need them. Press ENTER when you are done.
TIP: there is an easy way to install a whole series of packages after an initial installation. For instance to install the L series, mount your CD, as /mnt, then type:
Code:
cd /mnt/slackware/l
sh install-packages
See the file /mnt/slackware/l/install-packages to know more.

You will be presented the same dialog to choose which package to install from that series as during installation if you chose the "menu" or" expert" installation mode. But again, do not uncheck anything, install everything from that series.

Last edited by Didier Spaier; 12-13-2015 at 03:45 AM.
 
1 members found this post helpful.
Old 12-13-2015, 04:16 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Quote:
i have slow connection at home, trying not have to download full set of installation media, only get what i need (base+xorg+icewm etc)
What did you download? For a base download will need A Ap L N X. This will give you a working base system with networking and Xorg. Slackware doesn't do package dependency checking, that is up to you, that is why it is recommend to do a full install.

Last edited by colorpurple21859; 12-13-2015 at 04:20 AM.
 
1 members found this post helpful.
Old 12-13-2015, 09:46 AM   #11
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
There is an easiest way to install a whole series of packages after an initial installation. For instance to install the L and X series:
Code:
# mount /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom/slackware*
# upgradepkg --install-new l/*t?z x/*t?z

Last edited by bormant; 12-13-2015 at 09:48 AM.
 
1 members found this post helpful.
Old 12-13-2015, 10:05 AM   #12
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Downloading only what you think you need is not what Slackware aims for. Slackware is a complete system.

Distributions like Arch, Debian, etc. are what you are looking for.

If you need a full Slackware disk and you have a Dial-Up or other slower connection, consider the option of purchasing a DVD set to help support Slackware development.
 
Old 12-13-2015, 12:00 PM   #13
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by ReaperX7 View Post
Downloading only what you think you need is not what Slackware aims for. Slackware is a complete system.

Distributions like Arch, Debian, etc. are what you are looking for.
Neither arch nor debian aim for that. Debian is all about aiming for the lowest common denominator, it assumes you are an idiot and as gives its users broken and over complicated tools to hold their hand while packaging is made far more complex than it ever needs to be, increasing the gap between end users and developers.

Arch is all about using the latest and "coolest" software no matter the consequences.

Slackware is simple and effective, just that given its legacy it takes a lot of effort to learn how to remove everything you don't want. Which is also a great learning experience and not really a negative at all, but if someone really wants to only use only what they want or need by default then they should probably use lfs or sourcemage.

Last edited by orbea; 12-13-2015 at 12:01 PM.
 
1 members found this post helpful.
Old 12-17-2015, 02:30 PM   #14
xiongnu
Member
 
Registered: Sep 2004
Distribution: Devuan, Void
Posts: 264

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by psionl0 View Post
I have had to cope with diallup connections in the past. It still proved quicker to download the entire ISO than to download individual packages and then spend the next few days/weeks trying to figure out which packages I was still missing.
thanks! I installed everything on cd1 and downloaded DVD image and installed 'x', 'xap' series as ppl suggested. now I have a functional x with 'TWM'.

i'm new to slackware, it feels quite different comparing with other distro such as debian and FreeBSD - in those distros, I could just install what I need (base+x+icewm/xfce).

marked thread resolved.
 
Old 12-17-2015, 06:03 PM   #15
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
It is a different type of distribution. Slackware is a complete system that doesn't have the problems of other distributions.
 
  


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
Can someone check my xorg.conf for me - bit of a newbie q really... frammy7 Linux - Hardware 10 03-08-2009 08:09 AM
Removing custom built Xorg to install Etch's Xorg kushalkoolwal Debian 4 05-30-2007 01:50 AM
Xorg.conf and Nvidia's Twinview - Help a newbie out PLEASE!!! thesonic1 Linux - General 4 02-17-2005 12:59 PM
Xorg Info - Newbie Question Devon Linux - Software 1 08-06-2004 12:36 PM

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

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