Hot answers tagged slackware
12
The following website provides a tool that will translate markdown into HTML:
http://daringfireball.net/projects/markdown/
Once you convert the file to HTML, there are a number of command line tools to use to view the file. Using a test file that contains markdown formatted-text, I found the following worked nicely.
$ wget ...
4
There's also Discount, David Parsons' C implementation of John Gruber's Markdown text to html language. Discount consists of several command-line tools including markdown, mkd2html, makepage, mktags and theme.
http://www.pell.portland.or.us/~orc/Code/discount/
In addition, there's an implementation of markdown in C, using a PEG grammar.
...
3
Have you tried the instructions on the official network config site? I think most of your starting configuration questions will be written here.
By the way, if you really want to dive into Linux, don't go for Ubuntu cause you won't ever understand the core workflow of Linux systems. With slackware you will have a hard time learning how to do things, but if ...
3
Apparently, it can be enabled/disabled using /proc/sys/kernel/sysrq if the kernel supports it, i.e., CONFIG_MAGIC_SYSRQ is enabled in the kernel config what should be the case for Slackware, according to this.
3
Finally I solved this problem by just comment out the following line in Makefile
#ifndef NO_LIBPERL
#PERL_EMBED_LDOPTS = `perl -MExtUtils::Embed -e ldopts 2>/dev/null`
#PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null`
#endif
It looked like MExtUtils::Embed generate wrong LDFLAGS for libperl
I also found that slackware perl package ...
3
I know you said you preferred a non-GUI application, but I am currently working on a GUI application called DownMarker which does this. You can find the source in a mercurial repository here. You can find a stand-alone executable to run with mono or .NET here.
Caveat: It is far from finished and only occasionally tested on linux/mono. Last test I did was on ...
3
You can use pip or easy_install to install python modules.
$ pip install <package-name>
Edit:
I tried installing urllib2 package and it told me that the real name of requirement urllib2 is urllib3. Here is the what it happened:
pradeep@pradeep-laptop:~$ sudo pip install urllib2
Downloading/unpacking urllib2
Real name of requirement urllib2 is ...
3
You need to reinstall GRUB, you can do this from a chroot. Boot into a live CD, chroot into your Linux system and issue grub-install.
Something like the following should work (assuming /dev/sda2 is / and /dev/sda1 is /boot, and you want to install to the MBR on /dev/sda):
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
mount -t proc none /mnt/proc
mount -o ...
2
To me /home partition is automatic for back-ups and ease of upgrading/installing new systems. You can even (usually) share your /home between differing OSes (doesn't apply now, but you never know). I keep it tidy (< USB drive size) so I can move it around easily.
Other than that, I haven't noticed much benefit to partitioning other things for home PC ...
2
I found an answer here: http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=192391
And it works! :-)
It changes APR_XtOffsetOf to APR_OFFSETOF in the .c file.
Patch which solves the problem:
--- mod_auth_mysql.c.orig 2007-09-13 09:36:14.000000000 +0200
+++ mod_auth_mysql.c 2007-09-13 09:41:49.000000000 +0200
@@ -589,87 +589,87 @@
static
...
2
I can't answer your question, but you could use the llvm 2.9 Slackbuild from slackbuilds.org for Slackware 13.37 (general information, a howto on slackbuilds.org). I suppose that's the Slackware way (comparable to Arch's PKGBUILD, someone correct me if I'm wrong, please).
2
Slackware doesn't make a lot of changes to any given software. Apache httpd is installed right-out-of-the-box, so all you'd really have to do is:
chmod +x /etc/rc.d/rc.httpd # Apache starts at boot
apachectl start
And then start filling in /srv/httpd/htdocs/
I should add that the Apache configuration file(s) appear in /etc/httpd/
2
Updating Slackware on a personal desktop machine is pretty harmless in my experience and there's always a step-by-step guide in UPGRADE.txt. Even if you temporarily break something, you'll learn the Slackware way by fixing it.
(Sidenote: since Slackware-current is not in the "let's call this a tentative beta" stage yet by the latest -current changelog ...
2
This is probably an issue with your ALSA sound level settings. There are two main volume settings: PCM and Master. Usually only one of them is controlled via desktop GUI settings (you can select which one that is in your audio settings).
If you run alsamixer in your terminal, check the volume levels for both of them. If you can't find the system setting to ...
2
This heavily depends on whether or not your router supports it.
You do not need to disable DHCP, the DHCP reservations will need to be provided by your router and the router should have to set up a static standing reservation of the MAC address of the network interface to an IP address.
Of course you don't have to and you can disable DHCP and set up a ...
2
I am not sure why the filesystem is being mounted read-only since you have specified rw. Perhaps the kernel is actually mounting the initrd image read-write instead, and then that initrd image mounts your root fs as read-only.
In any case, typically the kernel is expected to mount the root fs read-only, and then at some point, init will remount it ...
2
The closest equivalent would be to run the xmodmap program each time you log in.
Put the following snippet in a file called .Xmodmap in your home directory:
keycode 66 = Return
clear Lock
You can see the key codes and current associated key names by running xev from a terminal. Press Caps Lock while the xev window is focused, and you'll see a something ...
2
Debugging this type of issue can be tricky. I would first start with trying to manually force it into suspend mode with the following command:
PM_DEBUG=true pm-suspend
Then check /var/log/pm-suspend.log for hints on what might be going wrong. Perhaps something is going wrong during suspend mode.
Here's a good article on the Ubuntu wiki on how to debug ...
1
If you want to do this upgrade, I'd upgrade to Slackware-13.37 first, using the hints in UPGRADE.txt, and then upgrade 13.37 to -current once that is complete. During each release cycle, several packages are added and removed, so to move from 13.37 to current in the second step, you should read the Changelog closely to see what steps you might need to take ...
1
If you use the configure, make, make install routine to install software under any Linux distro, then the new version will usually overwrite the previous. The only caveat is that if the newer version happens to change the install location or names of certain files then you may end up with the old version or parts of the old-version remaining on your ...
1
If you download source code (i.e. not packages from your distribution) it will typically contain a configure script which allows you to specify where to install the compiled software. This normally defaults to /usr/local. You can change this by using the following option:
$ ./configure --prefix=/foo
Not all software is done this way, but it's unusual not ...
1
Note that Lilo is the default Slackware bootloader, although you can find a Grub package in the extra directory of your Slackware DVD.
The command that you want to use is mkinitrd (housed in /sbin). You can use the following command to make an initrd.gz for your bootloader:
mkinitrd -c -k 3.2.23 -m ext3 -f ext3 -r /dev/sdb3
The exact kernel version is ...
1
Yes there are other distros, mainly those which keep KISS principle. PAM is over-complicated, people use it even they do know how it works. Then little typo/error makes security issue.
Check http://crux.nu/Main/About which is nice KISS clean Linux distro.
1
I don't know Slackware, but some people consider PAM as over-engineered and a potential source of security related issues.
For example, when auditing the source code of a system that uses PAM-authentication you have to audit PAM as well. And depending on your knowledge of PAM and the used configuration it can be considered as problematic (i.e. opaque, too ...
1
I guess this could help you, some mirrors' /linux/slackware/slackware-12.0/source/k/ that contains linux-2.6.21.5.tar.bz2 and the SlackBuild files creating the different kernel variants Slackware uses. (I basically searched for "2.6.21.5".)
1
You're trying to use 32-bit python bindings (pygtkspell i486) with a 64-bit (x86_64) python. You can run ix86 and x86_64 binaries on the same system, but you can't load ix86 and x86_64 libraries in the same executable. Linking the wrong binaries in the right place won't help: they're still the wrong binaries. You need to obtain 64-bit bindings ...
1
Open the Slackware DVD. Open the "extra" folder. You'll find a few Slackbuild files there, including flash player and google chrome.
For chrome, read the Readme files in its folder.
For flash, execute the Slackbuild file on its folder. It'll automatically download and build the .txz files in /tmp.
Now, install the files using:
installpkg ...
1
If you're testing the X server by just running Xorg, then a blank screen is the expected result on current Xorg versions - it stays black until programs connect and tell it to draw something. For standalone testing, you probably want to specify the -retro flag to restore the old gray backdrop and default X cursor.
1
If Slackware is on sda8, then your /etc/grub.d/40_custom file should look like:
#!/bin/sh
exec tail -n +3 $0
menuentry "Slackware" {
set root=(hd0,8)
linux /boot/vmlinuz root=/dev/sda8 ro quiet
}
You can use UUIDs, which would then look something like:
#!/bin/sh
exec tail -n +3 $0
menuentry "Slackware"{
set root=(hd0,8)
search --no-floppy --fs-uuid ...
Only top voted, non community-wiki answers of a minimum length are eligible
