Archive for the install-on-linux Category

[tekwalk] xopen : shell function to have verbose xdg-open : Mac’s “open” alternative for Linux

Posted in AbhishekKr, Blogroll, install-on-linux with tags , , , , , , , on March 4, 2014 by abhishekkr

tekwalk.blogspot.in [13/Feb/2014]

http://tekwalk.blogspot.in/2014/02/xopen-shell-function-to-have-verbose.html

I have been using xdg-open for sometime now, it’s a utility similar to “open” utility popular among MacOSx users.

It enables you to open any file in the default “open with” program assigned to it’s type. So, just passing any type of file to this utility would let you open it in the program it’s supposed to open.

What is xdg-open?
source[1]: https://wiki.archlinux.org/index.php/xdg-open
source[2]: http://linux.die.net/man/1/xdg-open

There is just this little shell function, that makes your xdg-open usage a bit more verbose in case of errors (bad-syntax/ghost-file/ghost-program/open-failure) faced about the reason for it. And also shortens the access util name obviously.

xopen ()
{
xdg-open “$@”;
_TMP_EXITCODE=$?;
if [ “${_TMP_EXITCODE}” == “1” ]; then
echo “[ERROR:] Error in command line syntax”;
else
if [ “${_TMP_EXITCODE}” == “2” ]; then
echo “[ERROR:] One of the files passed on the command line did not exist”;
else
if [ “${_TMP_EXITCODE}” == “3” ]; then
echo “[ERROR:] A required tool could not be found”;
else
if [ “${_TMP_EXITCODE}” == “4” ]; then
echo “[ERROR:] The action failed”;
fi;
fi;
fi;
fi;
return $_TMP_EXITCODE
}

…read full blogpost here

Advertisements

[tux-install] Counter-Strike (Steam) on ArchLinux via Wine

Posted in AbhishekKr, install-on-linux with tags , , , , , , , , on November 19, 2013 by abhishekkr

tuxinstall.blogspot.in [30/Oct/2013]

http://tuxinstall.blogspot.in/2013/10/counter-strike-steam-on-archlinux-via.html

get the required base package available at archlinux

sudo pacman -S –noconfirm wine winetricks

sudo pacman -S –noconfirm wine_gecko wine-monoq4wine

try to get “steam” installed the proper way

winetricks steam

if the above command fails the next two commands shall do the job, although you’ll need to download aria2.exe (and unzip) and maybe SteamInstall.msi (if not found)

msiexec /i ~/.cache/winetricks/steam/SteamInstall.msi

wine arial32.exe /Q

now the system is ready to run Steam Client, try following script to run it (otherwise there might be some font not displaying or other issues)

#!/bin/bash

export WINEPREFIX=$HOME/.steam

export WINEDEBUG=-all

nice -n 19 wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite

#####end-of-script

using it you can start your Steam Client, then it’s common way as other platforms to log-in to your Steam Account and install Counter Strike or any other game you play

…source blog here

[tux-install] yum-my ~ get your public yum-repo rolling on Google AppEngine

Posted in AbhishekKr, install-on-linux with tags , , , , , , , , , , on November 19, 2013 by abhishekkr

tuxinstall.blogspot.in [25/Aug/2013]

http://tuxinstall.blogspot.in/2013/08/yum-my-get-your-public-yum-repo-rolling.html

Wanna get your public yum repository rolling,

Get started by cloning boilerplate code…

$ git clone https://github.com/abhishekkr/gae-flat-web.git

$ cd gae-flat-web
$ mkdir -p yummy/<distro><releasever>/<basearch>

$ cp <all_my_rpms_of__distro_releasever_basearch> yummy/<distro><releasever>/<basearch>

$ createrepo yummy/<distro><releasever>/<basearch>/

now, place a file ‘flat_web/yum-my-el6<or-whichever>.repo’ with content

[yum-my-<distro><releasever>-<basearch>]
name=Yum-My
baseurl=http://YOURYUMMY.appspot.com/yummy/<distro>$releasever/$basearch
enabled=1
gpgcheck=0

and can link this file on your ‘flat_web/index.htm’ homepage to host: $ google_appengine/appcfg.py update <yum-my_path>

have a look at my repo code @ https://github.com/abhishekkr/gae-yum-my.git

For demo, here is the one I’m hosting
http://yum-my.appspot.com/flat_web/index.htm

…source blogpost here

[tux.install] have a redirecting link to download ~ cURL it down

Posted in install-on-linux with tags , , , , , on May 31, 2011 by abhishekkr

@ tuxinstall.blogspot.com [04/April/2011]

http://tuxinstall.blogspot.com/2011/04/want-shell-command-to-download-package.html

want a shell command to Download a package, but it has a Redirecting Link…
CURL it down

…..website similar to SourceForge.net, where if you copy the final redirected link and paste it in your script that would’t work after some moments…..

…..which can be used very easily to download the resource after following the redirected link at the time of execution… and the savior is our same old CURL.

…click here to read in detail

[tuxinstall.blogspot.com] Installing FreeSWITCH on Linux

Posted in Blogroll, install-on-linux with tags , , , , , , , , , , , , , on September 2, 2010 by abhishekkr

@ tuxinstall.blogspot.com [2/Sep/2010]

http://tuxinstall.blogspot.com/2010/09/deploy-installing-freeswitch-voip-on.html

FreeSWITCH on RedHat, Fedora, CentOS
To Install ‘FreeSWITCH’ on CentOS/RedHat/Fedora
Installing Dependencies {Require Internet}
===========================================
yum -y install autoconf automake libtool …….
……. libvorbis-devel libtiff-dev …click here to read full BlogPost

[tuxinstall.blogspot.com] Perl Module by CPAN

Posted in Blogroll, install-on-linux with tags , , , , , , , , , , on August 10, 2010 by abhishekkr

@ tuxinstall.blogspot.com [10/August/2010]

http://tuxinstall.blogspot.com/2010/08/perl-cpan-missing-perl-module-install.html

[PERL CPAN] Missing Perl Module… install by CPAN

it’s an old thing still several users are unaware,
so a quickie howto for …click here to read full BlogPost

[PERL CPAN] Missing Perl Module… install by CPAN

it’s an old thing still several users are unaware, so a quickie howto for

[tuxinstall.blogspot.com] ‘RED5’ Flash Server on CentOS/ Fedora / RedHat

Posted in Blogroll, install-on-linux with tags , , , , , , , , , , , , on August 10, 2010 by abhishekkr

@ tuxinstall.blogspot.com [3/August/2010]

http://tuxinstall.blogspot.com/2010/08/deploy-installing-red5-server-on-centos.html

{Deploy} Installing RED5 Server on CentOS, Fedora, RedHat
Installing RED5 Server on CentOS, Fedora, RedHat

it’s an Open Source Flash Server written in Java for Multimedia Streaming Web/Network Application

[] it requires …click here to read full BlogPost

{Deploy} Installing RED5 Server on CentOS, Fedora, RedHat

Installing RED5 Server on CentOS, Fedora, RedHat

it’s an Open Source Flash Server written in Java for Multimedia Streaming Web/Network Application

[] it requires