free cache memory and system cache

simply execute this command

free && sync && echo 3 > /proc/sys/vm/dump_caches && free

*more info on sync

info coreutils ‘sync invocation’


happy slacking…

tinkering with freeBSD and its cool…helps to learn with another GUI with it…freeBSD 9.1 ix86 in vmware in slackware….

slackware no file or directory while trying to run an application that is installed


i have installed a new application or package say skype and all the related dependencies for it..then i try to run skype and i get

/usr/bin/skype : no such file or directory

when you navigate to your /usr/bin directory you see a file there with name skype and so now you are confused….file is listed there in the directory but error says no such file or directory…


well to detail the issue out if the file exists then it is the issue where you run a slackware 64bit os and the file requested is trying to run some file compatible in the 32bit file systems….

alien BOB a trusted contributor to slackware and slackbuilds for years has the resolution in the link below….

i quote here again what he has quoted to make it clearer

the multilib-enabled Slackware64 can compile 32bit binaries,
if you add the right software to it

so what we do here is actually making our slackware64 which is mltilib ready to start interacting with multiple libraries…..

happy slacking!!!

no sound in firefox

well i had this weird issue where i get no sound in firefox but all cool with my chromium browser or my mplayer audio-video application….

posted it on and sure enough i got help soon…

thanks to gegechris99 on for the guidance to the right link….

well the particular solution involves editing your /etc/asound.conf file…

if you still dont have it no worries just make a new one with your fav editor and enter the correct card number and device number…

#my asound.conf file
defaults.pcm.card 0 
defaults.pcm.device 3 
defaults.ctl.card 0
#check the device number 3 here refers to HDMI output in my case...the numbers were taken from aplay -l output

you can check your card and device number running aplay -l output….

happy slacking!!!

how to check if a package is intalled in my slackware?

*** remember: a new entry is created in /var/log/packages each time a new package is installed.

so you just have to check the packages directory to see it exists or not!


# ls /var/log/packages/flash*
ls to check if flash is installed..

# denotes root user

then our ls command begins

returns an output as no file or directory found if it doesnt exist

or the details of combinaton of each flash + any matching keys(since there is a * a wildcard match to zero or more characters after flash ) we have….so it could give output as :

flash me

flash support

flashplugin etc…

hope you got the idea of the files generated…to learn more you could google regex pattern matching which deals with *,? and a lot of wildcard matching….will give an article on it one day soon….


happy slacking!!!

slackware packages installation

steps to install packages or additional softwares on slackware from slackbuilds

installing packages/softwares on slackware is slightly different from the package installers found in ubuntu or debian…

so follow the steps closely:

1. download the package from repository or any repository to your liking.

2. download the slackbuild first and then the source tar balls.

3. uncompress the slackbuilds package to a folder of your choice

slackbuild directory when tar’red (or eXtracted) after step 3, using the famous tar command one can see a “.info” file…it usually gives a working link to download the respective source files.

4. now move the source file to the new extracted folder where you had extracted the original slackbuilds tar file.

5. now run the slackbuild file….

if you are in the current directory use the short form ./ dot notation refers to current working directory or pwd in short

6. when you runs successfully you get a message saying the slackware package is created….its stored in the /tmp directory

7.  now use the “installpkg” command to install the package…..slackware does the rest for you…just sit back and relax while slackware installs your package for you….


slackbuiulds how to

the answer marked as correct with the green tick mark in the below stackexchange URL shows how you can download and install the flashplugin package for slackware…neatly done…all credits to the author….

so thats installation of package on slackware….cheers!!!

now for all the libraries or packages you ever wanted, hold on for a sec and check if you have a slackbuild alternative then you are good to go….

happy slacking!!!

set homepage mozilla firefox command line slackware

to do: set the homepage of our choice on mozilla firefox from command line

1. find the file prefs.js using locate command

locate prefs.js

stored in your ~/.mozilla/firefox folder

2. open it with your favourite text editor

nano ~/.mozilla/firefox/920exzw0.default/prefs.js

well mine as you can see was not in profiles folder but rather in 920exzw0.default folder…

3. add the below line to it

user_pref(“browser.startup.homepage”, ““);

restart firefox and voila!

audio working in laptop speakers but not on my HDMI

this post is for people who got their audio working right on your laptop speakers and trying to fix their HDMI output…

well in my thoughts if it works for the HDMI it should work the other way round too so it should work for no sounds too…so follow these steps closely…

1.  lsmod | grep snd

check if you have a line that says snd_intel which means the below steps would probably work for intel users

2. if you want to check the name of your audio card a few details of it

 lsmod | grep snd

3. note the below step…it will tell you where your hardware outputs are stored

 aplay -l

if you see the word HDMI in it you have reached safe quarters

now note down the numbers next to card and device usually 0 and 3 not guaranteed always….

4. now check if you have an asound.conf file in /etc/asound.conf using ur favourite editor….

if not dont worry just create one with your fav editor…under /etc/

nano /etc/asound.conf

paste the below lines in it

pcm.!default {
type hw
card 0
device 3
ctl.!default {
type hw
card 0
device 3

then check the device and card number mentioned….

you can reboot the device or run mplayer directly…..again the choice of player is completely yours too….

*for users who looking for laptop working check for the card and device number and change it….

*and will work on slack builds now to install softwares on our slackware…you can find the post coming soon….actually a reminder to myself too